Subject: CVS commit: src/sys/dev/sysmon
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 09/08/2007 03:17:39
Module Name:	src
Committed By:	xtraeme
Date:		Sat Sep  8 03:17:39 UTC 2007

Modified Files:
	src/sys/dev/sysmon: sysmon_envsys.c sysmon_envsys_events.c
	    sysmon_envsysvar.h

Log Message:
- Use only one global mutex for all tasks with devices & events.
- sysmon_envsys_register: use a SLIST to maintain allocated sme_event_drv_t
  structs for later use in sysmon_task_queue_sched(). This avoids a
  locking error acquiring/dropping the mutex multiple times.

Suggested by rmind.


To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 src/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/sysmon/sysmon_envsys_events.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/sysmon/sysmon_envsysvar.h

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