google / kernel-sanitizers

Linux Kernel Sanitizers, fast bug-detectors for the Linux kernel
https://google.github.io/kernel-sanitizers/
442 stars 87 forks source link

kfence: Fix slab.h's kmalloc() #90

Closed melver closed 4 years ago

melver commented 4 years ago

Since the introduction of the inline function kfence_sampled_alloc_with_size(), the call here is no longer necessary, as it is implicitly done via kmem_cache_alloc_trace -> slab_alloc -> slab_alloc_node.

Signed-off-by: Marco Elver elver@google.com