aboutsummaryrefslogtreecommitdiffstats
path: root/rust/kernel/mm/mmput_async.rs
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2025-08-17 03:26:46 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-09-13 16:55:14 -0700
commite5e758922d1a8ce5ea97140192d395f296bcf32c (patch)
tree3a25199b12bdff1ceadfb80e5356ad503fb92527 /rust/kernel/mm/mmput_async.rs
parentmm, x86/mm: move creating the tlb_flush event back to x86 code (diff)
downloadlinux-e5e758922d1a8ce5ea97140192d395f296bcf32c.tar.gz
linux-e5e758922d1a8ce5ea97140192d395f296bcf32c.zip
mm/rmap: not necessary to mask off FOLIO_PAGES_MAPPED
At this point, we are in an if branch conditional on (nr < ENTIRELY_MAPPED), and FOLIO_PAGES_MAPPED is equal to (ENTIRELY_MAPPED - 1). This means the upper bits are already cleared. It is not necessary to mask it off. Link: https://lkml.kernel.org/r/20250817032647.29147-2-richard.weiyang@gmail.com Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Acked-by: David Hildenbrand <david@redhat.com> Cc: Rik van Riel <riel@surriel.com> Cc: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Harry Yoo <harry.yoo@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/kernel/mm/mmput_async.rs')
0 files changed, 0 insertions, 0 deletions