lkml.org 
[lkml]   [2008]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 00/15] x86_64: Optimize percpu accesses
Christoph Lameter wrote:
>
> Right. The problem is with the percpu area handled by the linker. That percpu area is used by the boot cpu and later we setup other additional per cpu areas. Those can be placed in an arbitrary way if one goes through a table of pointers to these areas.
>
> However, that does not work if one calculates the virtual address instead of looking up a physical address.
>

As far as the linker is concerned, there are two address spaces: VMA,
which is the offset, and LMA, which is the physical address on where to
load. The linker doesn't give a flying hoot about the virtual address,
since it's completely irrelevant as far as it is concerned; it's nothing
but a kernel-internal abstraction.

-hpa



\
 
 \ /
  Last update: 2008-07-10 20:13    [W:0.208 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site