Date: Wed, 29 Jul 2015 22:20:26 +0200 From: Michio Honda <micchie@sfc.wide.ad.jp> To: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Shutdown fails when there is an active kthread pinned to CPU core 0 Message-ID: <BB7DBA71-58A8-423D-8863-E7FB5168EBB1@sfc.wide.ad.jp>
next in thread | raw e-mail | index | archive | help
Hi, When I create a kthread (kthread_add()) and pin it to CPU 0 (sched_bind() i= n the beginning of its worker function),=20 shutdown (from the command line) is stuck on a message of "Waiting (max 60 = seconds) for system process `vnlru' to stop..=E2=80=9D. If I pin it to CPU 1 there= is no problem. I=E2=80=99m using FreeBSD CURRENT whose last commit is bf0aa3510005188e55285fbed4= 3d93a34448e377 (on July 3rd). Do you have any idea to successfully shutdown the system while leaving a kt= hread pinned on CPU 0? (I have this problem in the process of implementing a polling kthread for V= ALE.) Cheers, - Michio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BB7DBA71-58A8-423D-8863-E7FB5168EBB1>