aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2019-10-31 15:29:28 +0100
committerMichael Ellerman <[email protected]>2019-11-13 16:58:01 +1100
commit1ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f (patch)
tree744e2634ca9fa64360525e61e67bb3cd531ebad5 /lib/memory-notifier-error-inject.c
parent7659f5d6448095ef436891c33bdd7c8500620a00 (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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions