Re: [PATCH 3/12] i386: Force section size to be non-zero to prevent a symbol becoming absolute

From: Andi Kleen
Date: Wed Oct 04 2006 - 07:05:33 EST



> /* writeable */
> @@ -64,6 +66,7 @@ SECTIONS
> *(.data.nosave)
> . = ALIGN(4096);
> __nosave_end = .;
> + LONG(0)
> }
>
> . = ALIGN(4096);

You're wasting one full page once for each of these LONG(0)s because
of the following 4096 alignment.

Isn't there some way to do this less wastefull?

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