From owner-freebsd-current Fri Nov 22 12: 2: 6 2002 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id 44DE737B401; Fri, 22 Nov 2002 12:02:05 -0800 (PST) Date: Fri, 22 Nov 2002 12:02:05 -0800 From: Juli Mallett To: "David W. Chapman Jr." Cc: Kris Kennaway , current@FreeBSD.org Subject: Re: Lots of swapping from 'kldload acpi' Message-ID: <20021122120205.A38536@FreeBSD.org> References: <20021122195629.GA26958@rot13.obsecurity.org> <20021122195911.GB40847@leviathan.inethouston.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021122195911.GB40847@leviathan.inethouston.net>; from dwcjr@inethouston.net on Fri, Nov 22, 2002 at 01:59:11PM -0600 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: "David W. Chapman Jr." [ Data: 2002-11-22 ] [ Subjecte: Re: Lots of swapping from 'kldload acpi' ] > On Fri, Nov 22, 2002 at 11:56:29AM -0800, Kris Kennaway wrote: > > I tried to kldload acpi on a system that has been running for about 3 > > days, and the kldload process has been sitting there swapping for > > about an hour now. Breaking into DDB shows that > > acpi_alloc_wakeup_handler() is trying to contigmalloc(), and this is > > swapping around presumably trying to find enough space. The kldload > > process is unkillable from userland because it's working in the > > kernel. > > > > Can something be done to guard against this? > > From what I was told you can't kldload acpi after boot or that you > shouldn't. It might make sense to (once we go to user-space) prevent kldloading anything that calls contigmalloc(). -- Juli Mallett OpenDarwin, Mono, FreeBSD Developer. ircd-hybrid Developer, EFnet addict. FreeBSD on MIPS-Anything on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message