diff options
author | 2019-10-31 15:29:28 +0100 | |
---|---|---|
committer | 2019-11-13 16:58:01 +1100 | |
commit | 1ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f (patch) | |
tree | 744e2634ca9fa64360525e61e67bb3cd531ebad5 /include/uapi/linux/magic.h | |
parent | powerpc/pseries/cmm: Rip out memory isolate notifier (diff) | |
download | linux-1ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f.tar.gz linux-1ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f.tar.bz2 linux-1ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f.zip |
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 'include/uapi/linux/magic.h')
0 files changed, 0 insertions, 0 deletions