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] [day] [month] [year] [list]
Message-ID: <500CD9E9.80602@linux.vnet.ibm.com>
Date:	Mon, 23 Jul 2012 12:58:17 +0800
From:	Michael Wang <wangyun@...ux.vnet.ibm.com>
To:	Mike Galbraith <efault@....de>
CC:	Peter Zijlstra <peterz@...radead.org>,
	LKML <linux-kernel@...r.kernel.org>, mingo@...hat.com,
	paul@...lmenage.org
Subject: Re: [PATCH 0/5] cpusets: dynamical scheduler domain flags

On 07/23/2012 12:28 PM, Mike Galbraith wrote:
> On Mon, 2012-07-23 at 10:30 +0800, Michael Wang wrote: 
>> On 07/21/2012 12:42 AM, Peter Zijlstra wrote:
>>> On Tue, 2012-07-17 at 17:03 +0800, Michael Wang wrote:
>>>> This patch set provide a way for user to dynamically configure the scheduler
>>>> domain flags, which usually to be static. 
>>>
>>> NAK.. you don't get to expose all this nonsense in a 'stable' ABI.
>>>
>>> You shouldn't need to prod at them to begin with.
>>
>> So is that means expose those domain flags to user is a bad idea at all?
> 
> You can set/clear flags with scripts now, ie domain flags are already
> exposed.. as defined by the running kernel.
> 
> SD_SHARE_PKG_RESOURCES is a good flag look at.  What does flipping that
> switch do, and what did it stop doing recently?  So yeah, methinks
> exporting flags via cpusets is a bad idea.  Not only is existence of any
> particular flag volatile, functionality behind it is volatile as well,
> so having a button to poke does undefined things.  (not to mention
> non-exclusive sets)
> 

I think I got your and peter's opinion, so we could not make sure the
kernel could still work well if some flags was enabled because their
behave are always changing, and it's impossible to maintain such
volatile feature.

Actually I got this idea after reading:

http://marc.info/?l=linux-kernel&m=130822782111533

But looks like I don't get the point, so what we want is building the
domain according to some system topology designed by producer?

Regards,
Michael Wang

> -Mike
> 
> 


--
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