KVM MMU: optimize/cleanup for marking parent unsync
On 04/12/2010 11:02 AM, Xiao Guangrong wrote: - 'vcpu' is not used while mark parent unsync, so remove it - if it has alread marked unsync, no need to walk it's parent Please separate these two changes. The optimization looks good. Perhaps it can be done even nicer using mutually recursive func... 14 Apr 2010 13:19
KVM MMU: fix kvm_mmu_zap_page() and its calling path
On 04/12/2010 11:01 AM, Xiao Guangrong wrote: - calculate zapped page number properly in mmu_zap_unsync_children() - calculate freeed page number properly kvm_mmu_change_mmu_pages() - restart list walking if have children page zapped Signed-off-by: Xiao Guangrong<xiaoguangrong(a)cn.fujitsu.com> --- ... 14 Apr 2010 13:19
frv: remove "struct file *" argument from sysctl ->proc_handler
On Fri, Apr 09, Alexey Dobriyan wrote: On Fri, Apr 9, 2010 at 5:00 PM, Jan Blunck <jblunck(a)suse.de> wrote: Seems that Alexey Dobriyan missed this usage of the file argument when removing it from ->proc_handler in commit 8d65af789f3e2cf4cfbdbf71a0f7a61ebcd41d38. It wasn't missed, it was deliberatel... 12 Apr 2010 04:50
[PATCH 3/6] KVM MMU: optimize/cleanup for marking parent unsync
- 'vcpu' is not used while mark parent unsync, so remove it - if it has alread marked unsync, no need to walk it's parent Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- arch/x86/kvm/mmu.c | 69 +++++++++++++++++---------------------------------- 1 files changed, 23 insertions(+), 46 deletion... 12 Apr 2010 04:50
[PATCH 4/6] KVM MMU: optimize for writing cr4
Usually, OS changes CR4.PGE bit to flush all global page, under this case, no need reset mmu and just flush tlb Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- arch/x86/kvm/x86.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm... 12 Apr 2010 04:50
x86: Disable 4MB page tables for Atom, work around errata AAE44
Colin King <colin.king(a)canonical.com> writes: +static void __init check_atom(void) +{ + + /* + * Disable 4MB page tables to work around Intel errata AAE44 for + * Atom. We cannot guarantee stopping undefined processor behaviour + * when two pageing structure translations differ with resp... 12 Apr 2010 04:50
[PATCH 1/6] KVM MMU: remove unused struct
Remove 'struct kvm_unsync_walk' since it's not used now Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- arch/x86/kvm/mmu.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index b44380b..a23ca75 100644 --- a/arch/x86/kvm/mmu... 12 Apr 2010 04:50
[PATCH 2/6] KVM MMU: fix kvm_mmu_zap_page() and its calling path
- calculate zapped page number properly in mmu_zap_unsync_children() - calculate freeed page number properly kvm_mmu_change_mmu_pages() - restart list walking if have children page zapped Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- arch/x86/kvm/mmu.c | 7 ++++--- 1 files changed, 4 inse... 12 Apr 2010 04:50
[PATCH]BUG FIX: hwmon applesmc.c add iMac9, 1 and MacBookPro2, 2 to fix bug 14429
Hi Justin, On Sun, 11 Apr 2010 14:43:22 -0700, Justin P. Mattock wrote: This patch adds the iMac9,1 and the MacBookPro2,2 temperature sensors to hwmon applesmc.c to fix bug entry: https://bugzilla.kernel.org/show_bug.cgi?id=14429 Nicely filled under component IA64, no surprise I didn't see it. I've jus... 12 Apr 2010 10:17
[PATCH] max732x: Correct nr_port checking off by one error
Setup both client_group_a and client_group_b if nr_port > 8 (not including nr_port==8). Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --- drivers/gpio/max732x.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/max732x.c b/drivers/gpio/max732x.c index f786824..51b02c6 ... 12 Apr 2010 03:45