diff options
| author | David Hildenbrand <david@redhat.com> | 2019-10-31 17:29:26 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-13 08:58:01 +0300 |
| commit | 287b89773d8172df049f0f4c27946b2ae4ac4b41 (patch) | |
| tree | 7e0ddcff8515f8d045d28a9db26fd0bb49251916 /tools/perf/scripts/python/sched-migration.py | |
| parent | 4a1745c5bf92232f115e28296475dc42254b1c7d (diff) | |
| download | linux-287b89773d8172df049f0f4c27946b2ae4ac4b41.tar.xz | |
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
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
