aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-11-10 10:01:22 +0000
committerPeter Zijlstra <[email protected]>2021-12-11 08:09:50 +0000
commitd5d797dcbd781cb7c526ad32f31c7fd96babfdb2 (patch)
treedd64239b122e8ab932f750b121d88bdacbff9120 /lib/string_helpers.c
parentx86/usercopy_32: Simplify __copy_user_intel_nocache() (diff)
downloadkernel-d5d797dcbd781cb7c526ad32f31c7fd96babfdb2.tar.gz
kernel-d5d797dcbd781cb7c526ad32f31c7fd96babfdb2.zip
x86/usercopy: Remove .fixup usage
Typically usercopy does whole word copies followed by a number of byte copies to finish the tail. This means that on exception it needs to compute the remaining length as: words*sizeof(long) + bytes. Create a new extable handler to do just this. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions