Page MenuHomeFreeBSD

Move fault page allocation into its own routine.
ClosedPublic

Authored by jeff on Wed, Jan 22, 7:17 PM.

Details

Summary

This change has a small functional difference. oom now counts the number of successive page allocation failures and is reset when there is no failure. It used to reset when there was any restart condition unrelated to oom. I don't have strong feelings about it but I think this is a better test. Blocking on a backing busy lock should not clear oom IMO. If we want the old behavior I need a different return code for OOM.

Diff Detail

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

Event Timeline

jeff created this revision.Wed, Jan 22, 7:17 PM
jeff edited the summary of this revision. (Show Details)Wed, Jan 22, 7:22 PM
jeff added reviewers: alc, dougm, kib, markj.
jeff set the repository for this revision to rS FreeBSD src repository.
kib accepted this revision.Wed, Jan 22, 8:18 PM
This revision is now accepted and ready to land.Wed, Jan 22, 8:18 PM