lkml.org 
[lkml]   [2009]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/4 -mm] flex_array: poison free elements
11:41, David Rientjes wrote:
> On Wed, 9 Sep 2009, Li Zefan wrote:
>
>> I was not talking about ftrace_ret_stack, I was talking about
>> struct ftrace_page and struct ftrace_profile_page. ;)
>>
>
> Gack, ftrace_page would probably be better off simply using the flex list
> implementation I suggested which constructs a list from page->lru since it
> doesn't appear to require indexing into the array, it simply requires an
> iteration in all cases (or am I wrong?). Flex lists could easily be made
> to support seqfiles.
>

Right, iteration is needed but indexing is not. I thought
about flex list too, flex array has some limitations which
make it hard to find a real user.



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