HWPOISON/SLAB: Allow shrinking of specific slab cache.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For hwpoison it is useful to shrink a specific slab cache: hwpoison
knows the page to shrink and attempts to free it.  Currently
it shrinks all slabs, which is a bit inefficient.

The slab caches internally all know this information, but do not
export it currently.

This patch kit adds a new function to export it and lets hwpoison
use it to shrink the correct page. I added the necessary functions
to slab, slub and slob.

Pekka, others, is this patch ok for you? I would prefer to carry in my
tree to avoid dependency issues.

Any reviews and Acks appreciated.

Thanks,
-Andi

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]