]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Add a new per-process flag PS_XCPU to indicate that at least one thread
authorjhb <jhb@FreeBSD.org>
Mon, 30 Sep 2002 21:13:54 +0000 (21:13 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 30 Sep 2002 21:13:54 +0000 (21:13 +0000)
commitf350519764aa2a5ac7d6daaee05afd36a81279c5
tree7decfe1c15133add5e1c3fa81470e85d400fc06a
parentf72526c16f332fb7d82318bc526cdafaa25f5b62
- Add a new per-process flag PS_XCPU to indicate that at least one thread
  has exceeded its CPU time limit.
- In mi_switch(), set PS_XCPU when the CPU time limit is exceeded.
- Perform actual CPU time limit exceeded work in ast() when PS_XCPU is set.

Requested by: many
sys/kern/kern_synch.c
sys/kern/subr_trap.c
sys/sys/proc.h