aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-07-04 21:22:00 +0800
committerakpm <[email protected]>2022-07-17 17:14:46 -0700
commitcea3332808f92c0120fb0b157c56d48639e0c713 (patch)
tree52a10515ade5a20f50b347bd26ea2d842d472147 /net/lapb/lapb_in.c
parentd764afedfb04e4eaf04b175c5ac54ffa4a423070 (diff)
mm/huge_memory: comment the subtly logic in __split_huge_pmd
It's dangerous and wrong to call page_folio(pmd_page(*pmd)) when pmd isn't present. But the caller guarantees pmd is present when folio is set. So we should be safe here. Add comment to make it clear. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Muchun Song <[email protected]> Cc: Yang Shi <[email protected]> Cc: Zach O'Keefe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions