Re: [PATCH 2/8] numa: x86_64: use generic percpu var numa_node_id() implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 15 Apr 2010, Lee Schermerhorn wrote:

> x86 arch specific changes to use generic numa_node_id() based on
> generic percpu variable infrastructure.  Back out x86's custom
> version of numa_node_id()
>
> Signed-off-by: Lee Schermerhorn <lee.schermerhorn@xxxxxx>
> [Christoph's signoff here?]

Hmmm. Its mostly your work now. Maybe Reviewed-by will be ok?

> @@ -809,7 +806,7 @@ void __cpuinit numa_set_node(int cpu, in
>  	per_cpu(x86_cpu_to_node_map, cpu) = node;
>
>  	if (node != NUMA_NO_NODE)
> -		per_cpu(node_number, cpu) = node;
> +		per_cpu(numa_node, cpu) = node;
>  }

Maybe provide a generic function to set the node for cpu X?

--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux