x86/tlb: Don't use locked operations in tlbflush_filter()
PATCH 1/1 x86/tlb: Don't use locked operations in tlbflush_filter()
All passed cpumask_t's are context-local and not at risk of concurrent updates.
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
--- xen/include/asm-x86/flushtlb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/asm-x86/flushtlb.h +1 -1
@@ -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 );
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 08.05.17 at 18:31, <[email protected]> wrote:
All passed cpumask_t's are context-local and not at risk of concurrent updates.
Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel