Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Dec 2012 10:02:46 +0100
From:      =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-acpi@FreeBSD.org
Subject:   Re: [rfc] bind curthread to target cpu for _CST change notification
Message-ID:  <50B9C7B6.1040306@FreeBSD.org>
In-Reply-To: <50B8951D.1000609@FreeBSD.org>
References:  <50AE3C66.2050207@FreeBSD.org> <1353872249.20189.3.camel@powernoodle> <50B77F4B.8070701@FreeBSD.org> <50B8951D.1000609@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFECCC3B61247D10FDDE0689F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 30.11.2012 12:14, Andriy Gapon wrote:
> Here is my WIP:
> http://people.freebsd.org/~avg/acpi_cpu_notify.2.diff

Hi Andriy!

I tried your last patch and it fixed a page fault I had since r243404 (I
couldn't investigate the problem before this week-end).

This page fault corresponds to the point #2 of your patch ("avoid race
acpi_cpu_cx_cst and acpi_cpu_idle"). In my case, acpi_cpu_cx_cst is
triggered every 10 seconds (I don't know if it's expected). This frees
cx_ptr->p_lvlx each time (new in r243404), and concurrently,
CPU_GET_REG(cx_next->p_lvlx, 1) causes the page fault in acpi_cpu_idle().=


By the way, should _CST appear in a dump from acpidump(8)?

Thanks a lot!

--=20
Jean-S=E9bastien P=E9dron


--------------enigFECCC3B61247D10FDDE0689F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEUEARECAAYFAlC5x8AACgkQa+xGJsFYOlMw0QCUCPSRmdb7WGxW3WKjU3OhduJp
CACg2sq4hCa6OKsyIE/D1+wHPvkxF80=
=Sazz
-----END PGP SIGNATURE-----

--------------enigFECCC3B61247D10FDDE0689F--



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