[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C78FA00.8090606@cn.fujitsu.com>
Date: Sat, 28 Aug 2010 19:58:56 +0800
From: Xiao Guangrong <xiaoguangrong@...fujitsu.com>
To: Avi Kivity <avi@...hat.com>
CC: Marcelo Tosatti <mtosatti@...hat.com>,
LKML <linux-kernel@...r.kernel.org>, KVM <kvm@...r.kernel.org>
Subject: [PATCH 0/4] KVM: MMU: mmu audit code improved
The audit can help us to detect the mmu bugs as early as possible, it's also
can help us to fix them.
It's so useful but the linux distribution is imposable to use it since:
- it need enable it by define "AUDIT" macro and compile it
- the audit code is very high overload, it lets the guest mostly hung
So, this patchset supports to enable/disable it dynamically, it's very low
overhead if disable it, and it lowers the audit frequency to assure the guest
running.
After this patchset, we can enable it by:
mount -t debugfs none debugfs
echo 1 > debugfs/kvm/mmu-debug
disable it by:
echo 0 > debugfs/kvm/mmu-debug
default, the audit is disabled
[PATCH 1/4] KVM: MMU: support disable/enable mmu audit dynamically
[PATCH 2/4] KVM: MMU: improve active sp audit
[PATCH 3/4] KVM: MMU: improve spte audit
[PATCH 4/4] KVM: MMU: lower the aduit frequency
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists