From owner-svn-src-all@FreeBSD.ORG Thu Mar 22 08:12:12 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A77A5106564A; Thu, 22 Mar 2012 08:12:12 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 782338FC19; Thu, 22 Mar 2012 08:12:11 +0000 (UTC) Received: by lagv3 with SMTP id v3so1905493lag.13 for ; Thu, 22 Mar 2012 01:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SzyoXrUkahv/tazfxUrvh7E6wwzbJfQ+x8vabFAXKWI=; b=IvRPaJ0ku5EqGuXx072o9HbUlZnwlxQbTSMVl1ni0nW5+/1HIfrYV5myn/89Nfq0w9 wmTK3XKkI+kvIGfG2hJ/5eRxf7+W080yrDJyImDoZlnVhFtlIiKmpPbMpKhG+AXnj/jw p9GEBYWq+36tL1m0ygPxCBA1MW4Ckh2ENmay3hyFtK6kKnuT0PV5Qylv5HEXrWgEic5T Eq+RENWkl+a2bASr5Yty2iUCWYONTU5aiAGMUggsMYYiD6PE2tU7NpkcO0D6AfQIs1xy HK55XJj4B0K2hkRgGPBhJAbslpxUdP1YtQeRchaqzqHp8OJnqACl1ffSO7D2rhbLqxxp S0+g== MIME-Version: 1.0 Received: by 10.152.104.43 with SMTP id gb11mr5070210lab.8.1332403930177; Thu, 22 Mar 2012 01:12:10 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.152.21.73 with HTTP; Thu, 22 Mar 2012 01:12:10 -0700 (PDT) In-Reply-To: <201203220440.q2M4eMSl007771@svn.freebsd.org> References: <201203220440.q2M4eMSl007771@svn.freebsd.org> Date: Thu, 22 Mar 2012 11:12:10 +0300 X-Google-Sender-Auth: CAbP7qgZYxs_Nyy6s0ryhOQg4Zs Message-ID: From: Sergey Kandaurov To: Alan Cox Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r233290 - head/sys/amd64/amd64 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 22 Mar 2012 08:12:12 -0000 On 22 March 2012 08:40, Alan Cox wrote: > Author: alc > Date: Thu Mar 22 04:40:22 2012 > New Revision: 233290 > URL: http://svn.freebsd.org/changeset/base/233290 > > Log: > =A0Change pv_entry_count to a long. =A0During the lifetime of FreeBSD 10.= x, > =A0physical memory sizes at the high-end will likely reach a point that > =A0the number of pv entries could overflow an int. > > =A0Submitted by: kib > > Modified: > =A0head/sys/amd64/amd64/pmap.c > While there, maybe also do something with these semi-debug-ish vm.pmap.pc_chunk_(allocs|frees) like change them to [u_]long too, move under debug or just drop them? While they can be useful for someone, pc_chunk_(allocs|frees) have also an "int" and quite quickly overflow. Though e.g. vm.pmap.pv_entry_(allocs|frees) have a long. --=20 wbr, pluknet