lkml.org 
[lkml]   [2009]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] flexible array implementation v4
Dave Hansen wrote:
> Remaining issues:
> - How should we deal with out-of-range indexes, especially
> in flex_array_get() which returns void*? ERR_PTR()?
> BUG_ON()? return NULL (current behavior)?
> - Should care be taken not to allow a flex_array_get() to
> an index where no flex_array_put() was done?
> - Should we decay further than just packing things into the
> 'base' page? Should we actually kmalloc() less than a
> page at times when it will fit?
>

I sugguest find some candidate users and see how this flex_array
fits them.



\
 
 \ /
  Last update: 2009-07-24 05:07    [W:0.070 / U:3.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site