Messages in this thread | | | Date | Sat, 18 Mar 2006 17:10:46 +1100 | From | Nick Piggin <> | Subject | Re: [PATCH] - Reduce overhead of calc_load |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |