Module Name: src Committed By: thorpej Date: Sat Aug 29 20:08:08 UTC 2020
Modified Files: src/sys/arch/alpha/include: vmparam.h Log Message: Bump UBC_WINSHIFT to 16 (64KB), and UBC_NWINS to 4096 (256MB total). Alpha has plenty of KVA to use for this. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/alpha/include/vmparam.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/alpha/include/vmparam.h diff -u src/sys/arch/alpha/include/vmparam.h:1.38 src/sys/arch/alpha/include/vmparam.h:1.39 --- src/sys/arch/alpha/include/vmparam.h:1.38 Mon Dec 10 16:12:19 2012 +++ src/sys/arch/alpha/include/vmparam.h Sat Aug 29 20:08:08 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: vmparam.h,v 1.38 2012/12/10 16:12:19 chs Exp $ */ +/* $NetBSD: vmparam.h,v 1.39 2020/08/29 20:08:08 thorpej Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -58,6 +58,17 @@ #define PAGE_MASK (PAGE_SIZE - 1) /* + * Defaults for Unified Buffer Cache parameters. + */ + +#ifndef UBC_WINSHIFT +#define UBC_WINSHIFT 16 /* 64KB */ +#endif +#ifndef UBC_NWINS +#define UBC_NWINS 4096 /* for a total of 256MB */ +#endif + +/* * USRSTACK is the top (end) of the user stack. * * Digital UNIX (formerly DEC OSF/1) places the stack below the