svn commit: r321386 - head/sys/vm

Alan Cox alc at rice.edu
Sun Jul 23 19:21:58 UTC 2017


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.



More information about the svn-src-all mailing list