aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorHongchen Zhang <[email protected]>2023-06-15 06:35:52 +0000
committerHuacai Chen <[email protected]>2023-06-15 06:35:52 +0000
commitddc1729b07cc84bb29f577698b8d2e74a4004a6e (patch)
treeaa059fbf86c4d94662b3e9378a2e7d9848935c2d /drivers/net/ethernet/intel/igc/igc_main.c
parentLinux 6.4-rc6 (diff)
downloadkernel-ddc1729b07cc84bb29f577698b8d2e74a4004a6e.tar.gz
kernel-ddc1729b07cc84bb29f577698b8d2e74a4004a6e.zip
LoongArch: Let pmd_present() return true when splitting pmd
When we split a pmd into ptes, pmd_present() and pmd_trans_huge() should return true, otherwise it would be treated as a swap pmd. This is the same as arm64 does in commit b65399f6111b ("arm64/mm: Change THP helpers to comply with generic MM semantics"), we also add a new bit named _PAGE_PRESENT_INVALID for LoongArch. Signed-off-by: Hongchen Zhang <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions