proc.h (297273) | proc.h (297633) |
---|---|
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: head/sys/sys/proc.h 297273 2016-03-25 19:35:29Z cem $ | 35 * $FreeBSD: head/sys/sys/proc.h 297633 2016-04-07 04:23:25Z trasz $ |
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> --- 574 unchanged lines hidden (view full) --- 618 STAILQ_HEAD(, ktr_request) p_ktr; /* (o) KTR event queue. */ 619 LIST_HEAD(, mqueue_notifier) p_mqnotifier; /* (c) mqueue notifiers.*/ 620 struct kdtrace_proc *p_dtrace; /* (*) DTrace-specific data. */ 621 struct cv p_pwait; /* (*) wait cv for exit/exec. */ 622 struct cv p_dbgwait; /* (*) wait cv for debugger attach 623 after fork. */ 624 uint64_t p_prev_runtime; /* (c) Resource usage accounting. */ 625 struct racct *p_racct; /* (b) Resource accounting. */ | 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> --- 574 unchanged lines hidden (view full) --- 618 STAILQ_HEAD(, ktr_request) p_ktr; /* (o) KTR event queue. */ 619 LIST_HEAD(, mqueue_notifier) p_mqnotifier; /* (c) mqueue notifiers.*/ 620 struct kdtrace_proc *p_dtrace; /* (*) DTrace-specific data. */ 621 struct cv p_pwait; /* (*) wait cv for exit/exec. */ 622 struct cv p_dbgwait; /* (*) wait cv for debugger attach 623 after fork. */ 624 uint64_t p_prev_runtime; /* (c) Resource usage accounting. */ 625 struct racct *p_racct; /* (b) Resource accounting. */ |
626 u_char p_throttled; /* (c) Flag for racct pcpu throttling */ | 626 int p_throttled; /* (c) Flag for racct pcpu throttling */ |
627 struct vm_domain_policy p_vm_dom_policy; /* (c) process default VM domain, or -1 */ 628 /* 629 * An orphan is the child that has beed re-parented to the 630 * debugger as a result of attaching to it. Need to keep 631 * track of them for parent to be able to collect the exit 632 * status of what used to be children. 633 */ 634 LIST_ENTRY(proc) p_orphan; /* (e) List of orphan processes. */ --- 434 unchanged lines hidden --- | 627 struct vm_domain_policy p_vm_dom_policy; /* (c) process default VM domain, or -1 */ 628 /* 629 * An orphan is the child that has beed re-parented to the 630 * debugger as a result of attaching to it. Need to keep 631 * track of them for parent to be able to collect the exit 632 * status of what used to be children. 633 */ 634 LIST_ENTRY(proc) p_orphan; /* (e) List of orphan processes. */ --- 434 unchanged lines hidden --- |