Re: [PATCH 5/6] Begin abstraction of sensitive instructions:asm files

From: Rusty Russell
Date: Tue Jul 25 2006 - 23:28:44 EST


On Wed, 2006-07-26 at 09:52 +1000, Peter Chubb wrote:
> >>>>> "Rusty" == Rusty Russell <rusty@xxxxxxxxxxxxxxx> writes:
>
> Rusty> Agreed: certainly eax should be mentioned. GET_CR0_INTO_EAX?
> Rusty> MOV is a bit close to describing how it's happening (which, on
> Rusty> paravirt it might not be) so it might lead the reader to
> Rusty> unwarranted assumptions.
>
> Aren't these ideal cases to use a tool to convert, rather than adding
> manual changes to the source? The `afterburner' approach works quite
> well for this kind of thing.

Agreed, afterburner works well in that it's minimally invasive in the
source. However, that is precisely the opposite of the aim of patches
like this one which are integrated: that the source code be explicit.

Cheers,
Rusty.
--
Help! Save Australia from the worst of the DMCA: http://linux.org.au/law

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