subr_param.c (37565) | subr_param.c (40931) |
---|---|
1/* 2 * Copyright (c) 1980, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)param.c 8.3 (Berkeley) 8/20/94 | 1/* 2 * Copyright (c) 1980, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)param.c 8.3 (Berkeley) 8/20/94 |
39 * $Id: param.c,v 1.29 1998/06/30 21:25:35 phk Exp $ | 39 * $Id: param.c,v 1.30 1998/07/11 13:06:38 bde Exp $ |
40 */ 41 42#include "opt_sysvipc.h" 43#include "opt_param.h" 44 45#include <sys/param.h> 46 47#ifdef SYSVSHM --- 42 unchanged lines hidden (view full) --- 90#else 91#define MAXSOCKETS NMBCLUSTERS 92#endif 93int maxsockets = MAXSOCKETS; 94 95/* allocate 1/4th amount of virtual address space for mbufs XXX */ 96int nmbufs = NMBCLUSTERS * 4; 97 | 40 */ 41 42#include "opt_sysvipc.h" 43#include "opt_param.h" 44 45#include <sys/param.h> 46 47#ifdef SYSVSHM --- 42 unchanged lines hidden (view full) --- 90#else 91#define MAXSOCKETS NMBCLUSTERS 92#endif 93int maxsockets = MAXSOCKETS; 94 95/* allocate 1/4th amount of virtual address space for mbufs XXX */ 96int nmbufs = NMBCLUSTERS * 4; 97 |
98/* maximum # of sf_bufs (sendfile(2) zero-copy virtual buffers) */ 99#ifndef NSFBUFS 100#define NSFBUFS (512 + MAXUSERS * 16) 101#endif 102int nsfbufs = NSFBUFS; 103 |
|
98/* 99 * Values in support of System V compatible shared memory. XXX 100 */ 101#ifdef SYSVSHM 102#ifndef SHMMAX 103#define SHMMAX (SHMMAXPGS*PAGE_SIZE) 104#endif 105#ifndef SHMMIN --- 76 unchanged lines hidden --- | 104/* 105 * Values in support of System V compatible shared memory. XXX 106 */ 107#ifdef SYSVSHM 108#ifndef SHMMAX 109#define SHMMAX (SHMMAXPGS*PAGE_SIZE) 110#endif 111#ifndef SHMMIN --- 76 unchanged lines hidden --- |