Re: [PATCH 6/8] Allow per-cpu variables to be page-aligned

From: H. Peter Anvin
Date: Tue Mar 06 2007 - 19:45:42 EST


Rusty Russell wrote:

AFAICT, we could save the wasted partial page in three ways: by trying
to link it first, if it's only a case of one file, by having a special
page-aligned percpu data section, or by having a smarter linker.


We already do the second of those for conventional data, so it would make sense for percpu as well. Smarter linker would be better, but ugh, I don't see that happening any time soon.

-hpa
-
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/