Re: [PATCH 5/7] Use %gs for per-cpu sections in kernel
From: Jeremy Fitzhardinge
Date: Fri Sep 22 2006 - 18:44:09 EST
Andi Kleen wrote:
BTW I changed my copy sorry. I redid the early PDA support
to not be in assembler.
I went to the trouble of making the PDA completely set up before any C
code ran. Did you undo that?
Andrew mentioned that people have various hacks which hook into mcount,
and want to use current/smp_processor_id, which means that that they
have to work from the first function prologue.
It also simplifies things to get all that set up ASAP so there's no
bootstrap dependency problem.
J
-
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/