[PATCH] Futex update I: Trivial comment removal

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Thu Jun 06 2002 - 02:01:14 EST


Name: Obsolete comment replacement
Author: Rusty Russell
Status: Trivial

D: This comment refers to the original implementation.

diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/current-dontdiff --minimal linux-2.5.20/kernel/futex.c working-2.5.20-afutex/kernel/futex.c
--- linux-2.5.20/kernel/futex.c Sat May 25 14:35:00 2002
+++ working-2.5.20-afutex/kernel/futex.c Wed Jun 5 18:42:17 2002
@@ -35,12 +35,7 @@
 #include <linux/time.h>
 #include <asm/uaccess.h>
 
-/* These mutexes are a very simple counter: the winner is the one who
- decrements from 1 to 0. The counter starts at 1 when the lock is
- free. A value other than 0 or 1 means someone may be sleeping.
- This is simple enough to work on all architectures, but has the
- problem that if we never "up" the semaphore it could eventually
- wrap around. */
+/* Simple "sleep if unchanged" interface. */
 
 /* FIXME: This may be way too small. --RR */
 #define FUTEX_HASHBITS 6
 

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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 : Fri Jun 07 2002 - 22:00:27 EST