[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1157045910.31295.23.camel@localhost.localdomain>
Date: Thu, 31 Aug 2006 10:38:30 -0700
From: Dave Hansen <haveblue@...ibm.com>
To: Christoph Lameter <clameter@....com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
linux-ia64@...r.kernel.org
Subject: Re: [RFC][PATCH 4/9] ia64 generic PAGE_SIZE
On Wed, 2006-08-30 at 16:57 -0700, Christoph Lameter wrote:
> On Wed, 30 Aug 2006, Dave Hansen wrote:
>
> > @@ -64,11 +64,11 @@
> > * Base-2 logarithm of number of pages to allocate per task structure
> > * (including register backing store and memory stack):
> > */
> > -#if defined(CONFIG_IA64_PAGE_SIZE_4KB)
> > +#if defined(CONFIG_PAGE_SIZE_4KB)
> > # define KERNEL_STACK_SIZE_ORDER 3
> > -#elif defined(CONFIG_IA64_PAGE_SIZE_8KB)
> > +#elif defined(CONFIG_PAGE_SIZE_8KB)
> > # define KERNEL_STACK_SIZE_ORDER 2
> > -#elif defined(CONFIG_IA64_PAGE_SIZE_16KB)
> > +#elif defined(CONFIG_PAGE_SIZE_16KB)
> > # define KERNEL_STACK_SIZE_ORDER 1
> > #else
> > # define KERNEL_STACK_SIZE_ORDER 0
>
> Could we replace these lines with
>
> #define KERNEL_STACK_SIZE_ORDER (max(0, 15 - PAGE_SHIFT))
My next series will be to clean up stack size handling. Do you mind if
it waits until then?
-- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists