From owner-svn-src-head@freebsd.org Sun Jul 23 19:21:58 2017 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 3021EDAB2C1; Sun, 23 Jul 2017 19:21:58 +0000 (UTC) (envelope-from alc@rice.edu) Received: from pp2.rice.edu (proofpoint2.mail.rice.edu [128.42.201.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0084F6BD14; Sun, 23 Jul 2017 19:21:57 +0000 (UTC) (envelope-from alc@rice.edu) Received: from pps.filterd (pp2.rice.edu [127.0.0.1]) by pp2.rice.edu (8.16.0.17/8.16.0.17) with SMTP id v6NIpHNG022929; Sun, 23 Jul 2017 14:21:49 -0500 Received: from mh3.mail.rice.edu (mh3.mail.rice.edu [128.42.199.10]) by pp2.rice.edu with ESMTP id 2bv1rj88bv-1; Sun, 23 Jul 2017 14:21:49 -0500 X-Virus-Scanned: by amavis-2.7.0 at mh3.mail.rice.edu, auth channel Received: from 108-254-203-201.lightspeed.hstntx.sbcglobal.net (108-254-203-201.lightspeed.hstntx.sbcglobal.net [108.254.203.201]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh3.mail.rice.edu (Postfix) with ESMTPSA id B4E0F4003F; Sun, 23 Jul 2017 14:21:48 -0500 (CDT) Subject: Re: svn commit: r321386 - head/sys/vm To: Ian Lepore , Alan Cox , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201707231628.v6NGSDoa092418@repo.freebsd.org> <1500836984.24226.316.camel@freebsd.org> From: Alan Cox Message-ID: Date: Sun, 23 Jul 2017 14:21:47 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1500836984.24226.316.camel@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=3 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611190142 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: Sun, 23 Jul 2017 19:21:58 -0000 On 07/23/2017 14:09, Ian Lepore wrote: > On Sun, 2017-07-23 at 16:28 +0000, Alan Cox wrote: >> Author: alc >> Date: Sun Jul 23 16:28:13 2017 >> New Revision: 321386 >> URL: https://svnweb.freebsd.org/changeset/base/321386 >> >> Log: >> Utilize pmap_enter(..., psind=1) in vm_fault_soft_fast() on >> amd64. (The >> Differential Revision discusses the benefits of this change.) >> >> Add a function, vm_reserv_to_superpage(), that returns the >> superpage >> containing the specified base page. >> >> Reviewed by: kib, markj >> Tested by: pho >> MFC after: 10 days >> Differential Revision: https://reviews.freebsd.org/D11556 >> >> Modified: >> head/sys/vm/vm_fault.c >> head/sys/vm/vm_reserv.c >> head/sys/vm/vm_reserv.h >> > Arches that build with old gcc 4.2.1 are complaining: > > /b/staging/freebsd/head/src/sys/vm/vm_fault.c:273:6: error: unused > variable 'flags' [-Werror,-Wunused-variable] I see. I'll commit a fix in a few minutes. Thanks.