svn commit: r242847 - in head/sys: i386/include kern

Eitan Adler eadler at freebsd.org
Sat Nov 10 02:34:59 UTC 2012


On 9 November 2012 21:08, Alfred Perlstein <alfred at freebsd.org> wrote:
> Modified: head/sys/kern/subr_param.c
> +#ifdef VM_MAX_AUTOTUNE_MAXUSERS
> +                if (maxusers > VM_MAX_AUTOTUNE_MAXUSERS)
> +                        maxusers = VM_MAX_AUTOTUNE_MAXUSERS;
> +#endif
> +                /*
> +                 * Scales down the function in which maxusers grows once
> +                 * we hit 384.
> +                 */
> +                if (maxusers > 384)
> +                        maxusers = 384 + ((maxusers - 384) / 8);
> +        }

Hey,

I know you didn't introduce this magic number 384. But can you (or
someone else) explain where it came from?

-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams


More information about the svn-src-head mailing list