From owner-cvs-all Mon Jun 17 15: 2:59 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A136837B43D; Mon, 17 Jun 2002 15:02:42 -0700 (PDT) Received: (from jeff@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5HM2gC40310; Mon, 17 Jun 2002 15:02:42 -0700 (PDT) (envelope-from jeff) Message-Id: <200206172202.g5HM2gC40310@freefall.freebsd.org> From: Jeff Roberson Date: Mon, 17 Jun 2002 15:02:42 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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