diff options
author | Jérôme Glisse <jglisse@redhat.com> | 2018-10-30 23:04:28 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-31 16:54:12 +0100 |
commit | ec131b2d7fa629edf88a1f51669d1b4a189cba44 (patch) | |
tree | 95cea7737f03580ba4aad93b80b070974832d857 /mm/gup_benchmark.c | |
parent | mm/hmm: use a structure for update callback parameters (diff) | |
download | linux-ec131b2d7fa629edf88a1f51669d1b4a189cba44.tar.xz linux-ec131b2d7fa629edf88a1f51669d1b4a189cba44.zip |
mm/hmm: invalidate device page table at start of invalidation
Invalidate device page table at start of invalidation and invalidate in
progress CPU page table snapshooting at both start and end of any
invalidation.
This is helpful when device need to dirty page because the device page
table report the page as dirty. Dirtying page must happen in the start
mmu notifier callback and not in the end one.
Link: http://lkml.kernel.org/r/20181019160442.18723-7-jglisse@redhat.com
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions