Source-Changes archive

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

CVS commit: [netbsd-7] src/sys/dev/sysmon



Module Name:    src
Committed By:   snj
Date:           Mon Apr  6 18:45:31 UTC 2015

Modified Files:
        src/sys/dev/sysmon [netbsd-7]: sysmon_envsys.c sysmon_envsys_events.c
            sysmonvar.h

Log Message:
Pull up following revision(s) (requested by hannken in ticket #666):
        sys/dev/sysmon/sysmon_envsys.c: revision 1.129
        sys/dev/sysmon/sysmon_envsys_events.c: revision 1.114
        sys/dev/sysmon/sysmonvar.h: revision 1.46
Add a counter of busy events and stop enqueueing more work if a device =
is busy.
Protect this counter with a new short time lock "sme_work_mtx" and
keep "sme_mtx" as long time lock.
Removes a deadlock where an active event holds "sme_mtx", the callout
"sme_events_check" blocks on "sme_mtx" and callout processing stops.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.127.2.1 src/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -u -r1.110.4.1 -r1.110.4.2 \
    src/sys/dev/sysmon/sysmon_envsys_events.c
cvs rdiff -u -r1.44.12.1 -r1.44.12.2 src/sys/dev/sysmon/sysmonvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index