Page MenuHomeFreeBSD

look for in-transition status in each map entry
ClosedPublic

Authored by dougm on Nov 16 2019, 6:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 10:37 AM
Unknown Object (File)
Mar 10 2024, 2:51 AM
Unknown Object (File)
Jan 21 2024, 11:29 PM
Unknown Object (File)
Dec 21 2023, 9:40 PM
Unknown Object (File)
Dec 8 2023, 5:37 PM
Unknown Object (File)
Dec 8 2023, 5:37 PM
Unknown Object (File)
Dec 8 2023, 5:37 PM
Unknown Object (File)
Nov 15 2023, 1:50 AM
Subscribers

Details

Summary

The loop in vm_map_protect that verifies that all transition map
entries are stabilized, repeatedly verifies the same entry. Check each
entry in turn.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 16 2019, 10:22 AM

The code is correct, but the summary is wrong.

dougm retitled this revision from look for protection violations in each map entry to look for in-transition status in each map entry.Nov 16 2019, 4:45 PM
dougm edited the summary of this revision. (Show Details)

Clean up the comment following the change.

This revision now requires review to proceed.Nov 16 2019, 5:16 PM
sys/vm/vm_map.c
2479 ↗(On Diff #64449)

" ... but not yet have its MAP_ENTRY_USER_WIRED flag set and visible ...

dougm marked an inline comment as done.

While I think that this change is unquestionably correct, I would still ask Peter to test it.

sys/vm/vm_map.c
2480–2481 ↗(On Diff #64449)

I think that the "and" clause can simply be deleted. In other worlds, we can simply say, "... flag set. In which case, we would fail to ..."

dougm added a subscriber: pho.

I tested D22405.64459.diff for 10 hours without seeing any problems.

This revision is now accepted and ready to land.Nov 17 2019, 6:46 AM