• Ingo Molnar's avatar
    x86, mm: pass in 'total' to __copy_from_user_*nocache() · 3255aa2e
    Ingo Molnar authored
    Impact: cleanup, enable future change
    
    Add a 'total bytes copied' parameter to __copy_from_user_*nocache(),
    and update all the callsites.
    
    The parameter is not used yet - architecture code can use it to
    more intelligently decide whether the copy should be cached or
    non-temporal.
    
    Cc: Salman Qazi <sqazi@google.com>
    Cc: Nick Piggin <npiggin@suse.de>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    3255aa2e
uaccess.h 3.23 KB