[PATCH] Bumbling follow-on to previous "perfect" futex patch

From: Jamie Lokier (jamie_at_shareable.org)
Date: 09/30/03

  • Next message: Thomas Winkler: "Re: BugReport (test6): USB (ACPI), SWSUSP, E100"
    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/


  • Next message: Thomas Winkler: "Re: BugReport (test6): USB (ACPI), SWSUSP, E100"

    Relevant Pages