Commit 30034e56 authored by Robert Love's avatar Robert Love Committed by Linus Torvalds

[PATCH] Re: "big IRQ lock" removal docs

One more doc correction while we are at it...
parent ee816b81
...@@ -70,7 +70,8 @@ duration of the critical region. ...@@ -70,7 +70,8 @@ duration of the critical region.
preempt_enable() decrement the preempt counter preempt_enable() decrement the preempt counter
preempt_disable() increment the preempt counter preempt_disable() increment the preempt counter
preempt_enable_no_resched() decrement, but do not immediately preempt preempt_enable_no_resched() decrement, but do not immediately preempt
preempt_get_count() return the preempt counter preempt_check_resched() if needed, reschedule
preempt_count() return the preempt counter
The functions are nestable. In other words, you can call preempt_disable The functions are nestable. In other words, you can call preempt_disable
n-times in a code path, and preemption will not be reenabled until the n-th n-times in a code path, and preemption will not be reenabled until the n-th
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment