mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
softirq: adjust comment placement
With commit cef21210fb ("rcu: don't process callbacks when holding
a rcu_read_lock()") the comment in process_pending_softirqs() about
not entering the scheduler should have been moved.
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
eb0bad81fc
commit
c72154e88c
1 file changed
+1
-1
@@ -56,6 +56,7 @@ static void __do_softirq(unsigned long ignore_mask)
|
||||
|
||||
void process_pending_softirqs(void)
|
||||
{
|
||||
/* Do not enter scheduler as it can preempt the calling context. */
|
||||
unsigned long ignore_mask = (1ul << SCHEDULE_SOFTIRQ) |
|
||||
(1ul << SCHED_SLAVE_SOFTIRQ);
|
||||
|
||||
@@ -64,7 +65,6 @@ void process_pending_softirqs(void)
|
||||
ignore_mask |= 1ul << RCU_SOFTIRQ;
|
||||
|
||||
ASSERT(!in_irq() && local_irq_is_enabled());
|
||||
/* Do not enter scheduler as it can preempt the calling context. */
|
||||
__do_softirq(ignore_mask);
|
||||
}
|
||||
|
||||
|
||||