Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: thorpej
Date: Wed Apr 9 05:11:20 UTC 2008
Modified Files:
src/sys/kern: subr_percpu.c uipc_mbuf.c
src/sys/sys: percpu.h
Log Message:
Make the percpu API a little more friendly:
- percpu_getptr() is now called percpu_getref() and implicitly disables
preemption (via crit_enter()) when it is called.
- Added percpu_putref() which implicitly reenables preemption (via
crit_exit()).
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/kern/subr_percpu.c
cvs rdiff -r1.125 -r1.126 src/sys/kern/uipc_mbuf.c
cvs rdiff -r1.2 -r1.3 src/sys/sys/percpu.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