lkml.org 
[lkml]   [2003]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Bumbling follow-on to previous "perfect" futex patch
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/
\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.026 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site