Re: [PATCH v1] powerpc/pseries: CMM: Drop page array

2019-09-27 Thread David Hildenbrand
On 25.09.19 09:37, David Hildenbrand wrote: > On 10.09.19 18:39, David Hildenbrand wrote: >> 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 tra

Re: [PATCH v1] powerpc/pseries: CMM: Drop page array

2019-09-25 Thread David Hildenbrand
On 10.09.19 18:39, David Hildenbrand wrote: > 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

[PATCH v1] powerpc/pseries: CMM: Drop page array

2019-09-10 Thread David Hildenbrand
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. pl