1 Mar 2002 03:00
Re: [PATCH] Lightweight userspace semaphores...
Hubertus Franke <frankeh <at> watson.ibm.com>
2002-03-01 02:00:26 GMT
2002-03-01 02:00:26 GMT
On Thu, Feb 28, 2002 at 04:24:22PM -0800, Richard Henderson wrote: > On Wed, Feb 27, 2002 at 10:53:11AM -0500, Hubertus Franke wrote: > > As stated above, I allocate a kernel object <kulock_t> on demand and > > hash it. This way I don't have to pin any user address. What does everybody > > think about the merit of this approach versus the pinning approach? > [...] > > In your case, can the lock be allocated at different > > virtual addresses in the various address spaces. > > I think this is a relatively important feature. It may not be > possible to use the same virtual address in different processes. > > > r~ I think so too. However let me point that Linus's initial recommendation of a handle, comprised of a kernel pointer and a signature also has that property. Just pointing out the merits of the various approaches. -- Hubertus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

> With 2.5.6-pre2 you get nfsd support, wether you want it or
> not. Consider this:
With 2.5.6-pre2 you will always get just enough code to be able to
load nfsd as a module later, even if you didn't compile nfsd as a
module this time. Unless modules are disabled of course.
There have been a number of problem reports on linux-kernel over the
last year or two from people who cannot load nfsd.o as a module.
Often it is because they originally compiled without and NFSD support
at all, but subsequently decided that wanted to compile and load
nfsd.o
This works for many modules (e.g. filesystems) It is reasonable that
it work for nfsd as well.
I thought that the cost of always including the hooks to load nfsd was
minimal, and worth the consistency/convenience.
Does that seem reasonable to you?
NeilBrown
RSS Feed