> Linus,
> I've reimplemented the fix according to Richard's suggestions.
Wouldn't it be better to do the zeroing out of line? EFAULT isn't a
path worth optimizing for, and doing it with inline code in .fixup for
every copy bloats the kernel a lot. I think it would be better to just put a
call to a common zero function into .fixup.
As some data: my current kernel contains about 215 __copy_*_user() calls,
if you only add 30 bytes per call then that is about 6KB alone.
-Andi
-
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