kern_proc.c (b4bf2ac1ac93250a084d8de15b48cf351c1bd4c1) kern_proc.c (ed7806879b9fb7bd34a9ec2ae1360760e87d244d)
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

--- 137 unchanged lines hidden (view full) ---

146struct sx proctree_lock;
147struct mtx ppeers_lock;
148uma_zone_t proc_zone;
149
150int kstack_pages = KSTACK_PAGES;
151SYSCTL_INT(_kern, OID_AUTO, kstack_pages, CTLFLAG_RD, &kstack_pages, 0, "");
152
153CTASSERT(sizeof(struct kinfo_proc) == KINFO_PROC_SIZE);
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

--- 137 unchanged lines hidden (view full) ---

146struct sx proctree_lock;
147struct mtx ppeers_lock;
148uma_zone_t proc_zone;
149
150int kstack_pages = KSTACK_PAGES;
151SYSCTL_INT(_kern, OID_AUTO, kstack_pages, CTLFLAG_RD, &kstack_pages, 0, "");
152
153CTASSERT(sizeof(struct kinfo_proc) == KINFO_PROC_SIZE);
154#ifdef COMPAT_FREEBSD32
155CTASSERT(sizeof(struct kinfo_proc32) == KINFO_PROC32_SIZE);
156#endif
154
155/*
156 * Initialize global process hashing structures.
157 */
158void
159procinit()
160{
161

--- 1906 unchanged lines hidden ---
157
158/*
159 * Initialize global process hashing structures.
160 */
161void
162procinit()
163{
164

--- 1906 unchanged lines hidden ---