Searched hist:"287 b89773d8172df049f0f4c27946b2ae4ac4b41" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | cmm.c | diff 287b89773d8172df049f0f4c27946b2ae4ac4b41 Thu Oct 31 09:29:26 CDT 2019 David Hildenbrand <david@redhat.com> 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 <david@redhat.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20191031142933.10779-6-david@redhat.com
|