[rfc] bind curthread to target cpu for _CST change notification

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Sat Dec 1 09:02:59 UTC 2012


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!

-- 
Jean-Sébastien Pédron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20121201/2e8ae2a7/attachment.sig>


More information about the freebsd-acpi mailing list