Re: [PATCH v2] mm: Move MAP_SYNC to asm-generic/mman-common.h

2019-05-28 Thread Jan Kara
On Tue 28-05-19 14:41:20, Aneesh Kumar K.V wrote: > This enables support for synchronous DAX fault on powerpc > > The generic changes are added as part of > commit b6fb293f2497 ("mm: Define MAP_SYNC and VM_SYNC flags") > > Without this, mmap returns EOPNOTSUPP for MAP_SYNC with MAP_SHARED_VALIDAT

[PATCH v2] mm: Move MAP_SYNC to asm-generic/mman-common.h

2019-05-28 Thread Aneesh Kumar K.V
This enables support for synchronous DAX fault on powerpc The generic changes are added as part of commit b6fb293f2497 ("mm: Define MAP_SYNC and VM_SYNC flags") Without this, mmap returns EOPNOTSUPP for MAP_SYNC with MAP_SHARED_VALIDATE Instead of adding MAP_SYNC with same value to arch/powerpc/