Thread (18 messages) 18 messages, 7 authors, 2017-08-21

Re: [RFC PATCH 0/7] dax, ext4: Synchronous page faults

From: Dan Williams <hidden>
Date: 2017-08-13 02:44:15
Also in: linux-fsdevel, linux-xfs, nvdimm

On Fri, Aug 11, 2017 at 3:03 AM, Christoph Hellwig [off-list ref] wrote:
On Mon, Aug 07, 2017 at 05:24:08PM -0700, Dan Williams wrote:
quoted
Does sys_mmap() reject unknown flag values today? I'm either not
looking in the right place or it's missing and we'll need some
interface/mechanism to check if MAP_SYNC is honored.
It doesn't seem to reject unknown flags.

The lack of flags checking strikes back once more, sighṫ.
How about MAP_SYNC == (MAP_SHARED|MAP_PRIVATE)? On older kernels that
should get -EINVAL, and on new kernels it means SYNC+SHARED.
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help