mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dimitri Sivanich <sivanich@sgi.com>
To: Jack Steiner <steiner@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>,
	linux-kernel@vger.kernel.org, akpm@osdl.org,
	Ingo Molnar <mingo@elte.hu>
Subject: Re: [RFC] - Move call to calc_load()
Date: Tue, 21 Mar 2006 14:48:45 -0600	[thread overview]
Message-ID: <20060321204845.GB26124@sgi.com> (raw)
In-Reply-To: <20060321203647.GA26135@elte.hu>


On Tue, Mar 21, 2006 at 09:36:47PM +0100, Ingo Molnar wrote:
> * Jack Steiner <steiner@sgi.com> wrote:
> 
> > Here is the patch that I am proposing. This patch is incomplete 
> > because it addresses only the IA64 architecture. If this approach is 
> > acceptible, I'll update the patch to cover all architectures.
> > 
> > 	Signed-off-by: Jack Steiner <steiner@sgi.com>
> 
> i agree with your analysis - there is no reason calc_load() should be 
> under xtime_lock. I guess no-one noticed this so far because calc_load() 
> iterating over hundreds of CPUs isnt too common.

I tested this patch and it works well for eliminating latencies due to
contention for the xtime_lock.  Without the patch the latencies are
quite substantial at higher cpu counts.

      reply	other threads:[~2006-03-21 20:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21 20:32 Jack Steiner
2006-03-21 20:36 ` Ingo Molnar
2006-03-21 20:48   ` Dimitri Sivanich [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=20060321204845.GB26124@sgi.com \
    --to=sivanich@sgi.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=steiner@sgi.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

Powered by JetHome