]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mmu_notifier: Rename struct mmu_notifier_mm to mmu_notifier_subscriptions
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 18 Dec 2019 17:40:35 +0000 (13:40 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 14 Jan 2020 15:54:47 +0000 (11:54 -0400)
commit4b33b135ee101326810d8d69bdc41ddfd0f0e5de
tree1a36623061d38e8396ae9ffffba199edf117d3f5
parentd4f46b330cc523efd6fb99dfb35e4def34bd935c
mm/mmu_notifier: Rename struct mmu_notifier_mm to mmu_notifier_subscriptions

The name mmu_notifier_mm implies that the thing is a mm_struct pointer,
and is difficult to abbreviate. The struct is actually holding the
interval tree and hlist containing the notifiers subscribed to a mm.

Use 'subscriptions' as the variable name for this struct instead of the
really terrible and misleading 'mmn_mm'.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/linux/mm_types.h
include/linux/mmu_notifier.h
kernel/fork.c
mm/debug.c
mm/mmu_notifier.c