[PATCH] KVM: cleanup kvm_get_dirty_log()
Using bitmap_empty() to see whether memslot->dirty_bitmap is empty Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- virt/kvm/kvm_main.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index bcd08b8..497ae14 100644 --- a/v... 17 Mar 2010 00:18
[PATCH v2] KVM MMU: check reserved bits only when CR4.PSE=1 or CR4.PAE=1
- The RSV bit is possibility set in error code when #PF occurred only if CR4.PSE=1 or CR4.PAE=1 - context->rsvd_bits_mask[1][0] is always 0 Changlog: Move this operation to reset_rsvds_bits_mask() address Avi Kivity's suggestion Signed-off-by: Xiao Guangrong <xiaoguangrong(a)cn.fujitsu.com> --- arch/x86... 17 Mar 2010 00:18
[PATCH] xfs: Fix integer overflow in fs/xfs/linux-2.6/xfs_ioctl*.c
The am_hreq.opcount field in the xfs_attrmulti_by_handle() interface is not bounded correctly. The opcount is used to determine the size of the buffer required. The size is bounded, but can overflow and so the size checks may not be sufficient to catch invalid opcounts. Fix it by catching opcount values that would ... 17 Mar 2010 00:18
[PATCH 2/3] kernel.h: fix wrong usage of __ratelimit()
__ratelimit() rerurn 1 means we can go ahead. Signed-off-by: Yong Zhang <yong.zhang(a)windriver.com> Cc: Andrew Morton <akpm(a)linux-foundation.org> Cc: Ingo Molnar <mingo(a)elte.hu> Cc: Joe Perches <joe(a)perches.com> --- include/linux/kernel.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --gi... 16 Mar 2010 23:13
[PATCH] Staging: comedi: fixes all space before tabs warnings in drivers/staging/comedi/comedi_fops.c This is patch that tends to fix all WARNING: no space before tab warnings in drivers/staging/comedi/comedi_fops.c Signed-off-by: Bas Langenberg <bas
From: Bas Langenberg <bas(a)Bas-Mint.(none)> --- drivers/staging/comedi/comedi_fops.c | 38 +++++++++++++++++----------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index aca9674..3d6b40e 100644 --- a/driver... 16 Mar 2010 23:13
[PATCH 0/3] ratelimit: patchset focus on return value of __ratelimit()
When try to use the new API pr_*_ratelimited(), I got the opposite outcome. After some checking, I find print_ratelimited() misunderstand the return value of __ratelimit(). So I fix it in this patchset and also annotate __ratelimit() for later user. I mark patch 3 with RFC because I'm afraid I misunderstand the i... 16 Mar 2010 23:13
[RFC PATCH 3/3] ratelimit: Fix return value when fail to get lock
From log of commit edaac8e3167501cda336231d00611bf59c164346, It seems that we want to suppress the callback when trylock fails. Signed-off-by: Yong Zhang <yong.zhang(a)windriver.com> Cc: Ingo Molnar <mingo(a)elte.hu> Cc: Christian Borntraeger <borntraeger(a)de.ibm.com> --- lib/ratelimit.c | 2 +- 1 files change... 16 Mar 2010 23:13
Export unusable free space index via /proc/unusable_index
> Unusable free space index is a measure of external fragmentation that takes the allocation size into account. For the most part, the huge page size will be the size of interest but not necessarily so it is exported on a per-order and per-zone basis via /proc/unusable_index. The index is a value betwee... 16 Mar 2010 23:13
host panic based on kernel 2.6.34-RC1
From: "Hao, Xudong" <xudong.hao(a)intel.com> Date: Wed, 17 Mar 2010 10:14:50 +0800 I installed a latest kvm based on kernel 2.6.34-rc1, after I load kvm kvm_i= ntel module, and start /etc/init.d/kvm, a few minutes later, the system wil= l panic. The panic is easy to reproduce when I use tcpdump in host. Ho... 16 Mar 2010 23:13
mm: Share the anon_vma ref counts between KSM and page migration
> For clarity of review, KSM and page migration have separate refcounts on the anon_vma. While clear, this is a waste of memory. This patch gets KSM and page migration to share their toys in a spirit of harmony. Signed-off-by: Mel Gorman <mel(a)csn.ul.ie> Reviewed-by: Minchan Kim <minchan.kim(a)gmail.com> ... 16 Mar 2010 23:13