Re: [PATCH] slab: remove colouroff from struct slab

2007-03-01 Thread Andrew Morton
On Thu, 22 Feb 2007 14:37:38 +0200 (EET) Pekka J Enberg <[EMAIL PROTECTED]> wrote: > As the color offset is always within the first page of the slab, > virt_to_page() works just fine without slabp->colouroff. kernel BUG at mm/slab.c:1658! invalid opcode: [#1] SMP last sysfs file: /block/hd

Re: [PATCH] slab: remove colouroff from struct slab

2007-02-23 Thread Christoph Lameter
On Thu, 22 Feb 2007, Pekka J Enberg wrote: > As the color offset is always within the first page of the slab, > virt_to_page() works just fine without slabp->colouroff. True but then we pass an address to kmem_freepages that is not the start of the page. kmem_freepages will then in turn call fre