linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Rohland <hans-christoph.rohland@sap.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.rutgers.edu, linux-MM@kvack.org,
	Alexander Viro <viro@math.psu.edu>
Subject: Re: [PATCH] get rid of vm_private_data and win posix shm
Date: 28 Dec 1999 21:48:24 +0100	[thread overview]
Message-ID: <qwwso0mg5bb.fsf@sap.com> (raw)
In-Reply-To: Linus Torvalds's message of "Tue, 28 Dec 1999 11:14:36 -0800"

Linus Torvalds <torvalds@transmeta.com> writes:

> In article <qwwd7rrgeen.fsf@sap.com>,
> Christoph Rohland  <hans-christoph.rohland@sap.com> wrote:
> >
> >I implemented posix shm with its own namespace by extending filp_open
> >and do_unlink by an additional parameter for the root inode.
> 
> Beautiful patch _except_ for this case. I'm really pleased with how well
> the POSIX shm code seems to integrate into the FS and VM layers, and
> that makes me happy.
> 
> The one imbalance you added makes me cringe, though.  I think we should
> just export it as a real filesystem, and mount it in a standard
> location.  Nothing clever, just come up with a new location that is
> fixed and acceptable to all, kind of like /proc is now. 

O.K. After your and Alans objections I probably have to get rid of my
separate namespace ;-(

How do I do the SYSV shm stuff then? On creation I could grab the
first superblock and create the object there. But on removal I rely on
the fs unlink function through do_unlink. How do I get the right path
for the plain unlink call? You do not propose to code the location
into the kernel, don't you?

Any advice welcome
                        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/

  parent reply	other threads:[~1999-12-28 20:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-28 17:32 Christoph Rohland
1999-12-28 17:50 ` Alan Cox
1999-12-28 18:38   ` Christoph Rohland
     [not found] ` <199912281914.LAA02201@penguin.transmeta.com>
1999-12-28 20:48   ` Christoph Rohland [this message]
1999-12-31 16:58 ` [PATCH] get rid of vm_private_data and win posix shm version 2 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=qwwso0mg5bb.fsf@sap.com \
    --to=hans-christoph.rohland@sap.com \
    --cc=linux-MM@kvack.org \
    --cc=linux-kernel@vger.rutgers.edu \
    --cc=torvalds@transmeta.com \
    --cc=viro@math.psu.edu \
    /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