From: Paul Mackerras <paulus@samba.org>
To: "Pekka Enberg" <penberg@cs.helsinki.fi>
Cc: "FUJITA Tomonori" <fujita.tomonori@lab.ntt.co.jp>,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
akpm@linux-foundation.org
Subject: Re: [PATCH -mm] clean up duplicated alloc/free_thread_info
Date: Tue, 3 Jun 2008 16:42:25 +1000 [thread overview]
Message-ID: <18500.59345.230174.727316@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <84144f020806022306h236a48cbv32b82cfa83fe4ee6@mail.gmail.com>
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.
Paul.
next prev parent reply other threads:[~2008-06-03 6:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 5:02 FUJITA Tomonori
2008-06-03 6:06 ` Pekka Enberg
2008-06-03 6:42 ` Paul Mackerras [this message]
2008-06-03 22:58 ` FUJITA Tomonori
2008-06-03 8:22 ` Russell King
2008-06-03 9:14 ` David Howells
2008-06-03 22:58 ` FUJITA Tomonori
2008-06-03 10:31 ` Haavard Skinnemoen
2008-06-03 22:58 ` FUJITA Tomonori
2008-06-04 8:46 ` Haavard Skinnemoen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18500.59345.230174.727316@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=akpm@linux-foundation.org \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=penberg@cs.helsinki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®