Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [Softirq] a76eadba0d: WARNING:at_net/mac80211/rx.c:#ieee80211_rx_napi[mac80211] | Date | Sat, 25 Jul 2020 01:31:37 +0200 |
| |
jun qian <qianjun.kernel@gmail.com> writes: > I have two questions that need to be discussed. > > 1. If the __do_sofrirq() is executed in the ksoftirqd, we may not need > to check the timeout in the loop. > 2. Both the invoke_softirq() and run_ksoftirqd() will execute > __do_sofirq, they all execute the same code, > when it is in the ksoftirqd, Do we need to wake up ksoftirqd in > the process context according to > max_restart and MAX_SOFTIRQ_TIME. In my opinion, If we use a flag > to distinguish where > __do_softirq() is called from, we can do what is most suitable > for __do_softirq based on this flag.
You answered your questions yourself :)
| |