]> git.baikalelectronics.ru Git - kernel.git/commit
slob: fix bug - when slob allocates "struct kmem_cache", it does not force alignment.
authorYi Li <yi.li@analog.com>
Fri, 25 Apr 2008 16:49:21 +0000 (19:49 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 27 Apr 2008 15:25:51 +0000 (18:25 +0300)
commit39a4f4bd15a4f1675c254a27b14f172197742f13
tree1af2937107ca0ee1552523accac89c696125ba69
parent1eaee6824c439fd369a08ee4553f68bbf715de44
slob: fix bug - when slob allocates "struct kmem_cache", it does not force alignment.

This may trigger misaligned memory access exception.

Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slob.c