diff options
author | Nadav Amit <namit@vmware.com> | 2019-06-12 23:48:13 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-06-23 14:07:23 +0200 |
commit | dde3626f815e38bbf96fddd5185038c4b4d395a8 (patch) | |
tree | b1f5afd13569b62d7b49da4f7e2a9dc1163db1bd /arch/x86/kernel/time.c | |
parent | 748b170ca19ab67b891279cce258d1defe73c5ab (diff) | |
download | lwn-dde3626f815e38bbf96fddd5185038c4b4d395a8.tar.gz lwn-dde3626f815e38bbf96fddd5185038c4b4d395a8.zip |
x86/apic: Use non-atomic operations when possible
Using __clear_bit() and __cpumask_clear_cpu() is more efficient than using
their atomic counterparts.
Use them when atomicity is not needed, such as when manipulating bitmasks
that are on the stack.
Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20190613064813.8102-10-namit@vmware.com
Diffstat (limited to 'arch/x86/kernel/time.c')
0 files changed, 0 insertions, 0 deletions