Re: [PATCH] 2.5.1-pre5: per-cpu areas

Keith Owens (kaos@ocs.com.au)
Thu, 06 Dec 2001 18:21:25 +1100


On Thu, 06 Dec 2001 09:09:35 +1100,
Rusty Russell <rusty@rustcorp.com.au> wrote:
>The following patch implements convenient per-cpu areas:

Did you look at PERCPU_ADDR in ia64? Much (all?) of the per cpu data
is in struct cpuinfo_ia64 which is at the same virtual address on all
cpus but with different physical addresses on each cpu. Let the mmu do
the work. S390 does a similar trick, using the Prefixed Save Area
(PSA) which is virtual 0 but different physical addresses on each cpu.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/