Re: [PATCH v4 5/5] x86, kvm: support vcpu preempted check

2016-10-19 Thread Pan Xinhui
在 2016/10/20 01:24, Radim Krčmář 写道: 2016-10-19 06:20-0400, Pan Xinhui: This is to fix some lock holder preemption issues. Some other locks implementation do a spin loop before acquiring the lock itself. Currently kernel has an interface of bool vcpu_is_preempted(int cpu). It takes the cpu as p

Re: [PATCH v4 5/5] x86, kvm: support vcpu preempted check

2016-10-19 Thread Radim Krčmář
2016-10-19 06:20-0400, Pan Xinhui: > This is to fix some lock holder preemption issues. Some other locks > implementation do a spin loop before acquiring the lock itself. > Currently kernel has an interface of bool vcpu_is_preempted(int cpu). It > takes the cpu as parameter and return true if the c

Re: [PATCH v4 0/5] implement vcpu preempted check

2016-10-19 Thread Pan Xinhui
在 2016/10/19 23:58, Juergen Gross 写道: On 19/10/16 12:20, Pan Xinhui wrote: change from v3: add x86 vcpu preempted check patch change from v2: no code change, fix typos, update some comments change from v1: a simplier definition of default vcpu_is_preempted skip m

Call for Papers - WorldCIST'17 Workshops - Porto Santo Island

2016-10-19 Thread ML
Please disseminate by your contacts. Thank you! *Best papers published in SCI/SSCI-indexed journals --- WorldCIST'17 - 5th World Conference on Information Systems and Technologies Porto Santo Island, Madeira, Portugal 11th-13

Re: [PATCH v4 0/5] implement vcpu preempted check

2016-10-19 Thread Pan Xinhui
在 2016/10/19 14:47, Christian Borntraeger 写道: On 10/19/2016 12:20 PM, Pan Xinhui wrote: change from v3: add x86 vcpu preempted check patch If you want you could add the s390 patch that I provided for your last version. I also gave my Acked-by for all previous patches. hi, Christian

Re: [PATCH v4 0/5] implement vcpu preempted check

2016-10-19 Thread Juergen Gross
On 19/10/16 12:20, Pan Xinhui wrote: > change from v3: > add x86 vcpu preempted check patch > change from v2: > no code change, fix typos, update some comments > change from v1: > a simplier definition of default vcpu_is_preempted > skip mahcine type check on ppc, and add co

