]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Futex update I: Trivial comment removal
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 6 Jun 2002 02:25:28 +0000 (19:25 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 6 Jun 2002 02:25:28 +0000 (19:25 -0700)
This comment refers to the original implementation. Obsolete.

kernel/futex.c

index 4541b2448e49156ff35c88e3aa0c68a4b1be6446..ed03e2b73787e9936db7e53231ba76f1b2911540 100644 (file)
 #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