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:	Fri, 12 Mar 2010 14:33:45 -0800
From:	Andi Kleen <ak@...ux.intel.com>
To:	Suresh Siddha <suresh.b.siddha@...el.com>
CC:	Jan Engelhardt <jengelh@...ozas.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	"hpa@...or.com" <hpa@...or.com>, Nick Piggin <npiggin@...e.de>
Subject: Re: page_to_nid not linked in on PAE


> Jan, Even with out using the PG_head, PG_tail, PG_uncached and
> PG_hwpoison, by allowing the NODES_SHIFT to have a maximum value of 9 on
> 32bit kernel, can still result in the page flags to runout and result in
> this problem. Best solution for now is to limit the NODES_SHIFT to 5. I
> don't know of any platforms that have>  32nodes and where we care about
> 32bit linux kernel. So it should be ok as a fix. If someone in future
> cares about>  32 nodes for 32bit kernel, then we can think of a better
> solution. Do you agree? I copied Andi/Nick for their eyes aswell on
> this.

Seems like the right approach to me. Although it might be better to
use 1 3 or 1..4 or so, just in case someone else adds more page bits
later (I'm sure it'll happen again). Even 8 nodes should be plenty for
32bit.

Acked-by: Andi Kleen <ak@...ux.intel.com>

-Andi

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