aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2019-10-31 15:29:25 +0100
committerMichael Ellerman <[email protected]>2019-11-13 16:58:00 +1100
commit4a1745c5bf92232f115e28296475dc42254b1c7d (patch)
treeb98154a8e4b3b81c7cb949cae1a2272c33e5353e /lib/memory-notifier-error-inject.c
parent68f7a04932bbcd72973fd58b16a817f4bf99171a (diff)
powerpc/pseries/cmm: Drop page array
We can simply store the pages in a list (page->lru), no need for a separate data structure (+ complicated handling). This is how most other balloon drivers store allocated pages without additional tracking data. For the notifiers, use page_to_pfn() to check if a page is in the applicable range. Use page_to_phys() in plpar_page_set_loaned() and plpar_page_set_active() (I assume due to the __pa() that's the right thing to do). 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