diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2026-10-05 19:58:06 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2026-10-09 22:13:31 +0000 |
| commit | 5b1f1fd624352840cd9666447ff9cdebeaf910d4 (patch) | |
| tree | 872346221098a9d686ed8954cf7782ea236c9ad6 /pythonmod/doc/modules/(developers-only) | |
| parent | 16d92e92ca12c9772d921346c34f1ef87998c662 (diff) | |
hyperv: Fix single page invalidation path
A single page invalidation sets addr2 == 0. In the original code, it
falsely flush the whole address in non global pmap. However, the
kernel pmap are all PG_G, which means a single page flush will always be
staled and thus become invalid. As a result, we set parameter based on
their op in a new helper function instead of relying on args. This
affects only on AMD platform as Intel has their PTI implementation.
PR: 291577
Tested by: franco@opnsense.org
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D60380
Diffstat (limited to 'pythonmod/doc/modules/(developers-only)')
0 files changed, 0 insertions, 0 deletions
