> 1. empty-node-fix : avoid creating empty node > SRAT's enable bit just shows 'you can read this entry'. But the kernel know > this and checks each entries are vaild or not later. > > But pxm_bit/node_online_mask is not treated as they should be. > The kernel creates empty node, which has no cpu, no memory. I would like to mention about background of this more. I thought if enable bit of each SRAT entry is on, then its entry's object is usable for OS. However, SRAT specification says only "If clear, the OSPM ignores the contents of the Processor Local APIC/SAPIC (or Memory) Affinity Structure." So, our firmware team (or Micro $oft) interprets this "If enable bit is on, then this entry is just readable by OS. The object of its entry MIGHT NOT EXIST. This entry can be used for reserve resource for memory/cpu which can be hot-add later." They implemented it. I really really hate this. :-( But, indeed, ACPI spec. says just IGNORE if clear. They are correct. Current linux code checks memory and cpu existence by other ways. But, PXM remains even if they don't exist. The first patch is to remove it. Bye. -- Yasunori Goto - : send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |