User: Password:
|
|
Subscribe / Log in / New account

Eliminating rwlocks and IRQF_DISABLED

Eliminating rwlocks and IRQF_DISABLED

Posted Dec 5, 2009 23:51 UTC (Sat) by smipi1 (subscriber, #57041)
In reply to: Eliminating rwlocks and IRQF_DISABLED by naptastic
Parent article: Eliminating rwlocks and IRQF_DISABLED

Provided interrupt handlers do nothing more than the absolute minimum in
interrupt context, this approach will not adversely affect latencies.

Allowing interrupt handlers to be interrupted actually is far worse: It
introduces context switching overhead and screws up overall predictability.

If all interrupt handlers simply feed threads (that actually do the
associated work) without interruption, latencies can be tuned by design and
not by accident. Balancing throughput and latency simply becomes a question
of educating your scheduler.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds