Nathan wrote:
> How about this?
The code likely works, and the locking seems ok at first blush.
And this patch seems to match just what I asked for ;).
But the more I think about this, the less I like this direction.
Your patch, and what I initially asked for, impose a policy and create
a side affect. When you bring a cpu online, the top cpuset changes as
a side affect, in order to impose a policy that the top cpuset tracks
what is online.
The kernel should avoid such side affects and avoid imposing policy.
It should be user code that imposes the policy that the top cpuset
tracks what is online.
The kernel gets things going with reasonable basic defaults at system
boot, then adapts to whatever user space mandates from then on.
Kernels should provide generic, orthogonal mechanisms.
Let user space figure out what it wants to do with them.
It is not a kernel bug that the top cpuset doesn't track what is
online. It would be a kernel bug if the top cpuset didn't allow just
exactly whatever cpus the user space code told it to allow.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]