diff options
author | Andy Lutomirski <[email protected]> | 2016-01-06 12:21:01 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-01-11 12:03:15 +0100 |
commit | 71b3c126e61177eb693423f2e18a1914205b165e (patch) | |
tree | a91955974bf8281db543a6ae1fee03ffdc6a9011 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | afd2ff9b7e1b367172f18ba7f693dfb62bdcb2dc (diff) |
x86/mm: Add barriers and document switch_mm()-vs-flush synchronization
When switch_mm() activates a new PGD, it also sets a bit that
tells other CPUs that the PGD is in use so that TLB flush IPIs
will be sent. In order for that to work correctly, the bit
needs to be visible prior to loading the PGD and therefore
starting to fill the local TLB.
Document all the barriers that make this work correctly and add
a couple that were missing.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions