Re: [PATCH v2 0/4] implement vcpu preempted check

2016-07-11 Thread Juergen Gross
On 11/07/16 17:10, Waiman Long wrote: > On 07/06/2016 02:52 AM, Peter Zijlstra wrote: >> On Tue, Jun 28, 2016 at 10:43:07AM -0400, Pan Xinhui wrote: >>> change fomr v1: >>> a simplier definition of default vcpu_is_preempted >>> skip mahcine type check on ppc, and add config. remove

[PATCH] virtio: don't warn if we can't allocate indirect sglist

2016-07-11 Thread Mikulas Patocka
Don't print warning if memory allocation fails. The virtio driver can handle allocation failure (it falls back to direct sglist), so there is no functionality degradation. This warning was observed when swapping to virtio scsi device because there may be not enough free memory during swapping.

Re: [PATCH v2 0/4] implement vcpu preempted check

2016-07-11 Thread Waiman Long
On 07/06/2016 02:52 AM, Peter Zijlstra wrote: On Tue, Jun 28, 2016 at 10:43:07AM -0400, Pan Xinhui wrote: change fomr v1: a simplier definition of default vcpu_is_preempted skip mahcine type check on ppc, and add config. remove dedicated macro. add one patch to drop

[PATCH 1/1] balloon: check the number of available pages in leak balloon

2016-07-11 Thread Denis V. Lunev
From: Konstantin Neumoin The balloon has a special mechanism that is subscribed to the oom notification which leads to deflation for a fixed number of pages. The number is always fixed even when the balloon is fully deflated. But leak_balloon did not expect that the pages