Page MenuHomeFreeBSD

Move zero fill into its own function so that the object locking is more clear.

Authored by jeff on Jan 22 2020, 9:03 PM.



This will be my final code restructuring for a while. I will work on retooling comments and possibly asserts after these go in.

I made this change so it was obvious where the vm object lock is dropped. I like the way this is turning out because you can see clearly where it is picked up and dropped all in the main loop which is now small enough to see on a large terminal. The only indirect places come from deallocate or the lock swap in fault_next.

My intent is to test this whole series as a unit and commit them back to back.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jeff created this revision.Jan 22 2020, 9:03 PM
jeff edited the summary of this revision. (Show Details)Jan 22 2020, 9:10 PM
jeff added reviewers: alc, dougm, kib, markj.
jeff set the repository for this revision to rS FreeBSD src repository.
kib accepted this revision.Jan 22 2020, 9:46 PM
This revision is now accepted and ready to land.Jan 22 2020, 9:46 PM