diff options
author | Viro <viro@ZenIV.linux.org.uk> | 2014-03-17 21:01:27 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-03-17 21:10:29 +0100 |
commit | 2f69fa829cb4ca062aaffee9ab9eb44484db75b1 (patch) | |
tree | a2bc2cf26e8e7907a3270aed8820c8f7c3085d74 /usr | |
parent | percpu: speed alloc_pcpu_area() up (diff) | |
download | linux-2f69fa829cb4ca062aaffee9ab9eb44484db75b1.tar.xz linux-2f69fa829cb4ca062aaffee9ab9eb44484db75b1.zip |
percpu: allocation size should be even
723ad1d90b56 ("percpu: store offsets instead of lengths in ->map[]")
updated percpu area allocator to use the lowest bit, instead of sign,
to signify whether the area is occupied and forced min align to 2;
unfortunately, it forgot to force the allocation size to be even
causing malfunctions for the very rare odd-sized allocations.
Always force the allocations to be even sized.
tj: Wrote patch description.
Original-patch-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions