]> git.baikalelectronics.ru Git - kernel.git/commit
dm bufio: use slab cache for dm_buffer structure allocations
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 26 Mar 2018 18:29:45 +0000 (20:29 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:27 +0000 (15:04 -0400)
commitebef046e83cd51914bd110e6f0a8648287b3ad46
treeb4e9121cc64e527acb8a59bf0b2ab51029cbc434
parentdf3b22eb02347981e1edde68254bcbd8c5a571b0
dm bufio: use slab cache for dm_buffer structure allocations

kmalloc padded to the next power of two, using a slab cache avoids this.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c