I've just done my own calculation.
__copy_to_user was kept unmodified.
__copy_from_user is mentioned in architecture independent and i386 specific
sources about 20 times.
My vmlinux has 72 "stosl" instructions in .fixup entries clearing the memory.
Most of them is in groups of 11-12 bytes of the extra code.
The call instruction takes 5 bytes.
For my configuration calls in .fixup entries would save me about 500 bytes
against the current implementation.
I haven't heard Linus' opinion at all. If he wishes I'll do a new patch.
Best wishes
Andrey V.
Savochkin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html