Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 28 Oct 2002 05:35:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 28 Oct 2002 05:35:35 -0500 Received: from smtpout.mac.com ([204.179.120.89]:51660 "EHLO smtpout.mac.com") by vger.kernel.org with ESMTP id ; Mon, 28 Oct 2002 05:35:33 -0500 Message-ID: <3DBD1527.17B4B502@mac.com> Date: Mon, 28 Oct 2002 11:44:55 +0100 From: Peter Waechtler X-Mailer: Mozilla 4.8 [de] (X11; U; Linux 2.4.18-4GB-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: Alexander Viro CC: linux-kernel@vger.kernel.org, jakub@redhat.com, torvalds@transmeta.com Subject: Re: [PATCH] unified SysV and Posix mqueues as FS References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1288 Lines: 35 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/