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

From: Peter Waechtler (pwaechtler@mac.com)
Date: Mon Oct 28 2002 - 05:44:55 EST


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/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:36 EST