Port-i386 archive

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

Re: SPL NOT ZERO ON SYSCALL ENTRY



ad%NetBSD.org@localhost said:
> I also suspect it's some corner case or race condition with the soft
> interrupt code. 

I've got a nice DDB stacktrace which also points into
that direction.
Another observation is that the CPU which does not
lower the SPL on syscall exit is always CPU 1.
(Softints run always on CPU 0, right?)

CPU0:
mutex_spin_enter()
sched_pstats()
callout_softclock()
softint_execute()
softint_dispatch()

CPU1:
(Breakpoint after the "spl not lowered" printf)
Xsyscall

best regards
Matthias




-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich

Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index