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:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/x86/include/asm/uaccess_64.h 7 additions, 1 deletionarch/x86/include/asm/uaccess_64.h
- arch/x86/lib/copy_user_64.S 0 additions, 10 deletionsarch/x86/lib/copy_user_64.S
- arch/x86/lib/usercopy_64.c 5 additions, 1 deletionarch/x86/lib/usercopy_64.c
- tools/objtool/check.c 3 additions, 0 deletionstools/objtool/check.c
Loading
Please register or sign in to comment