[PATCH] [mm] trivial fixes to long lines and typo in comment

2014-11-29 Thread Zhihui Zhang
Well, the subject line says it all. Signed-off-by: Zhihui Zhang --- include/linux/mmzone.h | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index ffe66e3..cb668b7 100644 --- a/include/linux/mmzone.h +++ b

[PATCH] Check use I/O bitmap first before unconditional I/O exit

2013-12-30 Thread Zhihui Zhang
Signed-off-by: Zhihui Zhang --- arch/x86/kvm/vmx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index b2fe1c2..44d4f829 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -6460,11 +6460,11 @@ static bool

[PATCH] Check use I/O bitmap first before unconditional I/O exit

2013-12-30 Thread Zhihui Zhang
is patch was improved by suggestion from Jan Kiszka. Signed-off-by: Zhihui Zhang --- arch/x86/kvm/vmx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index b2fe1c2..45617db 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c

[PATCH] Move translate_gpa() initialization for the nested context into init_kvm_nested_mmu()

2013-12-30 Thread Zhihui Zhang
This is the right place to set the function pointer. In addition, change function name from translate_nested_gpa() to translate_gpa_nested() to match the naming convention of other functions (e.g., paging64_gva_to_gpa_nested()). Signed-off-by: Zhihui Zhang --- arch/x86/include/asm/kvm_host.h