From: jsg Date: Tue, 4 Jul 2023 09:47:51 +0000 (+0000) Subject: Remove mbuf low watermark vars. Unused since uipc_mbuf.c rev 1.244. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aba40e07e2b8eba1524f0610df55b7847312ddf7;p=openbsd Remove mbuf low watermark vars. Unused since uipc_mbuf.c rev 1.244. ok kn@ bluhm@ --- diff --git a/sys/conf/param.c b/sys/conf/param.c index 42f56d1eab2..b6b5b991934 100644 --- a/sys/conf/param.c +++ b/sys/conf/param.c @@ -1,4 +1,4 @@ -/* $OpenBSD: param.c,v 1.48 2023/03/03 20:16:44 cheloha Exp $ */ +/* $OpenBSD: param.c,v 1.49 2023/07/04 09:47:51 jsg Exp $ */ /* $NetBSD: param.c,v 1.16 1996/03/12 03:08:40 mrg Exp $ */ /* @@ -82,16 +82,6 @@ int maxthread = 2 * NPROCESS; int maxfiles = 5 * (NPROCESS + MAXUSERS) + 80; long nmbclust = NMBCLUSTERS; -#ifndef MBLOWAT -#define MBLOWAT 16 -#endif -int mblowat = MBLOWAT; - -#ifndef MCLLOWAT -#define MCLLOWAT 8 -#endif -int mcllowat = MCLLOWAT; - #ifndef BUFCACHEPERCENT #define BUFCACHEPERCENT 20 #endif diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 54de1e41a69..c2002113a98 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mbuf.h,v 1.258 2023/07/04 03:56:07 jsg Exp $ */ +/* $OpenBSD: mbuf.h,v 1.259 2023/07/04 09:47:51 jsg Exp $ */ /* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */ /* @@ -400,8 +400,6 @@ struct mbuf_queue { struct pool; extern long nmbclust; /* limit on the # of clusters */ -extern int mblowat; /* mbuf low water mark */ -extern int mcllowat; /* mbuf cluster low water mark */ extern int max_linkhdr; /* largest link-level header */ extern int max_protohdr; /* largest protocol header */ extern int max_hdr; /* largest link+protocol header */