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]
Date:	Tue, 29 May 2007 10:18:43 +1000
From:	Peter Williams <pwil3058@...pond.net.au>
To:	vatsa@...ibm.com
CC:	Kirill Korotaev <dev@...ru>, Nick Piggin <nickpiggin@...oo.com.au>,
	tingy@...umass.edu, ckrm-tech@...ts.sourceforge.net,
	Balbir Singh <balbir@...ibm.com>, efault@....de,
	kernel@...ivas.org, linux-kernel@...r.kernel.org,
	wli@...omorphy.com, tong.n.li@...el.com, containers@...ts.osdl.org,
	Ingo Molnar <mingo@...e.hu>, torvalds@...ux-foundation.org,
	akpm@...ux-foundation.org, Guillaume Chazarain <guichaz@...oo.fr>
Subject: Re: [ckrm-tech] [RFC] [PATCH 0/3] Add group fairness to CFS

Srivatsa Vaddagiri wrote:
> On Sat, May 26, 2007 at 10:17:42AM +1000, Peter Williams wrote:
>> I don't think that ignoring cpu affinity is an option.  Setting the cpu 
>> affinity of tasks is a deliberate policy action on the part of the 
>> system administrator and has to be honoured.  
> 
> mmm ..but users can set cpu affinity w/o administrator priveleges ..
> 

OK. So you have to assume the users know what they're doing. :-)

In reality though, the policy of allowing ordinary users to set affinity 
on their tasks should be rethought.

In any case, there's no point having cpu affinity if it's going to be 
ignored.  Maybe you could have two levels of affinity: 1. if set by a 
root it must be obeyed; and 2. if set by an ordinary user it can be 
overridden if the best interests of the system dictate.  BUT I think 
that would be a bad idea.

Peter
-- 
Peter Williams                                   pwil3058@...pond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
  -- Ambrose Bierce
-
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