diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2016-03-15 22:53:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-16 00:55:16 +0100 |
commit | 011eceaf0ad54e0916df8593ffc27b9f73d89fcf (patch) | |
tree | 7c396213479f6a982309caaee5945055972f4faf /mm/kmemcheck.c | |
parent | mm: fault-inject take over bootstrap kmem_cache check (diff) | |
download | linux-011eceaf0ad54e0916df8593ffc27b9f73d89fcf.tar.xz linux-011eceaf0ad54e0916df8593ffc27b9f73d89fcf.zip |
slab: use slab_pre_alloc_hook in SLAB allocator shared with SLUB
Deduplicate code in SLAB allocator functions slab_alloc() and
slab_alloc_node() by using the slab_pre_alloc_hook() call, which is now
shared between SLUB and SLAB.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Vladimir Davydov <vdavydov@virtuozzo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/kmemcheck.c')
0 files changed, 0 insertions, 0 deletions