From: Christoph Rohland <hans-christoph.rohland@sap.com>
To: Andi Kleen <ak@muc.de>
Cc: MM mailing list <linux-mm@kvack.org>,
Linux Kernel Mailing List <linux-kernel@vger.rutgers.edu>,
Rik van Riel <riel@nl.linux.org>
Subject: Re: [PATCH] replace SYSV shared memory with shm filesystem
Date: 10 Jan 2000 18:55:45 +0100 [thread overview]
Message-ID: <qwwya9xreu6.fsf@sap.com> (raw)
In-Reply-To: <20000110145913.01335@colin.muc.de>
Andi Kleen <ak@muc.de> writes:
> On Mon, Jan 10, 2000 at 01:20:40PM +0100, Christoph Rohland wrote:
> > Hi folks,
> >
> > This patch implements a minimal filesystem for shared memory. It
> > replaces/reuses the existing SYSV shm code so you now have to mount
> > the fs to be able to use SYSV SHM. But in turn we now have everything
> > in place to implement posix shm. This also obsoletes vm_private_data
> > in vm_area_struct.
>
> I planed to map the Unix Sockets abstract name space to a file system
> for some time now. Because it would be silly to write another file
> system just for that rather obscure feature, would it be possible
> to use a subdirectory in your new shm filesystem? I haven't looked
> at the code at all yet, and don't know if it can even deal with
> directories and special devices. Do you have objections to such
> a direction?
In the current state this is not possible. The shm fs does not support
directories and only regular files (which you can only mmap, no
read/write support).
But we could later extend the fs to support directories and special
files. The Unix Sockets could probably also use the same mechanisms
for locating the special fs like SYSV ipc does.
With these changes we also should then be able to mount the fs several
times. So we also get the chroot case fixed.
Greetings
Christoph
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.nl.linux.org/Linux-MM/
next prev parent reply other threads:[~2000-01-10 17:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-10 12:17 Christoph Rohland
2000-01-10 12:39 ` Alan Cox
2000-01-10 12:46 ` Christoph Rohland
2000-01-10 12:52 ` Rik van Riel
2000-01-10 13:59 ` Andi Kleen
2000-01-10 17:55 ` Christoph Rohland [this message]
2000-01-10 20:41 ` James Antill
2000-01-11 11:18 ` Richard Guenther
2000-01-11 12:00 ` Christoph Rohland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=qwwya9xreu6.fsf@sap.com \
--to=hans-christoph.rohland@sap.com \
--cc=ak@muc.de \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.org \
--cc=riel@nl.linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox