Re: ACPI panic on unplugging the power cord.

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Thu, 24 Jan 2013 13:29:13 -0500
-----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-----
Received on Thu Jan 24 2013 - 17:30:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC