Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Question about strange panic with NetBSD-domu versus FreeBSD dom0.



On Tue, Oct 10, 2023 at 09:29:48AM -0700, Brian Buhrow wrote:
> 	hello.  thank you for the explanation.  It seems this problem might be explained by the
> commit to xen/x86/xen_intr.c V1.31, which says that reading from curcpu is unstable if not
> protected from kernel preemption.

but AFAIK xen_read_psl() does a kpreept_disable() before reading curcpu,
so it should be safe. Or I am missing something ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index