From: Christoffer Dall <christoffer.dall@linaro.org>
To: Marc Zyngier <marc.zyngier@arm.com>
Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu,
linux-arm-kernel@lists.infradead.org,
Steve Capper <steve.capper@linaro.org>
Subject: Re: [PATCH v2 0/3] arm/arm64: KVM: Add support for page aging
Date: Thu, 12 Mar 2015 22:40:34 +0100 [thread overview]
Message-ID: <20150312214034.GA3067@cbox> (raw)
In-Reply-To: <1426184212-29333-1-git-send-email-marc.zyngier@arm.com>
On Thu, Mar 12, 2015 at 06:16:49PM +0000, Marc Zyngier wrote:
> So far, KVM/arm doesn't implement any support for page aging, leading
> to rather bad performance when the system is swapping. This short
> series implements the required hooks and fault handling to deal with
> pages being marked old/young.
>
> The three patches are fairly straightforward:
>
> - First patch changes the range iterator to be able to return a value
>
> - Second patch implements the actual page aging (clearing the AF bit
> in the page tables, and relying on the normal faulting code to set
> the bit again).
>
> - Last patch optimizes the access fault path by only doing the minimum
> to satisfy the fault.
>
> The end result is a system that behaves visibly better under load, as
> VM pages don't get evicted that easily.
>
> Based on 4.0-rc3, tested on Seattle and X-Gene.
>
> Also at git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/page-aging
>
> * From v1 [1]:
> - Removed all TLBIs from kvm_age_hva_handler, as the core KVM code
> already does use quite a large hammer to nuke the TLBs on its own
> - Don't mark old a page that is already old
> - Rebased on top of 4.0-rc3
>
Thanks, applied to queue!
-Christoffer
WARNING: multiple messages have this Message-ID (diff)
From: christoffer.dall@linaro.org (Christoffer Dall)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] arm/arm64: KVM: Add support for page aging
Date: Thu, 12 Mar 2015 22:40:34 +0100 [thread overview]
Message-ID: <20150312214034.GA3067@cbox> (raw)
In-Reply-To: <1426184212-29333-1-git-send-email-marc.zyngier@arm.com>
On Thu, Mar 12, 2015 at 06:16:49PM +0000, Marc Zyngier wrote:
> So far, KVM/arm doesn't implement any support for page aging, leading
> to rather bad performance when the system is swapping. This short
> series implements the required hooks and fault handling to deal with
> pages being marked old/young.
>
> The three patches are fairly straightforward:
>
> - First patch changes the range iterator to be able to return a value
>
> - Second patch implements the actual page aging (clearing the AF bit
> in the page tables, and relying on the normal faulting code to set
> the bit again).
>
> - Last patch optimizes the access fault path by only doing the minimum
> to satisfy the fault.
>
> The end result is a system that behaves visibly better under load, as
> VM pages don't get evicted that easily.
>
> Based on 4.0-rc3, tested on Seattle and X-Gene.
>
> Also at git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/page-aging
>
> * From v1 [1]:
> - Removed all TLBIs from kvm_age_hva_handler, as the core KVM code
> already does use quite a large hammer to nuke the TLBs on its own
> - Don't mark old a page that is already old
> - Rebased on top of 4.0-rc3
>
Thanks, applied to queue!
-Christoffer
next prev parent reply other threads:[~2015-03-12 21:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-12 18:16 [PATCH v2 0/3] arm/arm64: KVM: Add support for page aging Marc Zyngier
2015-03-12 18:16 ` Marc Zyngier
2015-03-12 18:16 ` [PATCH v2 1/3] arm/arm64: KVM: Allow handle_hva_to_gpa to return a value Marc Zyngier
2015-03-12 18:16 ` Marc Zyngier
2015-03-12 18:16 ` [PATCH v2 2/3] arm/arm64: KVM: Implement Stage-2 page aging Marc Zyngier
2015-03-12 18:16 ` Marc Zyngier
2015-03-12 18:16 ` [PATCH v2 3/3] arm/arm64: KVM: Optimize handling of Access Flag faults Marc Zyngier
2015-03-12 18:16 ` Marc Zyngier
2015-03-12 21:40 ` Christoffer Dall [this message]
2015-03-12 21:40 ` [PATCH v2 0/3] arm/arm64: KVM: Add support for page aging Christoffer Dall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150312214034.GA3067@cbox \
--to=christoffer.dall@linaro.org \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=marc.zyngier@arm.com \
--cc=steve.capper@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.