Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1588173
| From | Dan Williams <dan.j.williams@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] fix for direct-I/O to DAX mappings |
| Date | 2017-02-25 18:20 +0100 |
| Message-ID | <teOaK-2C8-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi Andrew,
While Ross was doing a review of a new mmap+DAX direct-I/O test case for
xfstests, from Xiong, he noticed occasions where it failed to trigger a
page dirty event. Dave then spotted the problem fixed by patch1. The
pte_devmap() check is precluding pte_allows_gup(), i.e. bypassing
permission checks and dirty tracking.
Patch2 is a cleanup and clarifies that pte_unmap() only needs to be done
once per page-worth of ptes. It unifies the exit paths similar to the
generic gup_pte_range() in the __HAVE_ARCH_PTE_SPECIAL case.
I'm sending this through the -mm tree for a double-check from memory
management folks. It has a build success notification from the kbuild
robot.
---
Dan Williams (2):
x86, mm: fix gup_pte_range() vs DAX mappings
x86, mm: unify exit paths in gup_pte_range()
arch/x86/mm/gup.c | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] fix for direct-I/O to DAX mappings Dan Williams <dan.j.williams@intel.com> - 2017-02-25 18:20 +0100
Re: [PATCH 0/2] fix for direct-I/O to DAX mappings Linus Torvalds <torvalds@linux-foundation.org> - 2017-02-28 18:20 +0100
Re: [PATCH 0/2] fix for direct-I/O to DAX mappings Andrew Morton <akpm@linux-foundation.org> - 2017-03-01 03:40 +0100
csiph-web