Re: [PATCH] unified SysV and Posix mqueues as FS

Peter Waechtler (pwaechtler@mac.com)
Mon, 28 Oct 2002 11:44:55 +0100


Alexander Viro schrieb:
>
> On Sun, 27 Oct 2002, Peter Waechtler wrote:
>
> > Alexander Viro schrieb:
> > >
> > > On Sun, 27 Oct 2002, Peter Waechtler wrote:
> > >
> > > > I applied the patch from Jakub against 2.5.44
> > > > There are still open issues but it's important to get this in before
> > > > feature freeze.
> > > >
> > > > While you can implement Posix mqueues in userland (Irix is doing this
> > > > with fcntl(fd,F_SETLKW,) and shmem) a kernel implementation has some advantages:
> > >
> > > *thud*
> > >
> > > ioctls on _directories_, of all things?
> >
> > Parden? Where are directories used?
> > create a file, give it a size, mmap it and serialize access to it with locks.
> > That's all.
>
> Check your file_operations for root directory.

Umh, misunderstanding: I thought you commented on the Irix part.
And it's not my patch, it's Jakub Jelineks patch I applied against current 2.5

I don't even see an advantage on having them as filesystem - I just think
that the SysV and Posix mqueues should share most of the code.
-
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/