summaryrefslogtreecommitdiff
path: root/arch/um/include/shared/os.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-02-14 00:11:04 -0800
committerThomas Gleixner <tglx@linutronix.de>2017-03-11 12:45:18 +0100
commit5a920155e388ec22a22e0532fb695b9215c9b34d (patch)
treee92bef00945f4180419a0ea81bc667bb3f542054 /arch/um/include/shared/os.h
parentb9894a2f5bd18b1691cb6872c9afe32b148d0132 (diff)
downloadlinux-5a920155e388ec22a22e0532fb695b9215c9b34d.tar.gz
linux-5a920155e388ec22a22e0532fb695b9215c9b34d.tar.bz2
linux-5a920155e388ec22a22e0532fb695b9215c9b34d.zip
x86/process: Optimize TIF_NOTSC switch
Provide and use a toggle helper instead of doing it with a branch. x86_64: arch/x86/kernel/process.o text data bss dec hex 3008 8577 16 11601 2d51 Before 2976 8577 16 11569 2d31 After i386: arch/x86/kernel/process.o text data bss dec hex 2925 8673 8 11606 2d56 Before 2893 8673 8 11574 2d36 After Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Andy Lutomirski <luto@kernel.org> Link: http://lkml.kernel.org/r/20170214081104.9244-4-khuey@kylehuey.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/um/include/shared/os.h')
0 files changed, 0 insertions, 0 deletions