mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Lameter <clameter@sgi.com>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [i386] Use page allocator to allocate threadinfo structure
Date: Thu, 5 Apr 2007 11:15:22 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0704051114100.9800@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20070405083021.GR2986@holomorphy.com>

On Thu, 5 Apr 2007, William Lee Irwin III wrote:

> On Wed, Apr 04, 2007 at 05:40:31PM -0700, Christoph Lameter wrote:
> > Replace the calls to kmalloc with calls into the page allocator.
> > An alternate solution may be to create a custom slab cache where the 
> > alignment is set to PAGE_SIZE. That would allow slub debugging to be 
> > applied to the threadinfo structure.
> > Signed-off-by: Christoph Lameter <clameter@sgi.com>
> 
> This was originally made a slab allocation as a preparatory cleanup
> for things that were never merged, and are never likely to be. One
> might as well revert it, though it does make stack space usage
> slightly more difficult to account for.

No other platform does account for kernel stack space though. And you got 
two pages per process. Pretty straightforward.

      reply	other threads:[~2007-04-05 18:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-05  0:40 Christoph Lameter
2007-04-05  8:30 ` William Lee Irwin III
2007-04-05 18:15   ` Christoph Lameter [this message]

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=Pine.LNX.4.64.0704051114100.9800@schroedinger.engr.sgi.com \
    --to=clameter@sgi.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /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®