Re: [PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Aaron Conole
Jarod Wilson writes: > hyperv_net: > - set min/max_mtu > > virtio_net: > - set min/max_mtu > - remove virtnet_change_mtu > > vmxnet3: > - set min/max_mtu > > CC: net...@vger.kernel.org > CC: virtualization@lists.linux-foundation.org > CC: "K. Y. Srinivasan" > CC: Haiyang Zhang > CC: "Michael S.

Re: [PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Jarod Wilson
On Wed, Oct 19, 2016 at 04:59:46PM +0300, Michael S. Tsirkin wrote: > On Tue, Oct 18, 2016 at 10:33:32PM -0400, Jarod Wilson wrote: > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > > index fad84f3..4885a42 100644 > > --- a/drivers/net/virtio_net.c > > +++ b/drivers/net/virtio_

Re: [PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Jarod Wilson
On Wed, Oct 19, 2016 at 05:03:43PM +0300, Michael S. Tsirkin wrote: > On Wed, Oct 19, 2016 at 04:59:46PM +0300, Michael S. Tsirkin wrote: > > On Tue, Oct 18, 2016 at 10:33:32PM -0400, Jarod Wilson wrote: > > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > > > index fad84f3..488

Re: [PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Jarod Wilson
On Wed, Oct 19, 2016 at 02:07:47PM +, Haiyang Zhang wrote: > > > > -Original Message- > > From: Jarod Wilson [mailto:ja...@redhat.com] > > Sent: Tuesday, October 18, 2016 10:34 PM > > To: linux-ker...@vger.kernel.org > > Cc: Jarod Wilson ; net...@vger.kernel.org; > > virtualization@li

Re: [PATCH v2 34/37] docs: fix locations of several documents that got moved

2016-10-19 Thread Mauro Carvalho Chehab
Em Wed, 19 Oct 2016 12:34:42 +0200 Pavel Machek escreveu: > Hi! > > > > --- a/Documentation/ABI/testing/sysfs-kernel-slab > > +++ b/Documentation/ABI/testing/sysfs-kernel-slab > > @@ -347,7 +347,7 @@ Description: > > because of fragmentation, SLUB will retry with the minimum order >

[PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Jarod Wilson
hyperv_net: - set min/max_mtu virtio_net: - set min/max_mtu - remove virtnet_change_mtu vmxnet3: - set min/max_mtu CC: net...@vger.kernel.org CC: virtualization@lists.linux-foundation.org CC: "K. Y. Srinivasan" CC: Haiyang Zhang CC: "Michael S. Tsirkin" CC: Shrikrishna Khare CC: "VMware, Inc

[PATCH] virtio: console: Unlock vqs while freeing buffers

2016-10-19 Thread Matt Redfearn
Commit c6017e793b93 ("virtio: console: add locks around buffer removal in port unplug path") added locking around the freeing of buffers in the vq. However, when free_buf() is called with can_sleep = true and rproc is enabled, it calls dma_free_coherent() directly, requiring interrupts to be enable

Re: [PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Michael S. Tsirkin
On Wed, Oct 19, 2016 at 04:59:46PM +0300, Michael S. Tsirkin wrote: > On Tue, Oct 18, 2016 at 10:33:32PM -0400, Jarod Wilson wrote: > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > > index fad84f3..4885a42 100644 > > --- a/drivers/net/virtio_net.c > > +++ b/drivers/net/virtio_

RE: [PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Haiyang Zhang via Virtualization
> -Original Message- > From: Jarod Wilson [mailto:ja...@redhat.com] > Sent: Tuesday, October 18, 2016 10:34 PM > To: linux-ker...@vger.kernel.org > Cc: Jarod Wilson ; net...@vger.kernel.org; > virtualization@lists.linux-foundation.org; KY Srinivasan > ; Haiyang Zhang ; Michael S. > Tsirki

Re: [PATCH net-next 5/6] net: use core MTU range checking in virt drivers

2016-10-19 Thread Michael S. Tsirkin
On Tue, Oct 18, 2016 at 10:33:32PM -0400, Jarod Wilson wrote: > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c > index fad84f3..4885a42 100644 > --- a/drivers/net/virtio_net.c > +++ b/drivers/net/virtio_net.c > @@ -1419,17 +1419,6 @@ static const struct ethtool_ops virtnet_ethtool

Re: [PATCH v2 34/37] docs: fix locations of several documents that got moved

2016-10-19 Thread Pavel Machek
Hi! > --- a/Documentation/ABI/testing/sysfs-kernel-slab > +++ b/Documentation/ABI/testing/sysfs-kernel-slab > @@ -347,7 +347,7 @@ Description: > because of fragmentation, SLUB will retry with the minimum order > possible depending on its characteristics. >

Re: [PATCH v3] s390/spinlock: Provide vcpu_is_preempted

2016-10-19 Thread Heiko Carstens
On Wed, Oct 19, 2016 at 10:42:04AM +0200, Christian Borntraeger wrote: > this implements the s390 backend for commit > "kernel/sched: introduce vcpu preempted check interface" > by reworking the existing smp_vcpu_scheduled into > arch_vcpu_is_preempted. We can then also get rid of the > local cpu_i

[PATCH v3] s390/spinlock: Provide vcpu_is_preempted

2016-10-19 Thread Christian Borntraeger
this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted check interface" by reworking the existing smp_vcpu_scheduled into arch_vcpu_is_preempted. We can then also get rid of the local cpu_is_preempted function by moving the CIF_ENABLED_WAIT test into arch_vcpu_is_preemp

Re: [PATCH v2 1/1] s390/spinlock: Provide vcpu_is_preempted

2016-10-19 Thread Heiko Carstens
On Wed, Oct 19, 2016 at 08:56:36AM +0200, Christian Borntraeger wrote: > On 09/29/2016 05:51 PM, Christian Borntraeger wrote: > > this implements the s390 backend for commit > > "kernel/sched: introduce vcpu preempted check interface" > > by reworking the existing smp_vcpu_scheduled into > > arch_v