]> git.hungrycats.org Git - linux/commit
[PATCH] fix kmem_cache_size() for new slab poisoning
authorChristoph Hellwig <hch@sgi.com>
Tue, 11 Mar 2003 03:54:41 +0000 (19:54 -0800)
committerChristoph Hellwig <hch@sgi.com>
Tue, 11 Mar 2003 03:54:41 +0000 (19:54 -0800)
commit39b92caa8ad07e218b29427363b584f1dd59e9bc
tree2509f7302ce57b2cb60b2af5176aa3a0b6b6c5a7
parent9a72f9d6110a891d4e797a63119edf6210b21bda
[PATCH] fix kmem_cache_size() for new slab poisoning

The new slab poisoning code broke kmem_cache_size(), it now returns
a too large size as the poisoning area after the object is includes.
XFS's kmem_zone_zalloc thus overwrites exactly that area and triggers
the new checks everytime such an object is freed again.

I don't recommend using XFS on BK-current without this patch applied :)
mm/slab.c