]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks"
authorMichal Hocko <mhocko@suse.com>
Fri, 26 Oct 2018 22:03:39 +0000 (15:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Oct 2018 23:25:19 +0000 (16:25 -0700)
commitd950beca319c57b3f9690f8396defbc0193f2390
tree0dcb72a877f2afa6dc1012ce3d3d284528331369
parent765385b7dcf7c78d94fb0fddd9d6f19fd10f74e4
Revert "mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks"

Revert 7b3a0e3e2cef1 ("mm, mmu_notifier: annotate mmu notifiers with
blockable invalidate callbacks").

MMU_INVALIDATE_DOES_NOT_BLOCK flags was the only one used and it is no
longer needed since f4db9358e5c1 ("mm, oom: distinguish blockable mode for
mmu notifiers").  We now have a full support for per range !blocking
behavior so we can drop the stop gap workaround which the per notifier
flag was used for.

Link: http://lkml.kernel.org/r/20180827112623.8992-4-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/infiniband/hw/hfi1/mmu_rb.c
drivers/iommu/amd_iommu_v2.c
drivers/iommu/intel-svm.c
drivers/misc/sgi-gru/grutlbpurge.c
include/linux/mmu_notifier.h
mm/mmu_notifier.c
virt/kvm/kvm_main.c