[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <16559.1254747516@redhat.com>
Date: Mon, 05 Oct 2009 13:58:36 +0100
From: David Howells <dhowells@...hat.com>
To: Amerigo Wang <amwang@...hat.com>
Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org,
Brian Behlendorf <behlendorf1@...l.gov>,
Ben Woodard <bwoodard@...l.gov>,
Stable Team <stable@...nel.org>, akpm@...ux-foundation.org
Subject: Re: [Patch] rwsem: fix rwsem_is_locked() bug
Amerigo Wang <amwang@...hat.com> wrote:
> FYI, this seems wrong, probably even worse than what it is now.
> I tried this change, it breaks portmap.
Sorry, my mistake. The following:
> > - woken = 0;
> > + woken = ++sem->activity;
should have been:
- woken = 0;
+ woken = sem->activity++;
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists