Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 13:29:13 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: ACPI panic on unplugging the power cord.
Message-ID:  <51017D79.6060202@FreeBSD.org>
In-Reply-To: <510101B4.4030409@FreeBSD.org>
References:  <20130122175629.GA1714@garage.freebsd.pl> <51008661.4060006@FreeBSD.org> <510101B4.4030409@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-01-24 04:41:08 -0500, Andriy Gapon wrote:
> on 24/01/2013 02:54 Jung-uk Kim said the following:
>> 
>> Can you please try the attached patch?  It is also available from
>> here:
>> 
>> http://people.freebsd.org/~jkim/utcache.diff
> 
> Jung-uk,
> 
> I think that I have a much better patch for all potential ACPI
> object cache problems :-) 
> http://people.freebsd.org/~avg/acpi-uma-cache.diff
> 
> What do you think?

We have to fix this bug because local cache is always used for
userland applications, e.g., iasl.

BTW, I tried something like that long ago.  In fact, the first attempt
goes all the way back to this patch (warning: it's naive, broken, and
overly complicated):

http://people.freebsd.org/~jkim/acpica/OsdCache.diff

I have more up-to-date and correct patch to use UMA but I'm still not
100% convinced whether we want to do it or not.  When utcache.c works,
it works fairly well, actually. :-)

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJRAX15AAoJECXpabHZMqHOyoAH/i1eccONiETE+LiHlApmL+zy
Y1h1D+R/S8hJ55fQ7i/2CkqAhNdHFI+TCrt2YIPNXS79VP9xyNRa+gPGHNqYUTF4
nv34ZpSi5MMERg7r+mOitNjPZfy+aiyDHI/PQFZ4lQR+by3c1HogKAwNPhLn0rxF
NiA+X11lkcbBCxb4HzH8kSI5wFW/e5tEAHgGTrxJLzS1IGTbRBYLV6lA+ITBR0wu
EzGw3FEU2pO2jDL3WxsM0vg/4VMCZvsnezxvRQ1XPbdJe4UU0ri3VgqzFX6N5ThI
AeDuehji9lZiZc6Hjn35jSxq5KpzMiOj6bjLTEeO5zIdjmeGUWiMex+aoRrFOGU=
=/bG6
-----END PGP SIGNATURE-----



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