aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-03-28 03:08:59 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-03-28 03:08:59 +0000
commit3d370aadbea663f4ac58fba52b84777cb3407829 (patch)
tree004c86c82baf60689e9c04c0fe6449ffd576b4e6 /sys
parent0006681fe6b5ffaa4658d592e020d3a0c3594147 (diff)
downloadsrc-3d370aadbea663f4ac58fba52b84777cb3407829.tar.gz
src-3d370aadbea663f4ac58fba52b84777cb3407829.zip
- 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().
Notes
Notes: svn path=/head/; revision=74904
Diffstat (limited to 'sys')
-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 b77d49ec2077..c271303ccc32 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