Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include default powerpc64 mbufs to 512 byte...
details: https://anonhg.NetBSD.org/src/rev/0f0d8716773a
branches: trunk
changeset: 753267:0f0d8716773a
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Mar 22 02:14:28 2010 +0000
description:
default powerpc64 mbufs to 512 bytes, like other 64 bit platforms.
from dennis.c.ferguson%gmail.com@localhost in PR#43028.
diffstat:
sys/arch/powerpc/include/param.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 85d2c32b310d -r 0f0d8716773a sys/arch/powerpc/include/param.h
--- a/sys/arch/powerpc/include/param.h Mon Mar 22 02:00:33 2010 +0000
+++ b/sys/arch/powerpc/include/param.h Mon Mar 22 02:14:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.21 2010/02/08 19:02:31 joerg Exp $ */
+/* $NetBSD: param.h,v 1.22 2010/03/22 02:14:28 mrg Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -91,7 +91,11 @@
* of the hardware page size.
*/
#ifndef MSIZE
+#ifdef _LP64
+#define MSIZE 512 /* size of an mbuf */
+#else /* _LP64 */
#define MSIZE 256 /* size of an mbuf */
+#endif /* _LP64 */
#endif
#ifndef MCLSHIFT
#define MCLSHIFT 11 /* convert bytes to m_buf clusters */
Home |
Main Index |
Thread Index |
Old Index