Skip to content

x86: Add 1/2/4/8 byte optimization to 64bit __copy_{from,to}_user_inatomic

Andi Kleen lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13x86: Add 1/2/4/8 byte optimization to 64bit __copy_{from,to}_user_inatomicarch/x86/include/asm/uaccess_64.h+18 -60 replies
2/13x86: Include linux/sched.h in asm/uaccess.harch/x86/include/asm/uaccess.h+1 -00 replies
3/13tree-sweep: Include linux/sched.h for might_sleep usersarch/arm/common/mcpm_entry.c arch/arm/mach-omap2/omap_hwmod.c arch/arm/mm/highmem.c +117 more+120 -00 replies
4/13Move might_sleep and friends from kernel.h to sched.hinclude/linux/kernel.h include/linux/sched.h+38 -350 replies
5/13sched: mark should_resched() __always_inlinekernel/sched/core.c+1 -10 replies
6/13x86: Add 32bit versions of SAVE_ALL/RESTORE_ALL to calling.harch/x86/include/asm/calling.h+49 -00 replies
7/13Add might_fault_debug_only()include/linux/sched.h+2 -01 reply
8/13x86: Move cond_resched into the out of line put_user codearch/x86/include/asm/uaccess.h arch/x86/lib/putuser.S arch/x86/lib/user-common.h+24 -20 replies
9/13x86: Move cond_resched into the out of line get_user codearch/x86/include/asm/uaccess.h arch/x86/lib/getuser.S+6 -60 replies
10/13x86: Move cond resched for copy_{from,to}_user into low level code 64bitarch/x86/include/asm/uaccess_64.h arch/x86/lib/copy_user_64.S+5 -47 replies
11/13sched: Inline the need_resched test into the caller for _cond_reschedinclude/linux/sched.h+1 -10 replies
12/13x86: move __copy_*_nocache might fault check out of linearch/x86/include/asm/uaccess_64.h arch/x86/lib/copy_user_nocache_64.S+11 -20 replies
13/13x86: drop cond rescheds from __copy_{from,to}_userarch/x86/include/asm/uaccess_32.h arch/x86/include/asm/uaccess_64.h+5 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread