summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_fpregs.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-07 01:51:34 +0000
committerjhb <jhb@FreeBSD.org>2001-03-07 01:51:34 +0000
commit5d3041fa5c0a1f1b3a9fce7a657f06f3fc947e1e (patch)
tree1e7bbf2a7219a4f02e91e5b1169a40e65988d520 /sys/fs/procfs/procfs_fpregs.c
parent74a74a3282c24c442a126202ebc0c195292dc824 (diff)
downloadFreeBSD-src-5d3041fa5c0a1f1b3a9fce7a657f06f3fc947e1e.zip
FreeBSD-src-5d3041fa5c0a1f1b3a9fce7a657f06f3fc947e1e.tar.gz
- In the locking key for struct proc, generalize the '+' symbol to mean
that write access to a member requires both locks and read access only requires one of the given locks. Convert instances of '(c+)' to '(c + k)' as a result. - Change p_pptr from (e) to (c + e). - Change p_oppid from (c) to (c + e). - Change p_args from (b?) to (c + k). - Move the actual work of STOPEVENT, PHOLD, and PRELE to _STOPEVENT, _PHOLD, and _PRELE. The new macros do not acquire the proc lock and simply assert that it is held. The non _ prefixed macros acquire the proc lock and then call the _ prefixed macros. - Add a PROC_LOCK_NOSWITCH() macro to be used when releasing the proc lock while already holding a spin lock (usually sched_lock). - Add a PROC_LOCK_ASSERT() macro to be used to make assertions about the proc lock. It takes the usual mtx_assert() macro arguments as its second argument.
Diffstat (limited to 'sys/fs/procfs/procfs_fpregs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud