Page MenuHomeFreeBSD

Handle a race of collapse with a retrying fault.
ClosedPublic

Authored by kib on Jan 23 2020, 11:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 2, 1:15 AM
Unknown Object (File)
Mon, May 26, 10:11 AM
Unknown Object (File)
Sun, May 25, 3:41 PM
Unknown Object (File)
Fri, May 23, 10:30 PM
Unknown Object (File)
Wed, May 14, 12:10 PM
Unknown Object (File)
Apr 14 2025, 12:01 PM
Unknown Object (File)
Apr 14 2025, 6:56 AM
Unknown Object (File)
Apr 14 2025, 2:00 AM
Subscribers

Details

Summary

Both vm_object_scan_all_shadowed() and vm_object_collapse_scan() might observe an invalid page left in the default backing object by the fault handler that retried. Check for the condition and refuse to collapse.

Reported by: pho

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 28870

Event Timeline

The goto is unfortunate but I see that without the loop becomes even weirder

This revision is now accepted and ready to land.Jan 24 2020, 1:52 AM

I completed a full stress2 test and ran the original problem test for 3 hours.
LGTM.

This revision was automatically updated to reflect the committed changes.