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.

Attachment: pgphtxDoR5Np_.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to