svn commit: r254141 - in head/sys: amd64/amd64 dev/drm2/i915 dev/drm2/ttm i386/i386 kern vm

Tijl Coosemans tijl at FreeBSD.org
Fri Aug 9 15:53:37 UTC 2013


On Fri, 9 Aug 2013 11:28:56 +0000 (UTC) Attilio Rao wrote:
> Author: attilio
> Date: Fri Aug  9 11:28:55 2013
> New Revision: 254141
> URL: http://svnweb.freebsd.org/changeset/base/254141
> 
> Log:
>   On all the architectures, avoid to preallocate the physical memory
>   for nodes used in vm_radix.
>   On architectures supporting direct mapping, also avoid to pre-allocate
>   the KVA for such nodes.
>   
>   In order to do so make the operations derived from vm_radix_insert()
>   to fail and handle all the deriving failure of those.
>   
>   vm_radix-wise introduce a new function called vm_radix_replace(),
>   which can replace a leaf node, already present, with a new one,
>   and take into account the possibility, during vm_radix_insert()
>   allocation, that the operations on the radix trie can recurse.
>   This means that if operations in vm_radix_insert() recursed
>   vm_radix_insert() will start from scratch again.
>   
>   Sponsored by:	EMC / Isilon storage division
>   Reviewed by:	alc (older version)
>   Reviewed by:	jeff
>   Tested by:	pho, scottl

VPO_BUSY doesn't appear to be defined anywhere:

cc  -c -O -pipe -march=pentium4m -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality  -nostdinc  -I. -I/usr/home/tijl/projects/freebsd/base/head/sys -I/usr/home/tijl/projects/freebsd/base/head/sys/contrib/altq -I/usr/home/tijl/projects/freebsd/base/head/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  /usr/home/tijl/projects/freebsd/base/head/sys/vm/vm_page.c
/usr/home/tijl/projects/freebsd/base/head/sys/vm/vm_page.c:1205:21: error: use of undeclared identifier 'VPO_BUSY'
        if (mold->oflags & VPO_BUSY) {
                           ^
/usr/home/tijl/projects/freebsd/base/head/sys/vm/vm_page.c:1206:20: error: use of undeclared identifier 'VPO_BUSY'
                mold->oflags &= ~VPO_BUSY;
                                 ^
2 errors generated.


More information about the svn-src-head mailing list