Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 09:49:30 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Ian Lepore <freebsd@damnhippie.dyndns.org>
Cc:        src-committers@freebsd.org, Eitan Adler <eadler@freebsd.org>, Alfred Perlstein <alfred@freebsd.org>, svn-src-all@freebsd.org, Alfred Perlstein <bright@mu.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r242847 - in head/sys: i386/include kern
Message-ID:  <CAGE5yCrjCtNkbDrys61rnZCOVRLoUdDXECYcOw5EH5zsrMrecg@mail.gmail.com>
In-Reply-To: <CAGE5yCp4N7fML05-Tomm0TM-ROBSka5%2Bb9EKJTFR%2ByUpFuGj5Q@mail.gmail.com>
References:  <201211100208.qAA28e0v004842@svn.freebsd.org> <CAF6rxg=HPmQS1T-LFsZ=DuKEqH30iJFpkz%2BJGhLr4OBL8nohjg@mail.gmail.com> <509DC25E.5030306@mu.org> <509E3162.5020702@FreeBSD.org> <509E7E7C.9000104@mu.org> <CAF6rxgmV8dx-gsQceQKuMQEsJ%2BGkExcKYxEvQ3kY%2B5_nSjvA3w@mail.gmail.com> <509E830D.5080006@mu.org> <1352568275.17290.85.camel@revolution.hippie.lan> <CAGE5yCp4N7fML05-Tomm0TM-ROBSka5%2Bb9EKJTFR%2ByUpFuGj5Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 10, 2012 at 9:43 AM, Peter Wemm <peter@wemm.org> wrote:

> /* pick smaller of kva pages or physical pages */
> if ((physpages / 16) < (kvapages / 16))
> nmbclusters = physpages / 16;
> else
> nmbclusters = kvapages / 16;

(note: not actual numbers.. kva pages doesn't exist and there's a
pages vs cluster size factor missing.  The example was for the
discussion)

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell



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