Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118534
b: refs/heads/master
c: d6f0f39
h: refs/heads/master
v: v3
  • Loading branch information
Suresh Siddha authored and Ingo Molnar committed Nov 6, 2008
1 parent 6536a81 commit 627c4a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7db282fa67b58daff8a57f9e1c93d4474b5908ff
refs/heads/master: d6f0f39b7d05e62b347c4352d070e4afb3ade4b5
6 changes: 6 additions & 0 deletions trunk/arch/x86/kernel/tlb_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm,
flush_mm = mm;
flush_va = va;
cpus_or(flush_cpumask, cpumask, flush_cpumask);

/*
* Make the above memory operations globally visible before
* sending the IPI.
*/
smp_mb();
/*
* We have to send the IPI only to
* CPUs affected.
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/x86/kernel/tlb_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm,
f->flush_va = va;
cpus_or(f->flush_cpumask, cpumask, f->flush_cpumask);

/*
* Make the above memory operations globally visible before
* sending the IPI.
*/
smp_mb();
/*
* We have to send the IPI only to
* CPUs affected.
Expand Down

0 comments on commit 627c4a4

Please sign in to comment.