Cc: Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, Arjan van de Ven <arjan@...>, x86 maintainers <x86@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>
It doesn't. I guess I don't care that much, since explicitly asking for
some odd-ball case does indicate that you want a very specific kernel. I
guess that's ok. I'm certainly not violently against it.
Of course, I also suspect that we _could_ fix it so that things like
memcpy really only have two cases:
- the special inlined "rep movs" thing. Although I'm not actually sure
gcc even does this, and I don't think we force it any more.
- If doing a function call, we could just fix things up to be more
dynamic. Of course, the fixups for the SMP cases are scary (ie we'd
probably have to first change it to a one-byte "int $3" instruction,
then change the target, and then write the first byte back - and handle
any race with another CPU by fixing up the trap).
but I dunno.
Linus
--