[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080604080135N.fujita.tomonori@lab.ntt.co.jp>
Date: Wed, 4 Jun 2008 07:58:31 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: paulus@...ba.org
Cc: penberg@...helsinki.fi, fujita.tomonori@....ntt.co.jp,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
akpm@...ux-foundation.org
Subject: Re: [PATCH -mm] clean up duplicated alloc/free_thread_info
On Tue, 3 Jun 2008 16:42:25 +1000
Paul Mackerras <paulus@...ba.org> wrote:
> Pekka Enberg writes:
>
> > Yeah, I too have wondered why some architectures use kmalloc() whereas
> > others use the page allocator. Is THREAD_SIZE significantly smaller
> > than PAGE_SIZE for those?
>
> 64-bit powerpc uses 16k kernel stacks and either 4k or 64k page size.
> If the page size is 64k then we don't want to allocate a whole page
> for a kernel stack.
On powerpc, the patch defines __HAVE_ARCH_THREAD_INFO_ALLOCATOR on the
THREAD_SHIFT < PAGE_SHIFT case so it doesn't change anything.
--
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