| 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
| ||
|
Message-ID: <4D56CB9F.8030909@kernel.org> Date: Sat, 12 Feb 2011 10:04:15 -0800 From: Yinghai Lu <yinghai@...nel.org> To: Tejun Heo <tj@...nel.org> CC: linux-kernel@...r.kernel.org, x86@...nel.org, brgerst@...il.com, gorcunov@...il.com, shaohui.zheng@...el.com, rientjes@...gle.com, mingo@...e.hu, hpa@...ux.intel.com Subject: Re: [PATCH 02/26] x86-64, NUMA: Simplify hotplug node handling in acpi_numa_memory_affinity_init() On 02/12/2011 09:56 AM, Tejun Heo wrote: > On Sat, Feb 12, 2011 at 6:47 PM, Yinghai Lu <yinghai@...nel.org> wrote: >>> - if ((nd->start | nd->end) == 0) >>> - node_clear(node, nodes_parsed); >> >> after change >> looks like nodes_parsed is not set anymore for node that only have hotplug memory. > > Yeap, which matches the above node_clear(). If the node was already > occupied, the bit would already be set. If not, the above > node_clear() would clear it, so the same result. The code was quite > convoluted. no. if the node only have hotplug mem. then nd->start and nd->end will be set to that hot plug range. and old code does not clear nodes_parsed... Yinghai -- 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