Source-Changes archive

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

Re: CVS commit: src/sys/arch



dyoung%pobox.com@localhost said:
> > Disable interrupts before shutdownhooks are run
> There is not a consensus that this is the right thing to do

It has always been that way on all ports, until June.
It didn't make sense to change this without preparing
drivers for it, and to do it on two ports only.
So I think I'm right here.

jmcneill%invisible.ca@localhost said:
> The right thing to do is to fix drivers that use shutdownhooks to 
> register a pmf handler instead, so we can simply stop calling 
> doshutdownhooks.

The pmf registered shutdown hooks are also run with interrupts
disabled. At least for now, but I somehow believe that this
saves a lot of trouble with interrupt handlers, in particular
in the shared interrupt case.

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