Re: [PATCH 4/4] mm: replace set_pte_at_notify() with just set_pte_at()

From: Philippe Mathieu-Daudé
Date: Mon Apr 08 2024 - 02:28:33 EST


On 5/4/24 13:58, Paolo Bonzini wrote:
With the demise of the .change_pte() MMU notifier callback, there is no
notification happening in set_pte_at_notify(). It is a synonym of
set_pte_at() and can be replaced with it.

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
---
include/linux/mmu_notifier.h | 2 --
kernel/events/uprobes.c | 5 ++---
mm/ksm.c | 4 ++--
mm/memory.c | 7 +------
mm/migrate_device.c | 8 ++------
5 files changed, 7 insertions(+), 19 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>