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)


    On Tue, 17 Jun 2008, Linus Torvalds wrote:
    >
    > It is "copy_user". Notice the lack of "from" or "to". That code handles
    > *both* copy_to_user and copy_from_user.

    Oh, and yes, I said "copy_to_user_inatomic()" by mistake. The fact is that
    "write()" obviously does copy_from_user, but more importantly that on x86
    it's THE EXACT SAME ROUTINE.

    Linus


    \
     
     \ /
      Last update: 2008-06-17 23:37    [W:0.023 / U:62.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site