Files
ubports_kernel_google_msm/lib
David Rientjes 4af5a2f770 flex_array: add flex_array_shrink function
Add a new function to the flex_array API:

	int flex_array_shrink(struct flex_array *fa)

This function will free all unused second-level pages.  Since elements are
now poisoned if they are not allocated with __GFP_ZERO, it's possible to
identify parts that consist solely of unused elements.

flex_array_shrink() returns the number of pages freed.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-22 07:17:47 -07:00
..
2009-06-19 14:58:13 +02:00
2009-07-28 13:45:22 -07:00
2009-06-18 13:04:05 -07:00
2009-06-16 19:47:51 -07:00
2009-04-02 19:04:53 -07:00
2009-07-29 19:10:36 -07:00
2009-09-22 07:17:47 -07:00