aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2019-10-31 15:29:26 +0100
committerMichael Ellerman <[email protected]>2019-11-13 16:58:01 +1100
commit287b89773d8172df049f0f4c27946b2ae4ac4b41 (patch)
tree7e0ddcff8515f8d045d28a9db26fd0bb49251916 /lib/memory-notifier-error-inject.c
parent4a1745c5bf92232f115e28296475dc42254b1c7d (diff)
powerpc/pseries/cmm: Use adjust_managed_page_count() insted of totalram_pages_*
adjust_managed_page_count() performs a totalram_pages_add(), but also adjusts the managed pages of the zone. Let's use that instead, similar to virtio-balloon. Use it before freeing a page. 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