mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Futex update I: Trivial comment removal
@ 2002-06-06  7:01 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2002-06-06  7:01 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, frankeh

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-06  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-06  7:01 [PATCH] Futex update I: Trivial comment removal Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®