Displaying 2 results from an estimated 2 matches for "definitaion".
Did you mean:
definiation
2016 Oct 04
0
[PATCH v2 1/1] s390/spinlock: Provide vcpu_is_preempted
...t; #ifndef CONFIG_SMP
>>> static inline bool arch_vcpu_is_preempted(int cpu) { return false; }
>>> #else
>>
>> Why do we need a vcpu_is_preempted() implementation for UP? Where will
>> you use it?
>>
> yep, I also wonder that :)
>
> But there is a definitaion of smp_vcpu_scheduled() for !SMP kernel.
> So I am a little worried that some code has included this spinlock.h for UP kernel also.
>
> Hi, Christian
> Could you help confirms that your patch works on UP? :)
My patch as is seems to work fine for !SMP. So it looks like the extra de...
2016 Oct 04
0
[PATCH v2 1/1] s390/spinlock: Provide vcpu_is_preempted
...t; #ifndef CONFIG_SMP
>>> static inline bool arch_vcpu_is_preempted(int cpu) { return false; }
>>> #else
>>
>> Why do we need a vcpu_is_preempted() implementation for UP? Where will
>> you use it?
>>
> yep, I also wonder that :)
>
> But there is a definitaion of smp_vcpu_scheduled() for !SMP kernel.
> So I am a little worried that some code has included this spinlock.h for UP kernel also.
>
> Hi, Christian
> Could you help confirms that your patch works on UP? :)
My patch as is seems to work fine for !SMP. So it looks like the extra de...