Re: [RFC][PATCH 0/2] s390/kvm: add kvm support for guest page hintingv2

From: Christian Borntraeger
Date: Thu Jul 25 2013 - 06:45:05 EST


On 25/07/13 10:54, Martin Schwidefsky wrote:
> v1->v2:
> - found a way to simplify the common code patch
>
> Linux on s390 as a guest under z/VM has been using the guest page
> hinting interface (alias collaborative memory management) for a long
> time. The full version with volatile states has been deemed to be too
> complicated (see the old discussion about guest page hinting e.g. on
> http://marc.info/?l=linux-mm&m=123816662017742&w=2).
> What is currently implemented for the guest is the unused and stable
> states to mark unallocated pages as freely available to the host.
> This works just fine with z/VM as the host.
>
> The two patches in this series implement the guest page hinting
> interface for the unused and stable states in the KVM host.
> Most of the code specific to s390 but there is a common memory
> management part as well, see patch #1.
>
> The code is working stable now, from my point of view this is ready
> for prime-time.
>
> Konstantin Weitz (2):
> mm: add support for discard of unused ptes
> s390/kvm: support collaborative memory management

Can you also add the patch from our tree that reset the usage states
on reboot (diag 308 subcode 3 and 4)?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/