diff options
author | David Hildenbrand <david@redhat.com> | 2019-10-31 15:29:25 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-13 16:58:00 +1100 |
commit | 4a1745c5bf92232f115e28296475dc42254b1c7d (patch) | |
tree | b98154a8e4b3b81c7cb949cae1a2272c33e5353e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 68f7a04932bbcd72973fd58b16a817f4bf99171a (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 <david@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191031142933.10779-5-david@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions