From: Al Viro <viro@ZenIV.linux.org.uk>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Al Viro <viro@ftp.linux.org.uk>,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/19] untangling do_mremap(), part 1
Date: Mon, 7 Dec 2009 18:44:38 +0000 [thread overview]
Message-ID: <20091207184438.GH14381@ZenIV.linux.org.uk> (raw)
In-Reply-To: <alpine.LFD.2.00.0912070911290.3560@localhost.localdomain>
On Mon, Dec 07, 2009 at 09:17:40AM -0800, Linus Torvalds wrote:
>
> Al,
> just checking: do you think this is ready for merging now? The lack of
> RFC seems to imply it is, but I don't see the Ack's from David from your
> previous series, for example.
Which David? ;-) All sparc-related bits seem to have been ACKed by
davem.
Hugetlbfs tests seem to be OK with this series, but there's an odd
thing going on - expanding mremap() crossing into hugepage range on
ppc takes a while to convert it into 4Kb pages. Fair enough, but
it seems to work _much_ faster if the process is ptraced. NFI why;
waiting for dgw to get around to profiling it...
I'd love to see comments from ia64 and s390 folks, actually.
Known issues:
* expand_stack() one. Missing checks, not obvious which way to
deal with that. Same as in mainline. Itanic and sparc32 are killable
by that, on itanic with hw 32bit support it looks even nastier (likely
escalation to execution of user code in ring 0).
* remap_file_pages() seems to ignore any alignment rules; it
is OK wrt to address range (it works on existing vma), but cache
coherency might be buggered. Same as in mainline.
* spufs (ppc cell stuff) does 64Kb-paged mappings; what happens
upon mremap() and friends? VM_HUGETLB will *not* be set on it, so the
usual checks in mm/* are going to miss. _Probably_ unchanged compared
to mainline, but I'd really like to understand how it's supposed to work.
next prev parent reply other threads:[~2009-12-07 18:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-07 3:52 [PATCH 1/19] untangling do_mremap(), part 1 Al Viro
2009-12-07 17:17 ` Linus Torvalds
2009-12-07 18:44 ` Al Viro [this message]
2009-12-07 19:35 ` Linus Torvalds
2009-12-07 19:43 ` Al Viro
2009-12-12 19:31 ` Pavel Machek
2009-12-12 19:31 ` Pavel Machek
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=20091207184438.GH14381@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@ftp.linux.org.uk \
/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).