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: <1277769867.8354.531.camel@nimitz>
Date:	Mon, 28 Jun 2010 17:04:27 -0700
From:	Dave Hansen <dave@...ux.vnet.ibm.com>
To:	Greg KH <gregkh@...e.de>
Cc:	Nathan Fontenot <nfont@...tin.ibm.com>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org,
	"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: Re: [PATCH] memory hotplug disable boot option

On Mon, 2010-06-28 at 08:44 -0700, Greg KH wrote:
> > The directories being created are the standard directories, one for each of the memory
> > sections present at boot.  I think the most used files in each of these directories
> > is the state and removable file used to do memory hotplug.
> 
> And perhaps we shouldn't really be creating so many directories?  Why
> not work with the memory hotplug developers to change their interface to
> not abuse sysfs in such a manner? 

Heh, it wasn't abuse until we got this much memory.  But, I think this
one is pretty much 100% my fault.

Nathan, I think the right fix here is probably to untie sysfs from the
sections a bit.  We should be able to have sysfs dirs that represent
more than one contiguous SECTION_SIZE area of memory.

It will mean re-teaching some of the tools how things work.  They'll
have to know that you can split mem sections, and we'll have to come up
with a way to do the splitting.  

Does ppc *really* remove 16MB sections of RAM these days?  It's probably
worth checking with the firmware folks to see what the limits are in
practice.

-- Dave

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