lkml.org 
[lkml]   [2009]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 4/4 -mm] flex_array: add flex_array_shrink function
On Fri, 21 Aug 2009 16:21:49 -0700 (PDT)
David Rientjes <rientjes@google.com> wrote:

> +/**
> + * flex_array_shrink - free unused second-level pages
> + *
> + * Frees all second-level pages that consist solely of unused
> + * elements. Returns the number of pages freed.
> + *
> + * Locking must be provided by the caller.
> + */
> +int flex_array_shrink(struct flex_array *fa)

It's logical but afaik unconventional that none of the flex_array
kerneldoc actually documents the `struct flex_array *fa' argument.


We're all waiting with bated breath to see who will be the first to use
flex_array in live code.

Sometime we'll need to move flex_array.o from lib-y to obj-y and fill
it up with EXPORT_SYMBOL()s. 2.6.32 I expect.



\
 
 \ /
  Last update: 2009-08-22 01:53    [W:0.125 / U:1.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site