Messages in this thread | | | Date | Fri, 21 Jul 2023 16:29:13 -0300 | From | Jason Gunthorpe <> | Subject | Re: [PATCH v3 4/5] mmu_notifiers: Don't invalidate secondary TLBs as part of mmu_notifier_invalidate_range_end() |
| |
On Thu, Jul 20, 2023 at 06:39:26PM +1000, Alistair Popple wrote: > Secondary TLBs are now invalidated from the architecture specific TLB > invalidation functions. Therefore there is no need to explicitly > notify or invalidate as part of the range end functions. This means we > can remove mmu_notifier_invalidate_range_end_only() and some of the > ptep_*_notify() functions. > > Signed-off-by: Alistair Popple <apopple@nvidia.com> > --- > include/linux/mmu_notifier.h | 56 +------------------------------------ > kernel/events/uprobes.c | 2 +- > mm/huge_memory.c | 25 ++--------------- > mm/hugetlb.c | 1 +- > mm/memory.c | 8 +---- > mm/migrate_device.c | 9 +----- > mm/mmu_notifier.c | 25 ++--------------- > mm/rmap.c | 40 +-------------------------- > 8 files changed, 14 insertions(+), 152 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Jason
| |