diff options
author | David Hildenbrand <david@redhat.com> | 2019-10-31 15:29:28 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-13 16:58:01 +1100 |
commit | 1ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f (patch) | |
tree | 744e2634ca9fa64360525e61e67bb3cd531ebad5 /tools/perf/scripts/python | |
parent | 7659f5d6448095ef436891c33bdd7c8500620a00 (diff) |
powerpc/pseries/cmm: Convert loaned_pages to an atomic_long_t
When switching to balloon compaction, we want to drop the cmm_lock and
completely rely on the balloon compaction list lock internally.
loaned_pages is currently protected under the cmm_lock.
Note: Right now cmm_alloc_pages() and cmm_free_pages() can be called
at the same time, e.g., via the thread and a concurrent OOM notifier.
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191031142933.10779-8-david@redhat.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions