All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Mattia Dongili <malattia@linux.it>
Cc: User Mode Linux Maintainers
	<pkg-uml-pkgs@lists.alioth.debian.org>,
	pkg-sysvinit-devel@lists.alioth.debian.org,
	Paolo Giarrusso <blaisorblade@yahoo.it>,
	UML-devel <user-mode-linux-devel@lists.sourceforge.net>,
	Petter Reinholdtsen <pere@hungry.com>
Subject: Re: [uml-devel] [Pkg-uml-pkgs] How is user-mode-linux using /dev/shm/?
Date: Thu, 28 Sep 2006 17:51:43 -0400	[thread overview]
Message-ID: <20060928215143.GC6327@ccure.user-mode-linux.org> (raw)
In-Reply-To: <20060928194727.GC8519@inferi.kami.home>

On Thu, Sep 28, 2006 at 09:47:27PM +0200, Mattia Dongili wrote:
> On Thu, Sep 28, 2006 at 08:14:32PM +0200, Petter Reinholdtsen wrote:
> > To make some writable tmpfs available to those in need of such system,
> > and to avoid using /dev/shm/ which is reserved for the shm-functions,
> > I just uploaded sysvinit version 2.86.ds1-26.  It will mount a tmpfs
> > on /lib/init/rw/ that can be used instead.  If /lib/init/rw/.ramfs
> > exist, that mount point is a tmpfs.  I'm not sure if this last change
> > will make it into Etch or not, but I hope so, to solve any problems
> > with packages previously using /dev/shm/ as a generic tmpfs file
> > system.
> 
> Well, I'd actually prefer if you could remove the noexec flag from
> /dev/shm. I understand the security reasons given in the bugreport but
> I'd prefer avoid having to deal with one more Debian-only (is it?)
> thing given the soon to come general freeze. 

UML needs a non-noexec place to keep a file that will be used as its
physical memory.  A tmpfs mount is greatly preferred for performance
reasons as well as tmpfs being the only filesystem supporting
MADV_REMOVE, which is used for memory hotplug.

				Jeff

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  parent reply	other threads:[~2006-09-28 21:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2flhcyrq2nr.fsf@saruman.uio.no>
2006-09-28 19:47 ` [uml-devel] [Pkg-uml-pkgs] How is user-mode-linux using /dev/shm/? Mattia Dongili
2006-09-28 20:19   ` Petter Reinholdtsen
2006-09-29  7:17     ` Mattia Dongili
2006-09-28 21:51   ` Jeff Dike [this message]
2006-09-29 17:46     ` Mattia Dongili
2006-09-29 18:59       ` Jeff Dike
2006-09-29 19:52         ` [uml-devel] [Pkg-sysvinit-devel] " Henrique de Moraes Holschuh
2006-09-30 12:34       ` [uml-devel] " Blaisorblade
2006-09-30 12:36   ` Blaisorblade

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=20060928215143.GC6327@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=blaisorblade@yahoo.it \
    --cc=malattia@linux.it \
    --cc=pere@hungry.com \
    --cc=pkg-sysvinit-devel@lists.alioth.debian.org \
    --cc=pkg-uml-pkgs@lists.alioth.debian.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.