Re: [patch 1/3] Percpu infrastructure to rebase the per cpu area to 0UL

2007-12-03 Thread Rusty Russell
On Friday 30 November 2007 17:43:06 Christoph Lameter wrote: > Support an option > > CONFIG_PERCPU_ZERO_BASED > > that makes offsets for per cpu variables start at zero. > > If a percpu area starts at zero then > > 1. We do not need RELOC_HIDE anymore Hi Christoph, Why do you think this

Re: [patch 1/3] Percpu infrastructure to rebase the per cpu area to 0UL

2007-12-03 Thread Rusty Russell
On Friday 30 November 2007 17:43:06 Christoph Lameter wrote: > Support an option > > CONFIG_PERCPU_ZERO_BASED Minor nitpicks aside, I like this patch (using AT() was a nice touch: I tried using section-relative relocs originally and it gave horrible results). But this belongs in a complete

[patch 1/3] Percpu infrastructure to rebase the per cpu area to 0UL

2007-11-29 Thread Christoph Lameter
Support an option CONFIG_PERCPU_ZERO_BASED that makes offsets for per cpu variables start at zero. If a percpu area starts at zero then 1. We do not need RELOC_HIDE anymore 2. Indexes off the per cpu area for each processor are small 3. The percpu area "addresses" are offsets and we c