From owner-svn-src-head@freebsd.org Thu Nov 24 20:07:46 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F4EDC54651; Thu, 24 Nov 2016 20:07:46 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56C847E7; Thu, 24 Nov 2016 20:07:46 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by mail-io0-x242.google.com with SMTP id j92so6465283ioi.0; Thu, 24 Nov 2016 12:07:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=cc:message-id:from:to:in-reply-to:content-transfer-encoding :mime-version:subject:date:references; bh=kSGQaKQRVWi3eGrBg+9iGHBdWNV+B19LOf5OE+7DcKw=; b=K8puatnNnWfyIABR+QvPt0/VFfsVbKJsgvNRw+W+VVAelfCqKchuNyusSeWedppHMa IAz8RiVeA5D5NUnHCMP/OvzwtAavabtj/AQkT17dJN7o7nhmp7185sGvsPTNkdg0yIaP exZrCOyKlZpzOQ2uxBjdQtV1XnqfpdJK0qIs+aMfSFDlyIVCw2rvBnoFOlvzL0XI2zvx 8ayofi9MHmYqXf6/K6vqAFSf/6n//lXmWzROutG7HcBKVrgsA/7aCahDKqPfUupvyn/Y Z9srv4ntUsJKRo+b5fhnZs54Kq16drJps1lkiYNVIerZ09OmJ+xZeF/6xxjBM1VevV3M 9A4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:cc:message-id:from:to:in-reply-to :content-transfer-encoding:mime-version:subject:date:references; bh=kSGQaKQRVWi3eGrBg+9iGHBdWNV+B19LOf5OE+7DcKw=; b=Zw+Leq6YTpqM6z9RFkoWl+wMZMtpIwO+A/SY4Ld9w6cgk6mekckpdY7Csl8BtMnVSV bQaFwnuFCZLe1hAqB1ZvbzMqy54mPLV9HSf0/b5LbRJx2/vk3NKhBGJpnocoFWXq4Yp/ e11xiHc69/4E+FQXVC9tiez31fNFr99ZI/vuXssit6GvF0pWf3R6pvu7MRLp5ApZ/dXp qhhjpZj6gt2/aWsot/WALuGz0bCvdH81p8pRLR11vyGmTE0qdxcNhQIlpU1HxfmcqVDj GfEriGrmjDz/WqJGW90jkeNTi9E2Vq/AFCOLMSzWFKezx2XEX60l/xHxZuGSybeebSuw fb2w== X-Gm-Message-State: AKaTC01JIP+YrQ1kXXT7N+7v0vbsIq8ePjsiP6wN5o+DjupPA/bDHvnkdvRDSXMIjdRo9g== X-Received: by 10.36.6.76 with SMTP id 73mr3623196itv.0.1480018065532; Thu, 24 Nov 2016 12:07:45 -0800 (PST) Received: from blackstar.knownspace (50-80-150-234.client.mchsi.com. [50.80.150.234]) by smtp.gmail.com with ESMTPSA id w143sm3283166itc.0.2016.11.24.12.07.44 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 24 Nov 2016 12:07:45 -0800 (PST) Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: <762C1A8D-D1A5-486E-AC52-969AE1F2F45A@gmail.com> From: Justin Hibbits To: Alan Cox In-Reply-To: <201611221813.uAMIDkHQ071392@repo.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: svn commit: r309017 - in head/sys: cddl/compat/opensolaris/sys compat/linprocfs fs/tmpfs sys vm Date: Thu, 24 Nov 2016 14:07:43 -0600 References: <201611221813.uAMIDkHQ071392@repo.freebsd.org> X-Mailer: Apple Mail (2.936) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2016 20:07:46 -0000 On Nov 22, 2016, at 12:13 PM, Alan Cox wrote: > Author: alc > Date: Tue Nov 22 18:13:46 2016 > New Revision: 309017 > URL: https://svnweb.freebsd.org/changeset/base/309017 > > Log: > Remove PG_CACHED-related fields from struct vmmeter, because they > are no > longer used. More precisely, they are always zero because the code > that > decremented and incremented them no longer exists. > > Bump __FreeBSD_version to mark this change. > > Reviewed by: kib, markj > Sponsored by: Dell EMC Isilon > Differential Revision: https://reviews.freebsd.org/D8583 > > Modified: > head/sys/cddl/compat/opensolaris/sys/kmem.h > head/sys/compat/linprocfs/linprocfs.c > head/sys/fs/tmpfs/tmpfs_subr.c > head/sys/sys/param.h > head/sys/sys/vmmeter.h > head/sys/vm/swap_pager.c > head/sys/vm/vm_meter.c > head/sys/vm/vm_page.c > head/sys/vm/vnode_pager.c > > Modified: head/sys/sys/vmmeter.h > = > = > = > = > = > = > = > = > ====================================================================== > --- head/sys/sys/vmmeter.h Tue Nov 22 18:13:04 2016 (r309016) > +++ head/sys/sys/vmmeter.h Tue Nov 22 18:13:46 2016 (r309017) > @@ -80,7 +80,6 @@ struct vmmeter { > u_int v_pdpages; /* (p) pages analyzed by daemon */ > u_int v_pdshortfalls; /* (p) page reclamation shortfalls */ > > - u_int v_tcached; /* (p) total pages cached */ > u_int v_dfree; /* (p) pages freed by daemon */ > u_int v_pfree; /* (p) pages freed by exiting processes */ > u_int v_tfree; /* (p) total pages freed */ > @@ -98,7 +97,6 @@ struct vmmeter { > u_int v_inactive_target; /* (c) pages desired inactive */ > u_int v_inactive_count; /* (q) pages inactive */ > u_int v_laundry_count; /* (q) pages eligible for laundering */ > - u_int v_cache_count; /* (f) pages on cache queue */ > u_int v_pageout_free_min; /* (c) min pages reserved for kernel */ > u_int v_interrupt_free_min; /* (c) reserved pages for int code */ > u_int v_free_severe; /* (c) severe page depletion point */ Removing these fields cause build failures, at least with MPC85XX/ MPC85XXSPE (see make universe), because it ends up changing the size of struct pcpu. - Justin