From owner-cvs-all Sun Jul 7 21:24:33 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC4EF37B400; Sun, 7 Jul 2002 21:24:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C21E43E3B; Sun, 7 Jul 2002 21:24:26 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g684OQJU008449; Sun, 7 Jul 2002 21:24:26 -0700 (PDT) (envelope-from peter@freefall.freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g684OQxV008448; Sun, 7 Jul 2002 21:24:26 -0700 (PDT) Message-Id: <200207080424.g684OQxV008448@freefall.freebsd.org> From: Peter Wemm Date: Sun, 7 Jul 2002 21:24:26 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c src/sys/powerpc/powerpc pmap.c src/sys/sparc64/sparc64 pmap.c src/sys/vm pmap.h vm_zeroidle.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 peter 2002/07/07 21:24:26 PDT Modified files: sys/alpha/alpha pmap.c sys/i386/i386 pmap.c sys/ia64/ia64 pmap.c sys/powerpc/powerpc pmap.c sys/sparc64/sparc64 pmap.c sys/vm pmap.h vm_zeroidle.c Log: Add a special page zero entry point intended to be called via the single threaded VM pagezero kthread outside of Giant. For some platforms, this is really easy since it can just use the direct mapped region. For others, IPI sending is involved or there are other issues, so grab Giant when needed. We still have preemption issues to deal with, but Alan Cox has an interesting suggestion on how to minimize the problem on x86. Use Luigi's hack for preserving the (lack of) priority. Turn the idle zeroing back on since it can now actually do something useful outside of Giant in many cases. Revision Changes Path 1.97 +15 -0 src/sys/alpha/alpha/pmap.c 1.335 +36 -2 src/sys/i386/i386/pmap.c 1.68 +16 -0 src/sys/ia64/ia64/pmap.c 1.42 +11 -0 src/sys/powerpc/powerpc/pmap.c 1.68 +16 -0 src/sys/sparc64/sparc64/pmap.c 1.48 +1 -0 src/sys/vm/pmap.h 1.11 +9 -7 src/sys/vm/vm_zeroidle.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message