SLQB: Fix locking in __slab_alloc_page()
As explained by Minchan Kim, we need to hold ->page_lock while updating l->nr_partial in slab_alloc_page() and __cache_list_get_page(). Reported-by:KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Tested-by:
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Analyzed-by:
Minchan Kim <minchan.kim@gmail.com> Signed-off-by:
Pekka Enberg <penberg@cs.helsinki.fi>
Showing
Please register or sign in to comment