summaryrefslogtreecommitdiff
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2002-06-05 19:25:28 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-05 19:25:28 -0700
commit4ccfe3c58319acb4f865bbef435013ef3af5ee1f (patch)
tree2bb2f1637542af07d85490656d0494af3d3e1884 /kernel/futex.c
parent1e8f2d8cf89006edec3fba65d984ac81ce892a5a (diff)
[PATCH] Futex update I: Trivial comment removal
This comment refers to the original implementation. Obsolete.
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index 4541b2448e49..ed03e2b73787 100644
--- a/kernel/futex.c
+++ b/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