diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-04-08 04:21:09 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-04-13 10:57:26 +0000 |
| commit | 58718cf365933dc2c75d43f7154371344bf47286 (patch) | |
| tree | 3848e8ff50de6b13df64ce89cc346dac82e1b717 /lib/libc/tests/secure | |
| parent | ae1a2033dc254d3f89f223819d23767d8e120def (diff) | |
vm_fault: Reset m_needs_zeroing properlystable/15
- When allocating a page, we should only consider the PG_ZERO flag when
handling the top-level page.
- Unconditionally reset the flag when restarting the fault handler.
Previously, vm_fault_busy_sleep() would fail to reset it.
PR: 294039
Reviewed by: kib
Tested by: Peter Much <pmc@citylink.dinoex.sub.org>
MFC after: 3 days
Fixes: cff67bc43df1 ("vm_fault: only rely on PG_ZERO when the page was newly allocated")
Differential Revision: https://reviews.freebsd.org/D56234
(cherry picked from commit 04132e01004316ddd0e0cde6ef15b100b7b1844d)
Diffstat (limited to 'lib/libc/tests/secure')
0 files changed, 0 insertions, 0 deletions
