]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
thread: stash domain id to work around vtophys problems on ppc64
authormjg <mjg@FreeBSD.org>
Mon, 23 Nov 2020 18:26:47 +0000 (18:26 +0000)
committermjg <mjg@FreeBSD.org>
Mon, 23 Nov 2020 18:26:47 +0000 (18:26 +0000)
commit0f4de3e9cc0810241ffb3965b43be07e6d38fb3e
tree30bf4a15063846d347efce66ff926561cb204328
parent00f1b600b3f12f69e0cd2da8bfd7ca66b88313a7
thread: stash domain id to work around vtophys problems on ppc64

Adding to zombie list can be perfomed by idle threads, which on ppc64 leads to
panics as it requires a sleepable lock.

Reported by: alfredo
Reviewed by: kib, markj
Fixes: r367842 ("thread: numa-aware zombie reaping")
Differential Revision: https://reviews.freebsd.org/D27288
sys/kern/kern_thread.c
sys/sys/proc.h