All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: vatsa@in.ibm.com
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Subject: Re: Question on build_sched_domains
Date: Fri, 24 Mar 2006 18:45:21 +1100	[thread overview]
Message-ID: <4423A391.4000301@yahoo.com.au> (raw)
In-Reply-To: <20060324071255.GB22150@in.ibm.com>

Srivatsa Vaddagiri wrote:
> On Fri, Mar 24, 2006 at 08:28:34AM +0530, Srivatsa Vaddagiri wrote:
> 
>>Taking the example of 4 node system which are in the same
>>sched_domain_node_span(), I see that we end up allocating 16
>>times (when 4 would have sufficed?).
> 
> 
> Maybe this is it to avoid touching same memory from different nodes?
> 

Yeah I think what's happening is that the sched groups structures
are not shared between nodes. (It's been a while since I looked at
this code, and it is a bit tricky to follow).

Aside, it should be using kmalloc_node now...

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 

  reply	other threads:[~2006-03-24  7:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24  2:58 Question on build_sched_domains Srivatsa Vaddagiri
2006-03-24  7:12 ` Srivatsa Vaddagiri
2006-03-24  7:45   ` Nick Piggin [this message]
2006-03-25  8:36     ` Srivatsa Vaddagiri
2006-03-26  2:21       ` Nick Piggin
2006-03-26  2:41         ` Srivatsa Vaddagiri

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=4423A391.4000301@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=vatsa@in.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.