]> git.karo-electronics.de Git - linux-beck.git/commit
sbitmap: allocate wait queues on a specific node
authorOmar Sandoval <osandov@fb.com>
Sat, 17 Sep 2016 08:28:22 +0000 (01:28 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 17 Sep 2016 14:39:08 +0000 (08:39 -0600)
commit48e28166a7b608e19a6aea3acadd81cdfe660f6b
treeece76660b963252e9371c8aea0a4d04f8b69c42f
parent88459642cba452630326b9cab1c651e09577d4e4
sbitmap: allocate wait queues on a specific node

The original bt_alloc() we converted from was using kzalloc(), not
kzalloc_node(), to allocate the wait queues. This was probably an
oversight, so fix it for sbitmap_queue_init_node().

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
lib/sbitmap.c