Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Limit mbuf clusters to 64MB. Forgotten ...
details: https://anonhg.NetBSD.org/src/rev/c4dcd5e285f4
branches: trunk
changeset: 754633:c4dcd5e285f4
user: joerg <joerg%NetBSD.org@localhost>
date: Thu May 06 19:10:26 2010 +0000
description:
Limit mbuf clusters to 64MB. Forgotten part of the February commit.
diffstat:
sys/arch/arm/include/param.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r c960d6248ad3 -r c4dcd5e285f4 sys/arch/arm/include/param.h
--- a/sys/arch/arm/include/param.h Thu May 06 19:00:08 2010 +0000
+++ b/sys/arch/arm/include/param.h Thu May 06 19:10:26 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.12 2008/08/29 19:08:29 matt Exp $ */
+/* $NetBSD: param.h,v 1.13 2010/05/06 19:10:26 joerg Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@@ -121,6 +121,10 @@
#define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */
+#ifndef NMBCLUSTERS_MAX
+#define NMBCLUSTERS_MAX (0x2000000 / MCLBYTES) /* Limit to 64MB for clusters */
+#endif
+
/*
* Compatibility /dev/zero mapping.
*/
Home |
Main Index |
Thread Index |
Old Index