param.h (599a5352) | param.h (965127f8) |
---|---|
1/* $OpenBSD: param.h,v 1.41 2017/06/05 17:49:06 deraadt Exp $ */ | 1/* $OpenBSD: param.h,v 1.42 2018/09/14 13:58:20 claudio Exp $ */ |
2 3/* 4 * Copyright (c) 1988 University of Utah. 5 * Copyright (c) 1992, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by 9 * the Systems Programming Group of the University of Utah Computer --- 50 unchanged lines hidden (view full) --- 60#define NBPG PAGE_SIZE /* bytes/page */ 61#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */ 62#define PGOFSET PAGE_MASK /* byte offset into page */ 63 64#define UPAGES 2 /* pages of u-area */ 65#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */ 66#define USPACE_ALIGN 0 /* u-area alignment 0-none */ 67 | 2 3/* 4 * Copyright (c) 1988 University of Utah. 5 * Copyright (c) 1992, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by 9 * the Systems Programming Group of the University of Utah Computer --- 50 unchanged lines hidden (view full) --- 60#define NBPG PAGE_SIZE /* bytes/page */ 61#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */ 62#define PGOFSET PAGE_MASK /* byte offset into page */ 63 64#define UPAGES 2 /* pages of u-area */ 65#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */ 66#define USPACE_ALIGN 0 /* u-area alignment 0-none */ 67 |
68#define NMBCLUSTERS (16 * 1024) /* max cluster allocation */ | 68#define NMBCLUSTERS (32 * 1024) /* max cluster allocation */ |
69 70#ifndef MSGBUFSIZE 71#define MSGBUFSIZE (2 * PAGE_SIZE) /* default message buffer size */ 72#endif 73 74/* 75 * Maximum size of the kernel malloc arena in PAGE_SIZE-sized 76 * logical pages. --- 22 unchanged lines hidden --- | 69 70#ifndef MSGBUFSIZE 71#define MSGBUFSIZE (2 * PAGE_SIZE) /* default message buffer size */ 72#endif 73 74/* 75 * Maximum size of the kernel malloc arena in PAGE_SIZE-sized 76 * logical pages. --- 22 unchanged lines hidden --- |