diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-04-08 04:21:09 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-04-13 02:58:16 +0000 |
| commit | 50f7b62f0862f764215cee98547d5b8c0979ec26 (patch) | |
| tree | 2920842e8dc80bd9ae40a4c96e0b67eb8ecf733f /sys/dev/bxe/bxe_debug.c | |
| parent | bb5347cc6f78949dab1c631af546aa3fbd87e724 (diff) | |
vm_fault: Reset m_needs_zeroing properlystable/13
- 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 'sys/dev/bxe/bxe_debug.c')
0 files changed, 0 insertions, 0 deletions
