Silence compiler warning in arch/x86/kvm/emulate.c

2015-08-29 Thread Valdis Kletnieks
aruna.hewapathir...@gmail.com Tested-by: Aruna Hewapathirane aruna.hewapathir...@gmail.com Signed-off-by: Valdis Kletnieks valdis.kletni...@vt.edu --- a/arch/x86/kvm/emulate.c.dist 2015-08-11 14:10:05.366061993 -0400 +++ b/arch/x86/kvm/emulate.c2015-08-29 13:43:13.014163958 -0400 @@ -650,6 +650,7

Re: [PATCH 0/9] KVM: Make the instruction emulator aware of Nested Virtualization

2010-11-29 Thread Valdis . Kletnieks
(Sorry for late reply...) On Thu, 25 Nov 2010 17:23:13 +0100, Roedel, Joerg said: On Thu, Nov 25, 2010 at 10:17:53AM -0500, Avi Kivity wrote: On 11/25/2010 03:13 PM, Roedel, Joerg wrote: What about things like adding instructions and forgetting to add the corresponding svm.c code? Cannot

Re: [PATCH 0/9] KVM: Make the instruction emulator aware of Nested Virtualization

2010-11-29 Thread Valdis . Kletnieks
On Mon, 29 Nov 2010 19:32:12 +0100, Joerg Roedel said: On Mon, Nov 29, 2010 at 12:23:38PM -0500, valdis.kletni...@vt.edu wrote: (Sorry for late reply...) On Thu, 25 Nov 2010 17:23:13 +0100, Roedel, Joerg said: On Thu, Nov 25, 2010 at 10:17:53AM -0500, Avi Kivity wrote: On 11/25/2010

Re: [PATCH 0/4] Really lazy fpu

2010-06-13 Thread Valdis . Kletnieks
On Sun, 13 Jun 2010 18:03:43 +0300, Avi Kivity said: Currently fpu management is only lazy in one direction. When we switch into a task, we may avoid loading the fpu state in the hope that the task will never use it. If we guess right we save an fpu load/save cycle; if not, a Device not

Re: [PATCH] use unfair spinlock when running on hypervisor.

2010-06-01 Thread Valdis . Kletnieks
On Tue, 01 Jun 2010 19:52:28 +0300, Avi Kivity said: On 06/01/2010 07:38 PM, Andi Kleen wrote: Your new code would starve again, right? Try it on a NUMA system with unfair memory. We are running everything on NUMA (since all modern machines are now NUMA). At what scale do the issues

Re: [PATCH 3/4] add ksm kernel shared memory driver

2008-11-11 Thread Valdis . Kletnieks
On Tue, 11 Nov 2008 15:03:45 MST, Jonathan Corbet said: +#define PAGECMP_OFFSET 128 +#define PAGEHASH_SIZE (PAGECMP_OFFSET ? PAGECMP_OFFSET : PAGE_SIZE) +/* hash the page */ +static void page_hash(struct page *page, unsigned char *digest) So is this really saying that you only hash the