cobalt/sched: call irq_pipeline_send_remote to send TIMER_OOB_IPI
PATCH 1/4 cobalt/sched: call irq_pipeline_send_remote to send TIMER_OOB_IPI
call call irq_pipeline_send_remote to send TIMER_OOB_IPI instead of ipipe_send_ipi
Signed-off-by hongzha1 <[email protected]>
kernel/cobalt/sched.c +2 -0
@@ -945,6 +945,8 @@ static inline int test_resched(struct xnsched *sched)smp_mb ();#warning TODO//ipipe_send_ipi(IPIPE_RESCHEDULE_IPI, sched->resched); +irq_pipeline_send_remote (TIMER_OOB_IPI , + &sched->resched); cpumask_clear(&sched->resched); }#endif
Signature · 1 line
2.17.1
Quoted 10 lines · On 20.10.20 09:14, hongzha1 wrote:
call call
irq_pipeline_send_remoteto sendTIMER_OOB_IPIinstead ofipipe_send_ipiSigned-off-by hongzha1 <[email protected]>kernel/cobalt/sched.c +0
-0
kernel/cobalt/sched.c static inline int test_resched(struct xnsched *sched) · line 949
Quoted 5 lines
kernel/cobalt/sched.c +2
-0@@ -945,6 +945,8 @@ static inline int test_resched(struct xnsched *sched)smp_mb ();#warning TODO//ipipe_send_ipi(IPIPE_RESCHEDULE_IPI, sched->resched); +irq_pipeline_send_remote (TIMER_OOB_IPI , + &sched->resched);
Same here: When done, remove the todo.
kernel/cobalt/sched.c static inline int test_resched(struct xnsched *sched) · line 952
Quoted 4 lines
kernel/cobalt/sched.c +0
-0cpumask_clear(&sched->resched); }#endif
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux