Re: BUG: mmapfile/writev spurious zero bytes (x86_64/not i386,bisected, reproducable)
From: Linus Torvalds
Date: Tue Jun 17 2008 - 17:32:33 EST
On Tue, 17 Jun 2008, Andi Kleen wrote:
>
> Loads are not supposed to fault in copy_to_user(). Only stores are.
Andi, just shut up already.
It is "copy_user". Notice the lack of "from" or "to". That code handles
*both* copy_to_user and copy_from_user.
> If your patch fixes something then the main wrong thing is the caller
> who passes a faulting source address.
Andi, SHUT THE F*CK UP. Read the code. Read the patch. Sorry for ever
involving you. I don't want to hear your idiotic whining.
Linus
--
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/