[lkml]   [2009]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PATCH] x86,percpu: fix pageattr handling with remap allocator
On Mon, 2009-05-18 at 18:28 -0700, Tejun Heo wrote:
> Hello, Suresh.
> Suresh Siddha wrote:
> > This %gs:absolute type accesses are for static percpu data.
> >
> > But what I was referring to is the dynamic percpu data(accessed through
> > per_cpu_ptr()). Instead of combining some part of the dynamic percpu
> > data into the static percpu data(first percpu chunk), we can use
> > different chunks for dynamic percpu data and governed by a different
> > per_cpu_dynamic_offset[NR_CPUS] array.
> >
> > Then we can use large-page kernel direct mappings for static percpu data
> > (or %gs:offset) and small-page vmalloc mappings for dynamic percpu data.
> Hmmm... I can't really follow what you're suggesting. Can you please
> explain it in more detailed way?

Ok. Before I make another attempt walking that hill :)

I was talking to Peter and it seems there are some requests to change
the first percpu unit allocation for each possible cpu using bootmem
allocator, to allocating the corresponding unit at the cpu online time.

Do you have plans to change this? If we do this allocation during the
corresponding cpu online time and don't end up using big pages, then
also we avoid all these aliasing issues...


 \ /
  Last update: 2009-05-21 01:05    [W:0.117 / U:3.564 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site