Date: Mon, 17 Jun 2002 15:02:42 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys malloc.h src/sys/vm uma.h uma_core.c uma_int.h vm_map.c src/sys/i386/i386 pmap.c Message-ID: <200206172202.g5HM2gC40310@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2002/06/17 15:02:42 PDT Modified files: sys/sys malloc.h sys/vm vm_map.c uma_core.c uma_int.h uma.h sys/i386/i386 pmap.c Log: - Introduce the new M_NOVM option which tells uma to only check the currently allocated slabs and bucket caches for free items. It will not go ask the vm for pages. This differs from M_NOWAIT in that it not only doesn't block, it doesn't even ask. - Add a new zcreate option ZONE_VM, that sets the BUCKETCACHE zflag. This tells uma that it should only allocate buckets out of the bucket cache, and not from the VM. It does this by using the M_NOVM option to zalloc when getting a new bucket. This is so that the VM doesn't recursively enter itself while trying to allocate buckets for vm_map_entry zones. If there are already allocated buckets when we get here we'll still use them but otherwise we'll skip it. - Use the ZONE_VM flag on vm map entries and pv entries on x86. Revision Changes Path 1.323 +1 -1 src/sys/i386/i386/pmap.c 1.64 +1 -0 src/sys/sys/malloc.h 1.8 +1 -0 src/sys/vm/uma.h 1.28 +17 -3 src/sys/vm/uma_core.c 1.9 +1 -0 src/sys/vm/uma_int.h 1.253 +2 -1 src/sys/vm/vm_map.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206172202.g5HM2gC40310>