public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Andrew Morton <akpm@osdl.org>
Cc: steiner@sgi.com, mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] - Reduce overhead of calc_load
Date: Sat, 18 Mar 2006 17:10:46 +1100	[thread overview]
Message-ID: <441BA466.6000903@yahoo.com.au> (raw)
In-Reply-To: <441B9CE2.2050204@yahoo.com.au>

Nick Piggin wrote:
> Andrew Morton wrote:

>> Take a look at (for example) nr_iowait.  We forget to spill the count out
>> of the departing CPU's runqueue and hence we have to sum it across all
> 
> 
> I don't think a departing runqueue should have any iowaiters on it, 
> should it?
> 

No I'm wrong there. Instead of doing all these migrations and having the
ugly nr_iowait and nr_uninterruptible things I would much prefer just to
migrate the stat when the actual task is migrated. This should take care
of cpu hotplug, and also can make everything consistent.

I'll try doing a patch for that sometime.

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

      reply	other threads:[~2006-03-18  6:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-17 14:57 [PATCH] - Reduce overhead of calc_load Jack Steiner
2006-03-17 14:59 ` Ingo Molnar
2006-03-17 15:26   ` Jack Steiner
2006-03-18  1:15     ` Andrew Morton
2006-03-18  2:09       ` Nick Piggin
2006-03-18  2:37         ` Andrew Morton
2006-03-18  2:46           ` Nick Piggin
2006-03-18  5:13             ` Andrew Morton
2006-03-18  5:38               ` Nick Piggin
2006-03-18  6:10                 ` Nick Piggin [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=441BA466.6000903@yahoo.com.au \
    --to=nickpiggin@yahoo.com.au \
    --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