Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-12 Thread Nathan Whitehorn
On 09/06/15 16:52, Paul Mackerras wrote: On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: Anything I can do to help move these along? It's a big performance improvement for FreeBSD guests. These patches are in Paolo's kvm-ppc-next branch and should go into Linus' tree in the

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-12 Thread Alexander Graf
> Am 12.09.2015 um 18:47 schrieb Nathan Whitehorn : > >> On 09/06/15 16:52, Paul Mackerras wrote: >>> On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: >>> Anything I can do to help move these along? It's a big performance >>> improvement for FreeBSD

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Nathan Whitehorn
Fantastic, thanks! -Nathan On 09/06/15 16:52, Paul Mackerras wrote: On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: Anything I can do to help move these along? It's a big performance improvement for FreeBSD guests. These patches are in Paolo's kvm-ppc-next branch and should

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Nathan Whitehorn
Anything I can do to help move these along? It's a big performance improvement for FreeBSD guests. -Nathan On 07/27/15 10:31, Nathan Whitehorn wrote: I've been running with these patches and a FreeBSD guest for a while now and they work very well, providing big performance improvements in

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-09-06 Thread Paul Mackerras
On Sun, Sep 06, 2015 at 12:47:12PM -0700, Nathan Whitehorn wrote: > Anything I can do to help move these along? It's a big performance > improvement for FreeBSD guests. These patches are in Paolo's kvm-ppc-next branch and should go into Linus' tree in the next couple of days. Paul. -- To

[PULL 09/12] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-08-22 Thread Alexander Graf
From: Paul Mackerras pau...@samba.org This adds implementations for the H_CLEAR_REF (test and clear reference bit) and H_CLEAR_MOD (test and clear changed bit) hypercalls. When clearing the reference or change bit in the guest view of the HPTE, we also have to clear it in the real HPTE so that

Re: [PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-07-27 Thread Nathan Whitehorn
I've been running with these patches and a FreeBSD guest for a while now and they work very well, providing big performance improvements in tight memory situations. Thanks! I did have to patch QEMU to enable the hypercalls, however -- it might be worth adding them to the default set since

[PATCH 5/5] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-06-24 Thread Paul Mackerras
This adds implementations for the H_CLEAR_REF (test and clear reference bit) and H_CLEAR_MOD (test and clear changed bit) hypercalls. When clearing the reference or change bit in the guest view of the HPTE, we also have to clear it in the real HPTE so that we can detect future references or

[PATCH 3/3] KVM: PPC: Book3S HV: Implement H_CLEAR_REF and H_CLEAR_MOD

2015-04-23 Thread Paul Mackerras
This adds implementations for the H_CLEAR_REF (test and clear reference bit) and H_CLEAR_MOD (test and clear changed bit) hypercalls. When clearing the reference or change bit in the guest view of the HPTE, we also have to clear it in the real HPTE so that we can detect future references or

Re: H_CLEAR_REF and H_CLEAR_MOD

2015-04-14 Thread Paul Mackerras
: It seems like KVM doesn't implement the H_CLEAR_REF and H_CLEAR_MOD hypervisor calls, which are absolutely critical for memory management in the FreeBSD kernel (and are marked mandatory in the PAPR manual). It seems some patches have been contributed already in https://lists.ozlabs.org

Re: H_CLEAR_REF and H_CLEAR_MOD

2015-04-11 Thread Nathan Whitehorn
On 02/18/15 15:33, Nathan Whitehorn wrote: On 02/18/15 14:00, Paul Mackerras wrote: On Wed, Feb 18, 2015 at 09:34:54AM +0100, Alexander Graf wrote: Am 18.02.2015 um 07:12 schrieb Nathan Whitehorn nwhiteh...@freebsd.org: It seems like KVM doesn't implement the H_CLEAR_REF and H_CLEAR_MOD

Re: H_CLEAR_REF and H_CLEAR_MOD

2015-02-18 Thread Alexander Graf
Am 18.02.2015 um 07:12 schrieb Nathan Whitehorn nwhiteh...@freebsd.org: It seems like KVM doesn't implement the H_CLEAR_REF and H_CLEAR_MOD hypervisor calls, which are absolutely critical for memory management in the FreeBSD kernel (and are marked mandatory in the PAPR manual). It seems

Re: H_CLEAR_REF and H_CLEAR_MOD

2015-02-18 Thread Paul Mackerras
On Wed, Feb 18, 2015 at 09:34:54AM +0100, Alexander Graf wrote: Am 18.02.2015 um 07:12 schrieb Nathan Whitehorn nwhiteh...@freebsd.org: It seems like KVM doesn't implement the H_CLEAR_REF and H_CLEAR_MOD hypervisor calls, which are absolutely critical for memory management

Re: H_CLEAR_REF and H_CLEAR_MOD

2015-02-18 Thread Nathan Whitehorn
On 02/18/15 14:00, Paul Mackerras wrote: On Wed, Feb 18, 2015 at 09:34:54AM +0100, Alexander Graf wrote: Am 18.02.2015 um 07:12 schrieb Nathan Whitehorn nwhiteh...@freebsd.org: It seems like KVM doesn't implement the H_CLEAR_REF and H_CLEAR_MOD hypervisor calls, which are absolutely critical

H_CLEAR_REF and H_CLEAR_MOD

2015-02-17 Thread Nathan Whitehorn
It seems like KVM doesn't implement the H_CLEAR_REF and H_CLEAR_MOD hypervisor calls, which are absolutely critical for memory management in the FreeBSD kernel (and are marked mandatory in the PAPR manual). It seems some patches have been contributed already in https://lists.ozlabs.org