linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* is it possible to liimit the softirq re entrance times
@ 2015-08-20 17:09 vichy
  2015-08-20 20:05 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: vichy @ 2015-08-20 17:09 UTC (permalink / raw)
  To: linux-arm-kernel

After I tracing softirq flow in ARM platform, I have some colusion like below:
1. softirq is running at the end of any irq context, when irq is eabled.
2. as long as any Hard irq happen, softirq can be interrupt and reentrant

My question are:
1. in __do_sofiq, there is a jiffies setting to make sure the whole
softirq will not took to long.
But in my case is there any many hard irq happen like below

                        trace_softirq_entry(vec_nr);    ------a
                        h->action(h);
                        trace_softirq_exit(vec_nr);      ---------b

from lttng, I see there 100 interrupt happen from entry to exit.

is there kernel config or module parameter to let me down grade the
hard irq count from 100  --> 80 or 90 and event can controlled me.
I don't mean I control the count of hard irq, but I found this softirq
is interrupt by 80 times.
then I will not enable_irq until I finished the job.

if no, isn't it possible to make starvation in above a and b?

really appreciate ur kind help,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-21  5:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-20 17:09 is it possible to liimit the softirq re entrance times vichy
2015-08-20 20:05 ` Russell King - ARM Linux
2015-08-21  5:27   ` vichy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).