aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-11-09 16:02:09 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-11-10 08:37:07 +0800
commit37e9d1a91382661c2d1f656b54c5d22dfe7a8606 (patch)
tree62e8003a9d2c6bcad53dd7bc8cbc46503b6cbbc3 /net/unix/garbage.c
parentLoongArch: kexec: Print out debugging message if required (diff)
downloadwireguard-linux-37e9d1a91382661c2d1f656b54c5d22dfe7a8606.tar.xz
wireguard-linux-37e9d1a91382661c2d1f656b54c5d22dfe7a8606.zip
LoongArch: KVM: Set page with write attribute if dirty track disabled
With secondary MMU page table, if there is a read page fault, the page's write attribute will not set even if it is writable from master MMU page table. This logic only works if dirty tracking is enabled, so page table should be set with _PAGE_WRITE if dirty tracking is disabled. It reduces extra page fault on secondary MMU page table if a VM finishes migration, when the master MMU page table is ready and the secondary MMU page is fresh. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions