]> git.sesse.net Git - bcachefs-tools-debian/commit
kmalloc: use posix_memalign
authorYuxuan Shui <yshuiv7@gmail.com>
Sat, 23 May 2020 16:28:52 +0000 (17:28 +0100)
committerYuxuan Shui <yshuiv7@gmail.com>
Sat, 23 May 2020 16:43:38 +0000 (17:43 +0100)
commit69413acbdc3d4cd699aa7e33af1b8cd13fd6a4d4
treec866501aa4a6e363f12f32492da0b2890ed04b30
parentf8d4cbe40b2cfd3d1ad66afb621c5291ad74eafd
kmalloc: use posix_memalign

posix_memalign doesn't have the restriction that size must be a multiply
of alignment.

This also reverts the fix in commit f3fdbbfa92defb1f1d12c0038513b69b52baf33e.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
include/linux/slab.h