aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-06-25 20:02:16 +0000
committerBruce Evans <bde@FreeBSD.org>1996-06-25 20:02:16 +0000
commit79df6d85976a2e5647b9525289a557353b38c79c (patch)
treec03e6b6eda5a905cdc18da08c49cfe58e6af2c5b /sys/amd64/include/cpu.h
parent93f4b1bf1bdaea21c9e429d4ac0d934084f8fb40 (diff)
Notes
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index edf4342c6e6d..adba7484e2d0 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.23 1996/04/05 03:36:23 ache Exp $
+ * $Id: cpu.h,v 1.24 1996/04/07 16:44:28 bde Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -83,9 +83,11 @@
#define need_resched() { want_resched = 1; aston(); }
/*
- * Give a profiling tick to the current process from the softclock
- * interrupt. On tahoe, request an ast to send us through trap(),
- * marking the proc as needing a profiling tick.
+ * Arrange to handle pending profiling ticks before returning to user mode.
+ *
+ * XXX this is now poorly named and implemented. It used to handle only a
+ * single tick and the P_OWEUPC flag served as a counter. Now there is a
+ * counter in the proc table and flag isn't really necessary.
*/
#define need_proftick(p) { (p)->p_flag |= P_OWEUPC; aston(); }