lkml.org 
[lkml]   [2009]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PATCH] x86,percpu: fix pageattr handling with remap allocator
Hello, Suresh.

Suresh Siddha wrote:
> Tejun, Can you please educate me why we need to map this first
> percpu chunk (which is pre-allocated during boot and is physically
> contiguous) into vmalloc area?

To make areas for each cpu congruent such that the address offset of a
percpu symbol for CPU N is always the same from the address for CPU 0.

> Perhaps even for the other dynamically allocated secondary chunks?
> (as far as I can see, all the chunk allocations seems to be
> physically contiguous and later mapped into vmalloc area)..
>
> That should simplify these things quite a bit(atleast for first
> percpu chunk). I am missing something obvious I guess.

Hmm... Sorry I don't really follow. Can you please elaborate the
question?

thanks.

--
tejun


\
 
 \ /
  Last update: 2009-05-16 17:25    [W:0.165 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site