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: <20130110200223.GH30577@one.firstfloor.org>
Date:	Thu, 10 Jan 2013 21:02:23 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	Davidlohr Bueso <davidlohr.bueso@...com>
Cc:	linux-acpi@...r.kernel.org, Andi Kleen <andi@...stfloor.org>,
	zeus@....org, linux-kernel@...r.kernel.org
Subject: Re: srat: harsh hot-pluggable memory check?

> This only mentions that the system supports hot-plugging, and IMHO if the
> user decides not to use CONFIG_MEMORY_HOTPLUG, it shouldn't be considered an error.
> Therefore would it be ok to drop the check? Or am I missing something?

The very strict checks were originally implemented because various early
BIOS had largely fictional SRATs, and trusting them blindly caused
boot failures or a lot of wasted memory for unnecessary hotplug zones. 
The wasted memory was mainly a problem with the old memory hotplug
implementation that pre-allocated memmaps, that's not a problem anymore.
However there may be still some other failure cases.

-Andi

-- 
ak@...ux.intel.com -- Speaking for myself only.
--
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