diff --git a/mm/slub.c b/mm/slub.c
index c9ab68881b43ebe8525fb2fa1e943f9810229c21..2a1338c516fc331cb9ed22f0e09d697a5917f573 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2867,7 +2867,7 @@ static int alloc_loc_track(struct loc_track *t, unsigned long max)
 
 	order = get_order(sizeof(struct location) * max);
 
-	l = (void *)__get_free_pages(GFP_KERNEL, order);
+	l = (void *)__get_free_pages(GFP_ATOMIC, order);
 
 	if (!l)
 		return 0;