All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: Andrew Morton <akpm@osdl.org>
Cc: rusty@rustcorp.com.au, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] use for_each_cpu
Date: Sun, 1 Aug 2004 17:27:11 +1000	[thread overview]
Message-ID: <20040801072711.GJ30253@krispykreme> (raw)
In-Reply-To: <20040731230859.138ba584.akpm@osdl.org>


> > The per cpu schedule counters need to be summed up over all possible cpus.
> >  When testing hotplug cpu remove I saw the sum of the online cpu count
> >  for nr_uninterruptible go negative which made the load average go nuts.
> 
> I think the preferred approach here is to transfer the count over to the
> current CPU in the CPU_DEAD handler.

They only look to be called out of proc, and once every 5 seconds for
loadaverage calculations. Is it worth adding complexity to the cpu
notifiers vs just using for_each_cpu?

Anton

  reply	other threads:[~2004-08-01  7:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-01  6:01 [PATCH] use for_each_cpu Anton Blanchard
2004-08-01  6:08 ` Andrew Morton
2004-08-01  7:27   ` Anton Blanchard [this message]
2004-08-01  7:47     ` Andrew Morton
2004-08-01 21:00       ` Anton Blanchard
2004-08-02  5:59       ` Rusty Russell

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=20040801072711.GJ30253@krispykreme \
    --to=anton@samba.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /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.