[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 fixed 13/16] numa: Teach ram block notifiers about resizab

From: Paul Durrant
Subject: Re: [PATCH v2 fixed 13/16] numa: Teach ram block notifiers about resizable ram blocks
Date: Thu, 13 Feb 2020 13:41:48 +0100

On Wed, 12 Feb 2020 at 14:44, David Hildenbrand <address@hidden> wrote:
> We want to actually resize ram blocks (make everything between
> used_length and max_length inaccessible) - however, not all ram block
> notifiers will support that. Let's teach the notifier that ram blocks
> are indeed resizable, but keep using max_size in the existing notifiers.
> Supply the max_size when adding and removing ram blocks. Also, notify on
> resizes. Introduce a way to detect if any registered notifier does not
> support resizes - ram_block_notifiers_support_resize() - which we can later
> use to fallback to legacy handling if a registered notifier (esp., SEV and
> HAX) does not support actual resizes.
> Cc: Richard Henderson <address@hidden>
> Cc: Paolo Bonzini <address@hidden>
> Cc: "Dr. David Alan Gilbert" <address@hidden>
> Cc: Eduardo Habkost <address@hidden>
> Cc: Marcel Apfelbaum <address@hidden>
> Cc: Stefano Stabellini <address@hidden>
> Cc: Anthony Perard <address@hidden>
> Cc: Paul Durrant <address@hidden>
> Cc: "Michael S. Tsirkin" <address@hidden>
> Cc: address@hidden
> Cc: Igor Mammedov <address@hidden>
> Signed-off-by: David Hildenbrand <address@hidden>

Xen parts...

Acked-by: Paul Durrant <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]