Messages in this thread | | | Date | Mon, 22 Sep 2003 22:53:36 +0200 | From | Manfred Spraul <> | Subject | Re: [PATCH] Move slab objects to the end of the real allocation |
| |
Arnd Bergmann wrote:
>On Monday 22 September 2003 18:31, Manfred Spraul wrote: > > >>Right now there are too many patches in Andrew's tree, I'll wait until >>everything settled down a bit, then I'll resent the cache line size as a >>one-line patch. Do you want to implement CONFIG_DEBUG_PAGEALLOC >>immediately? If yes, then I can send you the oneliner immediately. >>Nothing except CONFIG_DEBUG_PAGEALLOC is affected by the bug. >> >> > >Thanks for the explanation. I didn't realize that the code only applies >to i386. I'm not trying to implement CONFIG_DEBUG_PAGEALLOC currently, >but I'll put it on my list of things to do. Do I need to do anything >beyond adding a working kernel_map_pages() and raising the 128 byte limit >in kmem_cache_create to max(128,L1_CACHE_BYTES)? > > I'm not aware of any other restrictions, but I think s390 would be the first arch beyond i386 that supports DEBUG_PAGEALLOC, so beware. One important point is that kernel_map_pages() can be called from irq context - I'm not sure if all archs can support that.
-- Manfred
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |