Re: [Patch] rwsem: fix rwsem_is_locked() bug

From: David Howells
Date: Mon Oct 05 2009 - 09:00:55 EST


Amerigo Wang <amwang@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/