Page MenuHomeFreeBSD

Adjust v_freecnt when blacklisting pages.

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



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

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

Event Timeline

This revision is now accepted and ready to land.Nov 29 2018, 7:33 AM

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.