lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060823153952.066e9a58.pj@sgi.com>
Date:	Wed, 23 Aug 2006 15:39:52 -0700
From:	Paul Jackson <pj@....com>
To:	Nathan Lynch <ntl@...ox.com>
Cc:	akpm@...l.org, anton@...ba.org, simon.derr@...l.net,
	nathanl@...tin.ibm.com, linux-kernel@...r.kernel.org
Subject: Re: cpusets not cpu hotplug aware

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 <pj@....com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