]> Git Repo - linux.git/commit - mm/rmap.c
mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only export
authorAlistair Popple <[email protected]>
Tue, 10 Jan 2023 02:57:22 +0000 (13:57 +1100)
committerAndrew Morton <[email protected]>
Fri, 3 Feb 2023 06:32:54 +0000 (22:32 -0800)
commit7d4a8be0c4b2b7ffb367929d2b352651f083806b
tree5212561efdf216643df182e27610050c678b515f
parent9e5522715e6941bcfdc08d066a79d6da0f8cec8e
mm/mmu_notifier: remove unused mmu_notifier_range_update_to_read_only export

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.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alistair Popple <[email protected]>
Acked-by: Mike Rapoport (IBM) <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Ira Weiny <[email protected]>
Cc: Jerome Glisse <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Ralph Campbell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
16 files changed:
fs/proc/task_mmu.c
include/linux/mmu_notifier.h
kernel/events/uprobes.c
mm/huge_memory.c
mm/hugetlb.c
mm/khugepaged.c
mm/ksm.c
mm/madvise.c
mm/mapping_dirty_helpers.c
mm/memory.c
mm/migrate_device.c
mm/mmu_notifier.c
mm/mprotect.c
mm/mremap.c
mm/oom_kill.c
mm/rmap.c
This page took 0.075133 seconds and 4 git commands to generate.