summaryrefslogtreecommitdiffstats
path: root/sys/sys/resourcevar.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-07-16 21:04:55 +0000
committerjhb <jhb@FreeBSD.org>2004-07-16 21:04:55 +0000
commit0cb3276d57e68364c5cd8f83dd504672a5e5f5b0 (patch)
tree40f1025728659f06a876858c57f12a51848d214c /sys/sys/resourcevar.h
parent1115416b3b78799329cdb0c7addff7c1ad2fc348 (diff)
downloadFreeBSD-src-0cb3276d57e68364c5cd8f83dd504672a5e5f5b0.zip
FreeBSD-src-0cb3276d57e68364c5cd8f83dd504672a5e5f5b0.tar.gz
- Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflags
since they are only accessed by curthread and thus do not need any locking. - Move pr_addr and pr_ticks out of struct uprof (which is per-process) and directly into struct thread as td_profil_addr and td_profil_ticks as these variables are really per-thread. (They are used to defer an addupc_intr() that was too "hard" until ast()).
Diffstat (limited to 'sys/sys/resourcevar.h')
-rw-r--r--sys/sys/resourcevar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h
index b61b276..9242a59 100644
--- a/sys/sys/resourcevar.h
+++ b/sys/sys/resourcevar.h
@@ -63,8 +63,6 @@ struct pstats {
u_long pr_size; /* (c + j) Buffer size. */
u_long pr_off; /* (c + j) PC offset. */
u_long pr_scale; /* (c + j) PC scaling. */
- u_long pr_addr; /* (k) Temporary addr until AST. */
- u_int pr_ticks; /* (k) Temporary ticks until AST. */
} p_prof;
#define pstat_endcopy p_start
struct timeval p_start; /* (b) Starting time. */
OpenPOWER on IntegriCloud