Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2008 01:00:41 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd@sopwith.solgatos.com, freebsd-questions@freebsd.org
Subject:   Re: 6.2 -> 7.0 now mlock(2) fails
Message-ID:  <87ve2m7mye.fsf@kobe.laptop>
In-Reply-To: <200804122355.49490.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Sat, 12 Apr 2008 23:55:49 %2B0200")
References:  <200804122051.UAA06080@sopwith.solgatos.com> <200804122355.49490.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Apr 2008 23:55:49 +0200, Mel <fbsd.questions@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 :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ve2m7mye.fsf>