Re: [RFC][PATCH] ia64 node hotplug -- cpu - node relationship fix [0/2] intro

From: Yasunori Goto <>
Date: 2006-05-26 20:23:07
> 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.


Yasunori Goto 

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri May 26 20:24:19 2006

This archive was generated by hypermail 2.1.8 : 2006-05-26 20:24:34 EST