Re: [patch 11/12] softirq: Allow inlining do_softirq_own_stack()

2021-02-09 Thread Thomas Gleixner
Lai, On Fri, Feb 05 2021 at 12:38, Thomas Gleixner wrote: > On Fri, Feb 05 2021 at 18:14, Lai Jiangshan wrote: >> On Fri, Feb 5, 2021 at 10:04 AM Thomas Gleixner wrote: >>> static inline void do_softirq_own_stack(void) >>> { >> >> Hello >> >> This patch and the next patch have three "#if[n]def"

Re: [patch 11/12] softirq: Allow inlining do_softirq_own_stack()

2021-02-05 Thread Thomas Gleixner
On Fri, Feb 05 2021 at 18:14, Lai Jiangshan wrote: > On Fri, Feb 5, 2021 at 10:04 AM Thomas Gleixner wrote: >> static inline void do_softirq_own_stack(void) >> { > > Hello > > This patch and the next patch have three "#if[n]def" with > __ARCH_HAS_DO_SOFTIRQ_INLINE and this one is nested in > __A

Re: [patch 11/12] softirq: Allow inlining do_softirq_own_stack()

2021-02-05 Thread Lai Jiangshan
On Fri, Feb 5, 2021 at 10:04 AM Thomas Gleixner wrote: > > The function to switch to the irq stack on x86 is now minimal and there is > only a single caller. Allow the stack switch to be inlined. > > Signed-off-by: Thomas Gleixner > --- > include/linux/interrupt.h |2 ++ > kernel/softirq.c

[patch 11/12] softirq: Allow inlining do_softirq_own_stack()

2021-02-04 Thread Thomas Gleixner
The function to switch to the irq stack on x86 is now minimal and there is only a single caller. Allow the stack switch to be inlined. Signed-off-by: Thomas Gleixner --- include/linux/interrupt.h |2 ++ kernel/softirq.c |4 2 files changed, 6 insertions(+) --- a/include/li