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 > >

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 > >

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

2016-10-19 Thread Christian Borntraeger
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_vcpu_is_preempted. We can then also get rid of the > local cpu_is_preempted

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

2016-10-19 Thread Christian Borntraeger
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_vcpu_is_preempted. We can then also get rid of the > local cpu_is_preempted

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

2016-10-04 Thread Christian Borntraeger
On 09/30/2016 08:35 AM, Pan Xinhui wrote: > > > 在 2016/9/30 13:52, Boqun Feng 写道: >> On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: >>> >>> >>> 在 2016/9/29 23:51, Christian Borntraeger 写道: this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted

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

2016-10-04 Thread Christian Borntraeger
On 09/30/2016 08:35 AM, Pan Xinhui wrote: > > > 在 2016/9/30 13:52, Boqun Feng 写道: >> On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: >>> >>> >>> 在 2016/9/29 23:51, Christian Borntraeger 写道: this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted

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

2016-09-30 Thread Christian Borntraeger
On 09/30/2016 06:49 AM, Pan Xinhui wrote: > > but I can't help thinking that if this is a!SMP system, maybe we could only > #ifndef CONFIG_SMP > static inline bool arch_vcpu_is_preempted(int cpu) { return false; } > #else Yes, I will add that to v3. Thanks for spotting.

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

2016-09-30 Thread Christian Borntraeger
On 09/30/2016 06:49 AM, Pan Xinhui wrote: > > but I can't help thinking that if this is a!SMP system, maybe we could only > #ifndef CONFIG_SMP > static inline bool arch_vcpu_is_preempted(int cpu) { return false; } > #else Yes, I will add that to v3. Thanks for spotting.

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

2016-09-30 Thread Pan Xinhui
在 2016/9/30 13:52, Boqun Feng 写道: On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: 在 2016/9/29 23:51, Christian Borntraeger 写道: this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted check interface" by reworking the existing smp_vcpu_scheduled into

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

2016-09-30 Thread Pan Xinhui
在 2016/9/30 13:52, Boqun Feng 写道: On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: 在 2016/9/29 23:51, Christian Borntraeger 写道: this implements the s390 backend for commit "kernel/sched: introduce vcpu preempted check interface" by reworking the existing smp_vcpu_scheduled into

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

2016-09-29 Thread Boqun Feng
On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: > > > 在 2016/9/29 23:51, Christian Borntraeger 写道: > > this implements the s390 backend for commit > > "kernel/sched: introduce vcpu preempted check interface" > > by reworking the existing smp_vcpu_scheduled into > >

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

2016-09-29 Thread Boqun Feng
On Fri, Sep 30, 2016 at 12:49:52PM +0800, Pan Xinhui wrote: > > > 在 2016/9/29 23:51, Christian Borntraeger 写道: > > this implements the s390 backend for commit > > "kernel/sched: introduce vcpu preempted check interface" > > by reworking the existing smp_vcpu_scheduled into > >

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

2016-09-29 Thread Pan Xinhui
在 2016/9/29 23:51, 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

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

2016-09-29 Thread Pan Xinhui
在 2016/9/29 23:51, 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