From: David Miller <davem@davemloft.net>
To: willy@linux.intel.com
Cc: linux-mm@kvack.org, sparclinux@vger.kernel.org,
linux-parisc@vger.kernel.org, linux-mips@linux-mips.org
Subject: Re: [PATCH] remap_file_pages needs to check for cache coherency
Date: Fri, 27 Dec 2013 13:48:14 -0500 (EST) [thread overview]
Message-ID: <20131227.134814.345379118522548543.davem@davemloft.net> (raw)
In-Reply-To: <20131227180018.GC4945@linux.intel.com>
From: Matthew Wilcox <willy@linux.intel.com>
Date: Fri, 27 Dec 2013 13:00:18 -0500
> It seems to me that while (for example) on SPARC, it's not possible to
> create a non-coherent mapping with mmap(), after we've done an mmap,
> we can then use remap_file_pages() to create a mapping that no longer
> aliases in the D-cache.
>
> I have only compile-tested this patch. I don't have any SPARC hardware,
> and my PA-RISC hardware hasn't been turned on in six years ... I noticed
> this while wandering around looking at some other stuff.
I suppose this is needed, but only in the case where the mapping is
shared and writable, right? I don't see you testing those conditions,
but with them I'd be OK with this change.
--
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:[~2013-12-27 18:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-27 18:00 Matthew Wilcox
2013-12-27 18:48 ` David Miller [this message]
2013-12-27 19:20 ` Matthew Wilcox
2013-12-27 19:13 ` John David Anglin
2013-12-27 19:33 ` Matthew Wilcox
2013-12-27 19:47 ` John David Anglin
2013-12-27 20:14 ` John David Anglin
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=20131227.134814.345379118522548543.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-mips@linux-mips.org \
--cc=linux-mm@kvack.org \
--cc=linux-parisc@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=willy@linux.intel.com \
/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