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
| ||
|
Date: Sun, 22 Jul 2007 01:17:06 -0700 From: "Yinghai Lu" <yhlu.kernel@...il.com> To: "David Rientjes" <rientjes@...gle.com> Cc: "Andi Kleen" <ak@...e.de>, "Andrew Morton" <akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org Subject: Re: [PATCH 3/3] x86_64: offset apicid_to_node before use it before init_cpu_to_node On 7/22/07, David Rientjes <rientjes@...gle.com> wrote: > On Sat, 21 Jul 2007, Yinghai Lu wrote: > > > [PATCH 3/3] x86_64: offset apicid_to_node before use it before > > init_cpu_to_node > > > > Does this preserve the correct fake apicid_to_node mapping for the > emulated case such as numa=fake=32? > +void __init update_apicid_to_node(void) +{ + /* + * let modify apicid_to_node array when boot_cpu_id !=0 + * apicid_to_node[0] != NUMA_NODE + */ + + int i; + + /* there is no apic id offset */ + if (!boot_cpu_id) + return; + + /* check if it is already updated */ + if (apicid_to_node[0] == NUMA_NO_NODE) + return; boot_cpu_id (bsp apic id ) is 0 under fake numa case? or need to add some exit for fake numa mode. YH - 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