Re: Can the process sleep in the softirq handler?
Yes, when the kernel is in softirq, it has already been disabled.
And seems that the schedule() in softirq is not allowed.
.
Relevant Pages
- Re: what is the state of current after an mm_fault occurs?
... > You mean in some pagefault place we do schedule()? ... It used to be in earlier kernel at least in 2.5.45 version .It is ... Prev by Date: ... (Linux-Kernel) - [patch 3/3] Enable setting of IRQ-thread priorities from kernel cmdline. (repost:CC to LKML)
... realtime systems and therefor these priorities has to be tuneable ... kernel to adjust this to the needs of the user. ... Priorities are only set at creation time of the softirq. ... * A map for the priorities can be given on the kernel commandline. ... (Linux-Kernel) - Re: route cache DoS testing and softirqs
... > softirq handler completion as a quiescent state. ... > help with the route cache overflow problem atleast. ... against softirq context (this should work fine against regular kernel ... tasklets in every cpu, that may need IPIs or some nasty locking. ... (Linux-Kernel) - Re: RFC: THE OFFLINE SCHEDULER
... kernel that CPUx can switch off the scheduler tick when only one ... If you have pinned an interrupt to that CPU then you need to process ... the softirq for it as well. ... (Linux-Kernel) - Re: rt20 patch question
... disable_irq can call synchronize_irq which can schedule. ... And thus you get this bug since we are in a softirq. ... When there are threaded interrupts, ... have to make HARDIRQ threading dependent on softirq threading, ... (Linux-Kernel) |
|