diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-11-21 19:02:57 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-11-21 19:02:57 +0800 |
commit | 54e6cd42a183b602e3627ad3aaeeed44f7443e67 (patch) | |
tree | 961d2bdb58dbb0c805c9c0d76105db8e4c2b3d91 /net/qrtr/tun.c | |
parent | bf2f34a506e66e2979de6b17c337c5d4b25b4d2c (diff) | |
download | linux-54e6cd42a183b602e3627ad3aaeeed44f7443e67.tar.gz |
LoongArch: Set _PAGE_DIRTY only if _PAGE_MODIFIED is set in {pmd,pte}_mkwrite()
Set _PAGE_DIRTY only if _PAGE_MODIFIED is set in {pmd,pte}_mkwrite().
Otherwise, _PAGE_DIRTY silences the TLB modify exception and make us
have no chance to mark a pmd/pte dirty (_PAGE_MODIFIED) for software.
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'net/qrtr/tun.c')
0 files changed, 0 insertions, 0 deletions