Page MenuHomeFreeBSD

Adjust v_freecnt when blacklisting pages.
ClosedPublic

Authored by markj on Thu, Nov 29, 12:11 AM.

Details

Summary

This bug has been around for a while, but the blacklisting facility was
only used if you specified pages with the vm.blacklist tunable.
However, r332182 added a new use. This problem is particularly
pronounced on 11.2 where we expect vm_phys to return a page if
v_free_count says that there's one available.

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

markj created this revision.Thu, Nov 29, 12:11 AM
kib accepted this revision.Thu, Nov 29, 7:33 AM
This revision is now accepted and ready to land.Thu, Nov 29, 7:33 AM
alc accepted this revision.Thu, Nov 29, 3:37 PM
mav accepted this revision.Thu, Nov 29, 4:13 PM

Looks good to me. I applied the version for 11 you've proposed on IRC and so far the benchmark runs for about 20 minutes, while previously crashed after about 5. I'll let you know if it ever happen again.

This revision was automatically updated to reflect the committed changes.