projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
429d839
)
x86/tlb: Don't use locked operations in tlbflush_filter()
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Mon, 8 May 2017 16:02:09 +0000
(16:02 +0000)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Tue, 30 May 2017 17:50:13 +0000
(18:50 +0100)
All passed cpumask_t's are context-local and not at risk of concurrent
updates.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/flushtlb.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/flushtlb.h
b/xen/include/asm-x86/flushtlb.h
index 8b7adef7c59f3532c0e50f546c049849fa7e00ea..aa86ea2f3e36b233424454af21ca365fe3eb92f2 100644
(file)
--- a/
xen/include/asm-x86/flushtlb.h
+++ b/
xen/include/asm-x86/flushtlb.h
@@
-55,7
+55,7
@@
static inline void tlbflush_filter(cpumask_t *mask, uint32_t page_timestamp)
for_each_cpu ( cpu, mask )
if ( !NEED_FLUSH(per_cpu(tlbflush_time, cpu), page_timestamp) )
- cpumask_clear_cpu(cpu, mask);
+
__
cpumask_clear_cpu(cpu, mask);
}
void new_tlbflush_clock_period(void);