]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory.c: initialise mmu_notifier_range correctly
authorMatthew Wilcox <willy@infradead.org>
Tue, 8 Jan 2019 23:23:25 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Jan 2019 01:15:11 +0000 (17:15 -0800)
commited816bfb382667b678dbb58db854394853961648
tree5df045d6baa94bda2d7303456f1828bbf49cb28a
parenta9eafcd73f19619a8645daef566c33602a09e7c0
mm/memory.c: initialise mmu_notifier_range correctly

One of the paths in follow_pte_pmd() initialised the mmu_notifier_range
incorrectly.

Link: http://lkml.kernel.org/r/20190103002126.GM6310@bombadil.infradead.org
Fixes: af6ae8f971ae ("mm/mmu_notifier: use structure for invalidate_range_start/end calls v2")
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Tested-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Jérôme Glisse <jglisse@redhat.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c