diff options
Diffstat (limited to 'mm/slub.c')
-rw-r--r-- | mm/slub.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1590,6 +1590,7 @@ static __always_inline void *slab_alloc(struct kmem_cache *s, | |||
1590 | unsigned long flags; | 1590 | unsigned long flags; |
1591 | unsigned int objsize; | 1591 | unsigned int objsize; |
1592 | 1592 | ||
1593 | lockdep_trace_alloc(gfpflags); | ||
1593 | might_sleep_if(gfpflags & __GFP_WAIT); | 1594 | might_sleep_if(gfpflags & __GFP_WAIT); |
1594 | 1595 | ||
1595 | if (should_failslab(s->objsize, gfpflags)) | 1596 | if (should_failslab(s->objsize, gfpflags)) |