lkml.org 
[lkml]   [2003]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Provide example copy_in_user implementation

    On Tue, 24 Jun 2003, Pavel Machek wrote:
    >
    > ...so it should be exactly as fast.

    No it shouldn't.

    You should do the access_ok() only _once_ (well, twice: once for source
    and once for dest).

    Also, anything that copies memory one byte at a time is just asking to be
    shot.

    Linus

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:36    [W:0.031 / U:2.204 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site