DragonFly BSD
DragonFly users List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Top showing 0.0% usage


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Feb 2005 14:27:30 -0800 (PST)

    This is due to an old hack I had made long ago that allowed me to
    quickly thread our interrupts.

    Basically, the interrupt thread is running in a critical section, so
    no hardclock interrupt can ever interrupt an interrupt thread.

    I will do a cleanup pass on it.   Basically I have to recognize legacy
    interrupt masks in the ithread when running a particular handler.  These
    masks will eventually go away but cannot be removed yet (which is why I
    tried to bypass dealing with them originally).

    However, this is going to require some safety testing so I will add a
    sysctl called kern.int_use_crit_section which will default to 1, 
    continuing to use the critical section.  You will be able to turn it
    off by setting it to 0, but if you hit any panics then turn it back on
    and post a bug report.

						-Matt




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