mm: mmu_gather: do not expose delayed_rmap flag
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 16 Nov 2022 07:49:30 +0000 (08:49 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:58:50 +0000 (15:58 -0800)
commitf036c8184f8b6750fa642485fb01eb6ff036a86b
treedcf38b8e8a503f2b959ab602815ced01668f5ff6
parent5df397dec7c4c08c23bd14f162f1228836faa4ce
mm: mmu_gather: do not expose delayed_rmap flag

Flag delayed_rmap of 'struct mmu_gather' is rather a private member, but
it is still accessed directly.  Instead, let the TLB gather code access
the flag.

Link: https://lkml.kernel.org/r/Y3SWCu6NRaMQ5dbD@li-4a3a4a4c-28e5-11b2-a85c-a8d192c6f089.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c
mm/mmu_gather.c