lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cpuset: Rework sched domains and CPU hotplug handling (2.6.27-rc1)
Paul Jackson wrote:
> Max wrote:
>> But it does seem like an overkill to schedule a workqueue ...
>
> "overkill" -- by what metric?
>
> If something is overkill, it means something is excessive.
> Excess (and deficiency) occur along some scale, some metric.
>
> If not by CPU cycles, then by what metric is it overkill?
>

Paul, I think you're focusing on the wrong part of my reply ;-).
You are, of course, correct about the overkill metric. I was saying
that saving cycles in that path was not my goal when I wrote
the patch. I just added necessary functions to make existing paths
work they way they currently do and only changed one path because
it had to change due to lock nesting issues.
Along the way simply pointed it out that scheduling work unnecessarily
does seem less efficient. That was not the important part though :)

Max



\
 
 \ /
  Last update: 2008-08-06 05:55    [W:0.052 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site