diff options
| author | Dan Williams <[email protected]> | 2018-05-04 00:06:11 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-05-15 06:32:41 +0000 |
| commit | da7bc9c57eb0e91e048d05f7dbe5014a8b81ccfa (patch) | |
| tree | a9f7f781dc1e2b803ffed73e16f8860ff1d086f9 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | Linux 4.17-rc5 (diff) | |
| download | kernel-da7bc9c57eb0e91e048d05f7dbe5014a8b81ccfa.tar.gz kernel-da7bc9c57eb0e91e048d05f7dbe5014a8b81ccfa.zip | |
x86/asm/memcpy_mcsafe: Remove loop unrolling
In preparation for teaching memcpy_mcsafe() to return 'bytes remaining'
rather than pass / fail, simplify the implementation to remove loop
unrolling. The unrolling complicates the fault handling for negligible
benefit given modern CPUs perform loop stream detection.
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/152539237092.31796.9115692316555638048.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
