On Mon, Jan 09, 2023 at 12:22:07PM +1100, Alistair Popple wrote: > mmu_notifier_range_update_to_read_only() was originally introduced in > commit c6d23413f81b ("mm/mmu_notifier: > mmu_notifier_range_update_to_read_only() helper") as an optimisation > for device drivers that know a range has only been mapped > read-only. However there are no users of this feature so remove it. As > it is the only user of the struct mmu_notifier_range.vma field remove > that also. > > Signed-off-by: Alistair Popple <apopple@xxxxxxxxxx> > --- > include/linux/mmu_notifier.h | 2 -- > mm/mmu_notifier.c | 10 ---------- > 2 files changed, 12 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason