From: Marcelo Tosatti <marc...@conectiva.com.br>
Subject: read-write mutexes
Date: 1999/09/23
Message-ID: <fa.kc6kl0v.vnqqr1@ifi.uio.no>#1/1
X-Deja-AN: 528736368
Original-Date: Thu, 23 Sep 1999 03:16:50 -0300 (EST)
Sender: owner-linux-ker...@vger.rutgers.edu
Original-Message-ID: <Pine.LNX.4.10.9909230311420.3595-100000@freak.conectiva>
To: linux-ker...@vger.rutgers.edu
X-Sender: marc...@freak.conectiva
X-Authentication-Warning: freak.conectiva: marcelo owned process doing -bs
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Orcpt: rfc822;linux-kernel-outgoing-dig
Organization: Internet mailing list
MIME-Version: 1.0
Newsgroups: fa.linux.kernel
X-Loop: majord...@vger.rutgers.edu

I've putted at http://bazar.conectiva.com.br/~marcelo/rwsem-2.3.18ac7.patch 
a patch which adds read-write mutexes to the kernel.
I've also modified kernel/sys.c uts_sem semaphore to be a rwsem structure
and use read/write_down read/write_up in the files which use it.
The patch is not very well tested so there may be serious bugs in the
code. I'd like to someone with a SMP machine to test it.

Comments/patches are very welcome.


   - Marcelo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/