diff options
| author | Alexey Kardashevskiy <[email protected]> | 2016-02-15 12:55:05 +1100 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2016-02-16 13:44:26 +1100 |
| commit | 366baf28ee3fc22dea504a0bddf8edd1e9bcee70 (patch) | |
| tree | 38bee7a88979d6a95093084055619d10bd17fb61 /tools/perf/scripts | |
| parent | fcbb2ce672848481275c1f014ad44ccd1e43a7a2 (diff) | |
KVM: PPC: Use RCU for arch.spapr_tce_tables
At the moment only spapr_tce_tables updates are protected against races
but not lookups. This fixes missing protection by using RCU for the list.
As lookups also happen in real mode, this uses
list_for_each_entry_lockless() (which is expected not to access any
vmalloc'd memory).
This converts release_spapr_tce_table() to a RCU scheduled handler.
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions