Deleted Added
full compact
proc.h (315064) proc.h (316120)
1/*-
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 18 unchanged lines hidden (view full) ---

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)proc.h 8.15 (Berkeley) 5/19/95
1/*-
2 * Copyright (c) 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 18 unchanged lines hidden (view full) ---

27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)proc.h 8.15 (Berkeley) 5/19/95
35 * $FreeBSD: stable/11/sys/sys/proc.h 315064 2017-03-11 09:22:53Z kib $
35 * $FreeBSD: stable/11/sys/sys/proc.h 316120 2017-03-29 01:21:48Z vangyzen $
36 */
37
38#ifndef _SYS_PROC_H_
39#define _SYS_PROC_H_
40
41#include <sys/callout.h> /* For struct callout. */
42#include <sys/event.h> /* For struct klist. */
43#include <sys/condvar.h>

--- 99 unchanged lines hidden (view full) ---

143 * k - only accessed by curthread
144 * k*- only accessed by curthread and from an interrupt
145 * l - the attaching proc or attaching proc parent
146 * m - Giant
147 * n - not locked, lazy
148 * o - ktrace lock
149 * q - td_contested lock
150 * r - p_peers lock
36 */
37
38#ifndef _SYS_PROC_H_
39#define _SYS_PROC_H_
40
41#include <sys/callout.h> /* For struct callout. */
42#include <sys/event.h> /* For struct klist. */
43#include <sys/condvar.h>

--- 99 unchanged lines hidden (view full) ---

143 * k - only accessed by curthread
144 * k*- only accessed by curthread and from an interrupt
145 * l - the attaching proc or attaching proc parent
146 * m - Giant
147 * n - not locked, lazy
148 * o - ktrace lock
149 * q - td_contested lock
150 * r - p_peers lock
151 * s - see sleepq_switch(), sleeping_on_old_rtc(), and sleep(9)
151 * t - thread lock
152 * u - process stat lock
153 * w - process timer lock
154 * x - created at fork, only changes during single threading in exec
155 * y - created at first aio, doesn't change until exit or exec at which
156 * point we are single-threaded and only curthread changes it
157 * z - zombie threads lock
158 *

--- 118 unchanged lines hidden (view full) ---

277 int td_ng_outbound; /* (k) Thread entered ng from above. */
278 struct osd td_osd; /* (k) Object specific data. */
279 struct vm_map_entry *td_map_def_user; /* (k) Deferred entries. */
280 pid_t td_dbg_forked; /* (c) Child pid for debugger. */
281 u_int td_vp_reserv; /* (k) Count of reserved vnodes. */
282 int td_no_sleeping; /* (k) Sleeping disabled count. */
283 int td_dom_rr_idx; /* (k) RR Numa domain selection. */
284 void *td_su; /* (k) FFS SU private */
152 * t - thread lock
153 * u - process stat lock
154 * w - process timer lock
155 * x - created at fork, only changes during single threading in exec
156 * y - created at first aio, doesn't change until exit or exec at which
157 * point we are single-threaded and only curthread changes it
158 * z - zombie threads lock
159 *

--- 118 unchanged lines hidden (view full) ---

278 int td_ng_outbound; /* (k) Thread entered ng from above. */
279 struct osd td_osd; /* (k) Object specific data. */
280 struct vm_map_entry *td_map_def_user; /* (k) Deferred entries. */
281 pid_t td_dbg_forked; /* (c) Child pid for debugger. */
282 u_int td_vp_reserv; /* (k) Count of reserved vnodes. */
283 int td_no_sleeping; /* (k) Sleeping disabled count. */
284 int td_dom_rr_idx; /* (k) RR Numa domain selection. */
285 void *td_su; /* (k) FFS SU private */
286 int td_rtcgen; /* (s) rtc_generation of abs. sleep */
285#define td_endzero td_sigmask
286
287/* Copied during fork1() or create_thread(). */
288#define td_startcopy td_endzero
289 sigset_t td_sigmask; /* (c) Current signal mask. */
290 u_char td_rqindex; /* (t) Run queue index. */
291 u_char td_base_pri; /* (t) Thread base kernel priority. */
292 u_char td_priority; /* (t) Thread active priority. */

--- 828 unchanged lines hidden ---
287#define td_endzero td_sigmask
288
289/* Copied during fork1() or create_thread(). */
290#define td_startcopy td_endzero
291 sigset_t td_sigmask; /* (c) Current signal mask. */
292 u_char td_rqindex; /* (t) Run queue index. */
293 u_char td_base_pri; /* (t) Thread base kernel priority. */
294 u_char td_priority; /* (t) Thread active priority. */

--- 828 unchanged lines hidden ---