Home
last modified time | relevance | path

Searched hist:"1 ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dcmm.cdiff 1ef2f06b71792c2efaa4fb4aef8f1fc2a115ee1f Thu Oct 31 09:29:28 CDT 2019 David Hildenbrand <david@redhat.com> 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