Skip to contentSkip to conversation

Futex update I: Trivial comment removal

PATCH New Rusty Russell 1 participant 1 message Jun 6, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Futex update I: Trivial comment removal

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

D: This comment refers to the original implementation.

kernel/futex.c +1 -6
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
@@ -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.