6.2 -> 7.0 now mlock(2) fails
Giorgos Keramidas
keramida at ceid.upatras.gr
Sat Apr 12 22:01:11 UTC 2008
On Sat, 12 Apr 2008 23:55:49 +0200, Mel <fbsd.questions at rachie.is-a-geek.net> wrote:
> As for the sysctl, I'm pretty sure it's a loader tunable, like the
> more known kern.maxdsiz.
It is. The pageout daemon initializes max_wired with:
/* XXX does not really belong here */
if (vm_page_max_wired == 0)
vm_page_max_wired = cnt.v_free_count / 3;
If it's already initialized when the pageout daemon runs, it won't
change its value. Before tweaking it, it would be nice to know more
details though :)
More information about the freebsd-questions
mailing list