diff options
author | mjg <mjg@FreeBSD.org> | 2014-07-01 06:29:15 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-07-01 06:29:15 +0000 |
commit | cd12aa0ab76d9d3638dc079c863eb0c93393a4d4 (patch) | |
tree | 15805b7664026e435cc0ad0e61cecaebc5c79dc6 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/bpobj.c | |
parent | 4255a1cf171f76390b00dae66c9e69da2c3558ca (diff) | |
download | FreeBSD-src-cd12aa0ab76d9d3638dc079c863eb0c93393a4d4.zip FreeBSD-src-cd12aa0ab76d9d3638dc079c863eb0c93393a4d4.tar.gz |
Perform a lockless check in sigacts_shared.
It is used only during execve (i.e. singlethreaded), so there is no fear
of returning 'not shared' which soon becomes 'shared'.
While here reorganize the code a little to avoid proc lock/unlock in
shared case.
MFC after: 1 week
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/bpobj.c')
0 files changed, 0 insertions, 0 deletions