]> git.karo-electronics.de Git - karo-tx-linux.git/commit
slub: create new ___slab_alloc function that can be called with irqs disabled
authorChristoph Lameter <cl@linux.com>
Wed, 21 Oct 2015 22:02:49 +0000 (09:02 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:02:49 +0000 (09:02 +1100)
commit1d0db83f125d010b3075f951e647f08194c60973
tree14661ee8ed210ba55cbefe6a6dc2dde6a52add0a
parent96b2813fe0946ab4c95063dfd7204ad7ea299574
slub: create new ___slab_alloc function that can be called with irqs disabled

Bulk alloc needs a function like that because it enables interrupts before
calling __slab_alloc which promptly disables them again using the expensive
local_irq_save().

Signed-off-by: Christoph Lameter <cl@linux.com>
Cc: Jesper Dangaard Brouer <brouer@redhat.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/slub.c