From: Matthew Wilcox <matthew@wil.cx>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Hugh Dickins <hughd@google.com>,
linux-fsdevel@vger.kernel.org, linux-mm@kvack.org,
lsf-pc@lists.linux-foundation.org
Subject: Re: [Lsf-pc] [LSF/MM ATTEND] persistent transparent large
Date: Tue, 28 Jan 2014 19:39:03 -0700 [thread overview]
Message-ID: <20140129023903.GF20939@parisc-linux.org> (raw)
In-Reply-To: <1390943052.16253.31.camel@dabdike>
On Tue, Jan 28, 2014 at 01:04:12PM -0800, James Bottomley wrote:
> That rather depends on whether you think Execute In Place is the correct
> way to handle persistent memory, I think? I fully accept that it looks
> like a good place to start since it's how all embedded systems handle
> flash ... although looking at the proliferation of XIP hacks and
> filesystems certainly doesn't give one confidence that they actually got
> it right.
One of the things I don't like about the current patch is that XIP
has two completely unrelated meanings. The embedded people use it
for eXecuting the kernel in-place, whereas the CONFIG_FS_XIP code is
all about avoiding the page cache (for both executables and data).
I'd love to rename it to prevent this confusion ... I just have no idea
what to call it. Somebody suggested Map In Place (MIP). Maybe MAXIP
(Map And eXecute In Place)? I'd rather something that was a TLA though.
> Fixing XIP looks like a good thing independent of whether it's the right
> approach for persistent memory. However, one thing that's missing for
> the current patch sets is any buy in from the existing users ... can
> they be persuaded to drop their hacks and adopt it (possibly even losing
> some of the XIP specific filesystems), or will this end up as yet
> another XIP hack?
There's only one in-tree filesystem using the current interfaces (ext2)
and it's converted as part of the patchset. And there're only three
devices drivers implementing the current interface (dcssblk, axonram
and brd). The MTD XIP is completely unrelated to this, and doesn't need
to be converted.
> Then there's the meta problem of is XIP the right approach. Using
> persistence within the current memory address space as XIP is a natural
> fit for mixed volatile/NV systems, but what happens when they're all NV
> memory? Should we be discussing some VM based handling mechanisms for
> persistent memory?
I think this discussion would be more related to checkpointing than it
is VM, so we probably wouldn't have the right people in the room for that.
It would probably have been a good discussion to have at kernel summit.
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
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.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2014-01-29 2:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-23 12:23 [LSF/MM ATTEND] persistent transparent large Hugh Dickins
2014-01-28 19:38 ` Matthew Wilcox
2014-01-28 20:42 ` Hugh Dickins
2014-01-29 1:52 ` Matthew Wilcox
2014-01-28 21:04 ` [Lsf-pc] " James Bottomley
2014-01-28 22:24 ` Hugh Dickins
2014-01-29 2:39 ` Matthew Wilcox [this message]
2014-01-29 23:00 ` James Bottomley
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=20140129023903.GF20939@parisc-linux.org \
--to=matthew@wil.cx \
--cc=James.Bottomley@HansenPartnership.com \
--cc=hughd@google.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lsf-pc@lists.linux-foundation.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;
as well as URLs for NNTP newsgroup(s).