aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/slub.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/mm/slub.c b/mm/slub.c
index 78f1a202ca33..52ae5a538180 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -3341,8 +3341,15 @@ void *__kmalloc_node_track_caller(size_t size, gfp_t gfpflags,
3341 struct kmem_cache *s; 3341 struct kmem_cache *s;
3342 void *ret; 3342 void *ret;
3343 3343
3344 if (unlikely(size > SLUB_MAX_SIZE)) 3344 if (unlikely(size > SLUB_MAX_SIZE)) {
3345 return kmalloc_large_node(size, gfpflags, node); 3345 ret = kmalloc_large_node(size, gfpflags, node);
3346
3347 trace_kmalloc_node(caller, ret,
3348 size, PAGE_SIZE << get_order(size),
3349 gfpflags, node);
3350
3351 return ret;
3352 }
3346 3353
3347 s = get_slab(size, gfpflags); 3354 s = get_slab(size, gfpflags);
3348 3355