On Wed, Oct 06, 2010 at 04:44:51PM -0500, Christoph Lameter wrote: > On Wed, 6 Oct 2010, Andi Kleen wrote: > > > We currently call the shrinking in a loop, similar to other users. > > Obviously. There is already a function that does that called drop_slab() > which lives in fs/drop_caches.c Well it's three lines and hwpoison had an own copy for a long time. I don't see a big urge to share. -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>