Re: [PATCH 05/11] mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block

From
Kirill A. Shutemov <hidden>
Date
2021-06-10 09:16:57
Also in
lkml
Reply to
Hugh Dickins, 2021-06-10
On Wed, Jun 09, 2021 at 11:42:12PM -0700, Hugh Dickins wrote:
page_vma_mapped_walk() cleanup: rearrange the !pmd_present() block to
follow the same "return not_found, return not_found, return true" pattern
as the block above it (note: returning not_found there is never premature,
since existence or prior existence of huge pmd guarantees good alignment).

Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: <redacted>
Acked-by: Kirill A. Shutemov <redacted>

-- 
 Kirill A. Shutemov
Thread (30 messages) 30 messages, 5 authors, last reply 2021-06-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help