diff options
| author | Huacai Chen <[email protected]> | 2022-11-21 19:02:57 +0800 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2022-11-21 19:02:57 +0800 |
| commit | 54e6cd42a183b602e3627ad3aaeeed44f7443e67 (patch) | |
| tree | 961d2bdb58dbb0c805c9c0d76105db8e4c2b3d91 /tools/lib/traceevent/plugins/plugin_function.c | |
| parent | bf2f34a506e66e2979de6b17c337c5d4b25b4d2c (diff) | |
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 <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions