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:	Mon, 9 Mar 2009 13:13:06 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Christoph Lameter <cl@...ux-foundation.org>
cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Pekka Enberg <penberg@...helsinki.fi>,
	Matt Mackall <mpm@...enic.com>,
	Paul Menage <menage@...gle.com>,
	Randy Dunlap <randy.dunlap@...cle.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [patch -mm] cpusets: add memory_slab_hardwall flag

On Mon, 9 Mar 2009, Christoph Lameter wrote:

> Again these are fastpath modifications.
> 

The nature of the change requires the logic to be placed in the fastpath 
to determine whether a cpu slab's node is allowed by the allocating task's 
cpuset.

You have previously stated that you would prefer that this feature be 
tunable from userspace.  This patch adds the `memory_slab_hardwall' cpuset 
flag which defaults to off.

> Scanning the partial list for matching nodes is an expensive operation.
> 

It depends on how long you scan for a matching node, but again: this 
should be assumed by the user if the option has been enabled.

> Adding RCU into the fast paths is also another big worry.
> 

This could be mitigated by adding a PF_SLAB_HARDWALL flag similiar to 
PF_SPREAD_PAGE and PF_SPREAD_SLAB.  I'd prefer not to add additional 
cpuset-specific task flags, but this would address your concern.
--
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