Skip to content
Commit 3639a535 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

x86: move stac/clac from user copy routines into callers



This is preparatory work for inlining the 'rep movs' case, but also a
cleanup.  The __copy_user_nocache() function was mis-used by the rdma
code to do uncached kernel copies that don't actually want user copies
at all, and as a result doesn't want the stac/clac either.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d2c95f9d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment