Messages in this thread | | | Date | Wed, 19 Oct 2016 10:50:18 +0200 | From | Heiko Carstens <> | Subject | Re: [PATCH v3] s390/spinlock: Provide vcpu_is_preempted |
| |
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_is_preempted function by moving the > CIF_ENABLED_WAIT test into arch_vcpu_is_preempted. > > Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> > --- > arch/s390/include/asm/spinlock.h | 8 ++++++++ > arch/s390/kernel/smp.c | 9 +++++++-- > arch/s390/lib/spinlock.c | 25 ++++++++----------------- > 3 files changed, 23 insertions(+), 19 deletions(-)
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
| |