Messages in this thread | | | Date | Thu, 23 Aug 2012 13:59:14 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH v8 1/5] mm: introduce a common interface for balloon pages mobility |
| |
On 08/23/2012 01:28 PM, Rafael Aquini wrote:
> What about keep a conter at virtio_balloon structure on how much pages are > isolated from balloon's list and check it at leak time? > if the counter gets > 0 than we can safely put leak_balloon() to wait until > balloon page list gets completely refilled.
We only have to wait if we failed to leak enough pages, and then only for as many additional pages as we require.
| |