[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200705072237.33217.a1426z@gawab.com>
Date: Mon, 7 May 2007 22:37:33 +0300
From: Al Boldi <a1426z@...ab.com>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Dmitry Krivoschekov <dmitry.krivoschekov@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: Execute in place
H. Peter Anvin wrote:
> Al Boldi wrote:
> > Isn't everything really just temporary?
> >
> > Would something like an mmap'd tmpfs be possible?
>
> No. tmpfs relies on being able to leave data structures in the running
> kernel. In particular, it has no metadata store at all.
>
> The needs for a persistent filesystem are very different, regardless of
> what the underlying medium is.
Think Suspend-To-Disk; in that case tmpfs looks pretty persistent to me.
So what does STD do? It pushes memory out to swap.
Now, tmpfs could probably do the same thing on its own either to a private
swap or an mmap. I am suggesting mmap, as swap is currently really slow
with tmpfs, and switching it to use mmap may buy us 2 for the price of 1.
Thanks!
--
Al
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists