kern_proc.c (41086) | kern_proc.c (41087) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95 |
34 * $Id: kern_proc.c,v 1.38 1998/11/09 15:07:41 truckman Exp $ | 34 * $Id: kern_proc.c,v 1.39 1998/11/11 10:03:55 truckman Exp $ |
35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/kernel.h> 40#include <sys/sysctl.h> 41#include <sys/proc.h> 42#include <sys/malloc.h> | 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/kernel.h> 40#include <sys/sysctl.h> 41#include <sys/proc.h> 42#include <sys/malloc.h> |
43#include <sys/filedesc.h> |
|
43#include <sys/tty.h> 44#include <sys/signalvar.h> 45#include <vm/vm.h> 46#include <sys/lock.h> 47#include <vm/pmap.h> 48#include <vm/vm_map.h> 49#include <sys/user.h> 50#include <vm/vm_zone.h> | 44#include <sys/tty.h> 45#include <sys/signalvar.h> 46#include <vm/vm.h> 47#include <sys/lock.h> 48#include <vm/pmap.h> 49#include <vm/vm_map.h> 50#include <sys/user.h> 51#include <vm/vm_zone.h> |
51#include <sys/filedesc.h> | |
52 53static MALLOC_DEFINE(M_PGRP, "pgrp", "process group header"); 54MALLOC_DEFINE(M_SESSION, "session", "session header"); 55static MALLOC_DEFINE(M_PROC, "proc", "Proc structures"); 56MALLOC_DEFINE(M_SUBPROC, "subproc", "Proc sub-structures"); 57 58struct prochd qs[NQS]; /* as good a place as any... */ 59struct prochd rtqs[NQS]; /* Space for REALTIME queues too */ --- 549 unchanged lines hidden --- | 52 53static MALLOC_DEFINE(M_PGRP, "pgrp", "process group header"); 54MALLOC_DEFINE(M_SESSION, "session", "session header"); 55static MALLOC_DEFINE(M_PROC, "proc", "Proc structures"); 56MALLOC_DEFINE(M_SUBPROC, "subproc", "Proc sub-structures"); 57 58struct prochd qs[NQS]; /* as good a place as any... */ 59struct prochd rtqs[NQS]; /* Space for REALTIME queues too */ --- 549 unchanged lines hidden --- |