Rev 131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 131 | Rev 133 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | <section> |
70 | <section> |
71 | <title>Disabling Preemption</title> |
71 | <title>Disabling Preemption</title> |
72 | 72 | ||
73 | <para>It might be desirable for a device driver to temporarily disable |
73 | <para>It might be desirable for a device driver to temporarily disable |
74 | preemption. Tasks that can do this are required to have the |
74 | preemption. Tasks that can do this are required to have the |
75 | CAP_PREEMPT_CONTROL capability. Preemption could be theoretically disabled |
75 | <constant>CAP_PREEMPT_CONTROL</constant> capability. Preemption could be theoretically disabled |
76 | by disabling interrupts on the current processor, but disabling preemption |
76 | by disabling interrupts on the current processor, but disabling preemption |
77 | is more lightweight as interrupt processing remains enabled.</para> |
77 | is more lightweight as interrupt processing remains enabled.</para> |
78 | </section> |
78 | </section> |
79 | </chapter> |
79 | </chapter> |
80 | 80 |