From owner-freebsd-hackers Fri Aug 3 11:35:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 32B9E37B40F for ; Fri, 3 Aug 2001 11:34:51 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from opal (cs.binghamton.edu [128.226.123.101]) by bingnet2.cc.binghamton.edu (8.11.4/8.11.4) with ESMTP id f73IYcs21840 for ; Fri, 3 Aug 2001 14:34:38 -0400 (EDT) Date: Fri, 3 Aug 2001 14:34:17 -0400 (EDT) From: Zhihui Zhang X-Sender: zzhang@opal To: freebsd-hackers@FreeBSD.ORG Subject: Re: Allocate a page at interrupt time In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I should have guessed the reason. Matthew Dillon answered this question on Fri, 2 Jun 2000 as follows: The VM routines that manage pages associated with objects are not protected against interrupts, so interrupts aren't allowed to change page-object associations. Otherwise an interrupt at just the wrong time could corrupt the mainline kernel VM code. On Thu, 2 Aug 2001, Zhihui Zhang wrote: > > FreeBSD can not allocate from the PQ_CACHE queue in an interrupt context. > Can anyone explain it to me why this is the case? > > > Thanks, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message