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
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
===
---
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
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))
+
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
*/
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
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
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
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