summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-03-28 03:08:59 +0000
committerjhb <jhb@FreeBSD.org>2001-03-28 03:08:59 +0000
commit6de3adf0dfbfb9a86939028057271d843c651c16 (patch)
treec8a095fa55cddb69d4451d42211df11693fbfd99
parent3e3a661612c8296ecbe74b7f3b09965dacbb7ff9 (diff)
downloadFreeBSD-src-6de3adf0dfbfb9a86939028057271d843c651c16.zip
FreeBSD-src-6de3adf0dfbfb9a86939028057271d843c651c16.tar.gz
- Fix a whitespace bogon with p_blocked.
- Move p_intr_nesting_level, p_aioinfo, and p_ithd into the zero'd area so that we don't have to explicitly zero them during fork().
-rw-r--r--sys/sys/proc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index b77d49e..c271303 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -168,7 +168,6 @@ struct proc {
int p_flag; /* (c) P_* flags. */
int p_sflag; /* (j) PS_* flags. */
- int p_intr_nesting_level; /* (k) Interrupt recursion. */
int p_stat; /* (j) S* process status. */
pid_t p_pid; /* (b) Process identifier. */
@@ -233,9 +232,12 @@ struct proc {
u_long p_code; /* (n) For core dump/debugger XXX. */
struct klist p_klist; /* (c) Knotes attached to this process. */
LIST_HEAD(, mtx) p_heldmtx; /* (j) For debugging code. */
- struct mtx *p_blocked; /* (j) Mutex process is blocked on. */
+ struct mtx *p_blocked; /* (j) Mutex process is blocked on. */
const char *p_mtxname; /* (j) Name of mutex blocked on. */
LIST_HEAD(, mtx) p_contested; /* (j) Contested locks. */
+ void *p_aioinfo; /* (c) ASYNC I/O info. */
+ struct ithd *p_ithd; /* (b) For interrupt threads only. */
+ int p_intr_nesting_level; /* (k) Interrupt recursion. */
/* End area that is zeroed on creation. */
#define p_endzero p_startcopy
@@ -265,12 +267,10 @@ struct proc {
u_short p_acflag; /* (c) Accounting flags. */
struct rusage *p_ru; /* (a) Exit information. XXX */
- void *p_aioinfo; /* (c) ASYNC I/O info. */
struct proc *p_peers; /* (c) */
struct proc *p_leader; /* (c) */
struct pasleep p_asleep; /* (k) Used by asleep()/await(). */
void *p_emuldata; /* (c) Emulator state data. */
- struct ithd *p_ithd; /* (b) For interrupt threads only. */
};
#define p_session p_pgrp->pg_session
OpenPOWER on IntegriCloud