Re: vm changes from linux-2.6.14 to linux-2.6.15

2007-05-15 Thread Benjamin Herrenschmidt
Ok, I'll cook a patch today. Let's make it tomorrow :-( Got delayed by other urgent things Cheers, Ben. - To unsubscribe from this list: send the line unsubscribe sparclinux in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] sparc64: kill unused DIE_PAGE_FAULT enum value

2007-05-15 Thread Christoph Hellwig
sparc64 got rid of the pagefault notifiers, so the enum value for them can go away aswell. Signed-off-by: Christoph Hellwig [EMAIL PROTECTED] Index: linux-2.6/include/asm-sparc64/kdebug.h === ---

Re: slab hang on boot

2007-05-15 Thread Andrew Morton
On Mon, 14 May 2007 16:46:17 -0700 (PDT) Christoph Lameter [EMAIL PROTECTED] wrote: @@ -86,6 +87,9 @@ static inline int kmalloc_index(int size */ WARN_ON_ONCE(size == 0); + if (size = (1UL KMALLOC_SHIFT_HIGH)) + return -1; + I don't quite understand why we

Re: slab hang on boot

2007-05-15 Thread Christoph Lameter
On Tue, 15 May 2007, Andrew Morton wrote: On Mon, 14 May 2007 16:46:17 -0700 (PDT) Christoph Lameter [EMAIL PROTECTED] wrote: @@ -86,6 +87,9 @@ static inline int kmalloc_index(int size */ WARN_ON_ONCE(size == 0); + if (size = (1UL KMALLOC_SHIFT_HIGH)) +

Re: slab hang on boot

2007-05-15 Thread Andrew Morton
On Tue, 15 May 2007 16:45:22 -0700 (PDT) Christoph Lameter [EMAIL PROTECTED] wrote: On Tue, 15 May 2007, Andrew Morton wrote: On Mon, 14 May 2007 16:46:17 -0700 (PDT) Christoph Lameter [EMAIL PROTECTED] wrote: @@ -86,6 +87,9 @@ static inline int kmalloc_index(int size */

Re: slab hang on boot

2007-05-15 Thread Christoph Lameter
On Tue, 15 May 2007, Andrew Morton wrote: Either that newly-added test isn't needed, or those ifdefs aren't needed? The #ifdefs dont do the proper job thus the hack for Dave. The following RFC will clean things up. http://marc.info/?l=linux-kernelm=117919444827939w=2 - To unsubscribe from

Re: slab hang on boot

2007-05-15 Thread David Miller
From: Andrew Morton [EMAIL PROTECTED] Date: Tue, 15 May 2007 17:29:57 -0700 This: struct kmem_cache kmalloc_caches[KMALLOC_SHIFT_HIGH + 1] __cacheline_aligned; is still there. My bad, we tried using min_t() and that's what caused the problems, that's why we open-coded the macro like it is

Re: slab hang on boot

2007-05-15 Thread Christoph Lameter
Here is the patch. It probably does not apply cleanly against Andrew's tree. I am waiting for the new tree in order to submit it. Slab allocators: Define common size limitations Currently we have a maze of configuration variables that determine the maximum slab size. Worst of all it seems to

Re: slab hang on boot

2007-05-15 Thread David Miller
From: Christoph Lameter [EMAIL PROTECTED] Date: Tue, 15 May 2007 18:00:23 -0700 (PDT) Slab allocators: Define common size limitations Thanks for doing this work Christoph, I'll test this patch out on all my sparc64 boxes, with both SLAB and SLUB, later this evening. - To unsubscribe from this