Re: [patch 3/4 -mm] flex_array: poison free elements

From: David Rientjes
Date: Tue Sep 08 2009 - 23:41:31 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/