Message ID | 20220530231512.9729-1-dave@stgolabs.net |
---|---|
Headers | show |
Series | scsi: Replace tasklets as BH | expand |
On 2022-05-30 16:15:02 [-0700], Davidlohr Bueso wrote: > and thus are more important than all tasks on the system. Furthermore > there are no guarantees it will run in irq context at all if ksoftirq > kicks in. They never run in IRQ context, they always run in softirq context. Even if ksoftirqd kicks in, the callbacks (tasklets) are invoked in softirq context. That is sort of preemptible but in tasklet's case it will run/ complete all callbacks before any kind of preemption can kick in. So there is the lack of preemption for many/ long running callbacks and the callbacks have no context/ owner which means there is no way of preferring one over the other. Sebastian
Thanks for the careful reviewing and feedback. I'll address them in a v2 as soon as I get a chance. Thanks, Davidlohr
On 2022-06-07 08:59:18 [-0700], Davidlohr Bueso wrote: > > Thanks for the careful reviewing and feedback. I'll address > them in a v2 as soon as I get a chance. I didn't get through the whole series as of now but I guess you can apply what I said so far also to the remaining part ;) The series actually reminding me that I have a be2iscsi patch hiding somewhere asking to get reposted… > Thanks, > Davidlohr Sebastian