lkml.org 
[lkml]   [2008]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BUG: mmapfile/writev spurious zero bytes (x86_64/not i386, bisected, reproducable)
Linus Torvalds wrote:
>
> On Tue, 17 Jun 2008, Linus Torvalds wrote:
>> I actually am starting to think that the bug is in
>> __copy_to_user_inatomic_nocache().
>
> Confirmed.
>
> The uncached user copies are totally broken. The number of bytes left
> uncopied is simply wrong, because of how it does that unrolled loop and
> doesn't account for the fact that just doing loads does not actually
> increase the number of bytes copied at all.

How can a load fault legitimately in copy_to_user?

-Andi




\
 
 \ /
  Last update: 2008-06-17 23:17    [W:0.127 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site