Re: [PATCH] 2.4.18-pre9, trylock for read/write semaphores

From: Kendrick M. Smith (kmsmith@umich.edu)
Date: Thu Feb 21 2002 - 18:02:47 EST


On Thu, 21 Feb 2002, Brian J. Watson wrote:

> "Kendrick M. Smith" wrote:
> > I just returned from vacation and saw this thread. I also need trylock()
> > routines for read-write semaphores for NFS version 4, but you're way ahead
> > of me: I hadn't even started to implement them yet, and have been working
> > around the deficiency. So I would really like to see some variant of this
> > patch go into the 2.5.x series eventually. Anything I can do to help out?
>
>
> Can you test it on 2.5? It applies cleanly and builds with 2.5.3, but I
> was having trouble booting the 2.5 kernel on RedHat 7.2. Not needing to
> work on 2.5 just yet, I gave up rather quickly and just tested on 2.4.
>
> Anyway, I can send you my test patch and a brief description of what I
> looked for to make sure it was working on 2.4.

I have the patch from your original post and will give it a try with
2.5. In that post, you also mentioned having some sort of testsuite
which would place the semaphore under heavy contention, while also
testing basic semantics of the semaphore. If you send this along, I
will give it a try as well...

Cheers,
 Kendrick

>
> --
> Brian Watson | "Now I don't know, but I been told it's
> Linux Kernel Developer | hard to run with the weight of gold,
> Open SSI Clustering Project | Other hand I heard it said, it's
> Compaq Computer Corp | just as hard with the weight of lead."
> Los Angeles, CA | -Robert Hunter, 1970
>
> mailto:Brian.J.Watson@compaq.com
> http://opensource.compaq.com/
> -
> 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/
>

-
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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:37 EST