Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2002 12:02:05 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc:        Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.org
Subject:   Re: Lots of swapping from 'kldload acpi'
Message-ID:  <20021122120205.A38536@FreeBSD.org>
In-Reply-To: <20021122195911.GB40847@leviathan.inethouston.net>; from dwcjr@inethouston.net on Fri, Nov 22, 2002 at 01:59:11PM -0600
References:  <20021122195629.GA26958@rot13.obsecurity.org> <20021122195911.GB40847@leviathan.inethouston.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: "David W. Chapman Jr." <dwcjr@inethouston.net> [ 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 <jmallett@FreeBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021122120205.A38536>