Fwd: is it possible to liimit the softirq re entrance times

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Aug 20 13:36:36 EDT 2015


On Fri, 21 Aug 2015 01:12:10 +0800, vichy said:
>
> if no, isn't it possible to make starvation in above a and b?

Operating systems have to make design choices.

You run with IRQs disabled for too long, you can starve other IRQs waiting
for service.

You run with them mostly enabled, the one handler can get starved by a
screaming interrupt (or a large number of devices all generating interrupts).

Choosing wisely is required - some devices are low-speed with large buffers,
so don't care if it takes a while to service them.  Meanwhile, others are
extremely latency-sensitive.  So in general, each driver gets designed to
fit the device's tolerance for delay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150820/39191d26/attachment.bin 


More information about the Kernelnewbies mailing list