lkml.org 
[lkml]   [2006]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] percpu data: only iterate over possible CPUs
Andrew Morton <akpm@osdl.org> wrote:
>
> Users of __GENERIC_PER_CPU definitely need cpu_possible_map to be initialised
> by the time setup_per_cpu_areas() is called,

err, they'll need it once Eric's
dont-waste-percpu-memory-on-not-possible-CPUs patch is merged..

> so I think it makes sense to
> say "thou shalt initialise cpu_possible_map in setup_arch()".
>
> I guess Xen isn't doing that. Can it be made to?

Lame fix: cpu_possible_map = (1<<NR_CPUS)-1 in setup_arch().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-09 04:12    [W:0.063 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site