Re: [patch] "big IRQ lock" removal, 2.5.27-A9

From: Robert Love (rml@tech9.net)
Date: Sun Jul 21 2002 - 20:00:15 EST


On Sun, 2002-07-21 at 17:31, Ingo Molnar wrote:

> i've done a minor comment update in softirq.c, plus i've written a
> cli-sti-removal.txt guide to help driver writers do the transition:

Nice document.

One more doc correction while we are at it...

        Robert Love

diff -urN linux-2.5.27/Documentation/preempt-locking.txt linux/Documentation/preempt-locking.txt
--- linux-2.5.27/Documentation/preempt-locking.txt Sat Jul 20 12:11:06 2002
+++ linux/Documentation/preempt-locking.txt Sun Jul 21 17:59:13 2002
@@ -70,7 +70,8 @@
 preempt_enable() decrement the preempt counter
 preempt_disable() increment the preempt counter
 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
 n-times in a code path, and preemption will not be reenabled until the n-th

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:36 EST