Re: [rfc 08/45] cpu alloc: x86 support

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

 



On Tue, 20 Nov 2007, H. Peter Anvin wrote:

> But you wouldn't actually *use* this address space.  It's just for the linker
> to know what address to tag the references with; it gets relocated by gs_base
> down into proper kernel space.  The linker can stash the initialized reference
> copy at any address (LMA) which can be different from what it will be used at
> (VMA); that is not an issue.

That is already provided by this patchset. The cpu area starts at absolute 
0.
 
> To use %rip references, though, which are more efficient, you probably want to
> use offsets that are just below .text (at -2 GB); presumably
> -2 GB-[max size of percpu section].  Again, however, no CPU actually needs to
> have its data stashed in that particular location; it's just an offset.

Right. That is what we are discussion in another thread.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux