From owner-svn-src-all@FreeBSD.ORG Sat Nov 10 17:49:32 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C75AD78F for ; Sat, 10 Nov 2012 17:49:32 +0000 (UTC) (envelope-from peter@wemm.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 325618FC08 for ; Sat, 10 Nov 2012 17:49:32 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id gg13so84898lbb.13 for ; Sat, 10 Nov 2012 09:49:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2eIS91y7OP7ePdhLqEgRAKKQHJPxQnNcZfQz1tJ1MB4=; b=LJM1goP1B2HENw9cTgOBKFErb3EeVBKZoaSMIudacmSlM81Lffq5fFnDNmR9o5Ln/i iqvz4pbggRHy48TmuSrcGd9Snp4gyCyH1Id7jSE6m4MQNsIuXSTPbTV3beP47rZjloVb lIzU6gM59DiW2Y5j7DhqlnpYic+bVbfxHBthA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=2eIS91y7OP7ePdhLqEgRAKKQHJPxQnNcZfQz1tJ1MB4=; b=OmCQlCHmVGo9eeDmQv+ALZ0hkltkWVVBJ6eRSfB4IByzmY5Gsyg8TUVtLqGFvrPkUW hcW8U9moo70LpwVcziIKotxOr2MUe7j7ZpakIqZvq4tsOtqjR83eHp0V3wKnySazxoow r18d9+GS0hG9OHx8bnYVbeWDdVYZwgOzGQldkqoo0lty3oyO7uzmHrF68d58bm6IFG8A Z1LVYo9wt+QOlLltj/gaC2gvCKJd4KyqBlpMmSDtMjohc06hxwjqxYBydpChlpTxnR28 pTOv5WobDCWR9p+i2Vno3bZdaLjOyV0SDONtmJpudnN63KXoaMnTHjl4t+UdGRUVn5u0 9E1Q== MIME-Version: 1.0 Received: by 10.152.104.50 with SMTP id gb18mr14063337lab.9.1352569771002; Sat, 10 Nov 2012 09:49:31 -0800 (PST) Received: by 10.112.100.230 with HTTP; Sat, 10 Nov 2012 09:49:30 -0800 (PST) In-Reply-To: References: <201211100208.qAA28e0v004842@svn.freebsd.org> <509DC25E.5030306@mu.org> <509E3162.5020702@FreeBSD.org> <509E7E7C.9000104@mu.org> <509E830D.5080006@mu.org> <1352568275.17290.85.camel@revolution.hippie.lan> Date: Sat, 10 Nov 2012 09:49:30 -0800 Message-ID: Subject: Re: svn commit: r242847 - in head/sys: i386/include kern From: Peter Wemm To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkeQB8fjaarE4SLudcuzm7HslQrE1nqq5uczW0xT7mGRbZ3o2CYHgq4ccBmy3OF5tHnsE+g Cc: src-committers@freebsd.org, Eitan Adler , Alfred Perlstein , svn-src-all@freebsd.org, Alfred Perlstein , svn-src-head@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 17:49:32 -0000 On Sat, Nov 10, 2012 at 9:43 AM, Peter Wemm 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