diff options
-rw-r--r-- | mm/slub.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 | ||