[PATCH] Bumbling follow-on to previous "perfect" futex patch
From: Jamie Lokier (jamie_at_shareable.org)
Date: 09/30/03
- Previous message: Helge Hafting: "Re: -mregparm=3 (was Re: [PATCH] i386 do_machine_check() is redundant."
- In reply to: Jamie Lokier: "[PATCH] Futex waiters take an mm or inode reference"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Sep 2003 09:22:13 +0100 To: torvalds@osdl.org
Patch: futex_refs2-2.6.0-test6
Please apply this on top of the previous patch, titled "Futex waiters
take an mm or inode reference".
Thanks,
-- Jamie
--- dual-2.6.0-test6/kernel/futex.c.before 2003-09-30 06:43:17.000000000 +0100
+++ dual-2.6.0-test6/kernel/futex.c 2003-09-30 09:12:13.457796502 +0100
@@ -444,6 +444,8 @@
if (unlikely(list_empty(&q.list))) {
/* We were woken already. */
spin_unlock(&bh->lock);
+ /* Equivalent to calling unqueue_me() here, but faster. */
+ drop_key_refs(&q.key);
return 0;
}
-
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/
- Previous message: Helge Hafting: "Re: -mregparm=3 (was Re: [PATCH] i386 do_machine_check() is redundant."
- In reply to: Jamie Lokier: "[PATCH] Futex waiters take an mm or inode reference"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|