summaryrefslogtreecommitdiffstats
path: root/mm/gup_benchmark.c
diff options
context:
space:
mode:
authorJérôme Glisse2018-10-30 23:04:28 +0100
committerLinus Torvalds2018-10-31 16:54:12 +0100
commitec131b2d7fa629edf88a1f51669d1b4a189cba44 (patch)
tree95cea7737f03580ba4aad93b80b070974832d857 /mm/gup_benchmark.c
parentmm/hmm: use a structure for update callback parameters (diff)
downloadkernel-qcow2-linux-ec131b2d7fa629edf88a1f51669d1b4a189cba44.tar.gz
kernel-qcow2-linux-ec131b2d7fa629edf88a1f51669d1b4a189cba44.tar.xz
kernel-qcow2-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 'mm/gup_benchmark.c')
0 files changed, 0 insertions, 0 deletions