On Tue, 6 Nov 2012, Aaditya Kumar wrote: > From: Takamori Yamaguchi <[email protected]> > > In kswapd(), set current->reclaim_state to NULL before returning, as > current->reclaim_state holds reference to variable on kswapd()'s stack. > > In rare cases, while returning from kswapd() during memory off lining, > __free_slab() can access dangling pointer of current->reclaim_state. >
It's __free_slab() for slub and kmem_freepages() for slab. > Signed-off-by: Takamori Yamaguchi <[email protected]> > Signed-off-by: Aaditya Kumar <[email protected]> Acked-by: David Rientjes <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

