Re: [PATCH 6/8] Allow per-cpu variables to be page-aligned
From: Ingo Molnar
Date: Tue Mar 06 2007 - 08:16:06 EST
* Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
> Xen wants page-aligned GDT (and PDA must not cross a page-boundary,
> but that doesn't happen at the moment since it's so close to start of
> page). Let's allow page-alignment in general for per-cpu data.
>
> Because larger alignments can use more room, we increase the max
> per-cpu memory to 64k rather than 32k: it's getting a little tight.
i recently needed page-aligned per-cpu data too for KVM-paravirt. Btw.,
what's the size increase of the native kernel?
Acked-by: Ingo Molnar <mingo@xxxxxxx>
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/