On Mon, Jan 12, 2015 at 12:30:38PM +0300, Vladimir Davydov wrote: > All users of do_try_to_free_pages() want to have current->reclaim_state > set in order to account reclaimed slab pages. So instead of duplicating > the reclaim_state initialization code in each call site, let's do it > directly in do_try_to_free_pages(). Couldn't this be contained in shrink_slab() directly? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>