Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbmips/include Normal memory is not poolpage memor...
details: https://anonhg.NetBSD.org/src/rev/cbe0b27abf7e
branches: trunk
changeset: 328826:cbe0b27abf7e
user: matt <matt%NetBSD.org@localhost>
date: Sat Apr 19 12:48:42 2014 +0000
description:
Normal memory is not poolpage memory unless poolpage memory is default memory.
diffstat:
sys/arch/evbmips/include/vmparam.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r e44e59d7e157 -r cbe0b27abf7e sys/arch/evbmips/include/vmparam.h
--- a/sys/arch/evbmips/include/vmparam.h Sat Apr 19 12:48:03 2014 +0000
+++ b/sys/arch/evbmips/include/vmparam.h Sat Apr 19 12:48:42 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.4 2011/07/09 16:03:01 matt Exp $ */
+/* $NetBSD: vmparam.h,v 1.5 2014/04/19 12:48:42 matt Exp $ */
#ifndef _EVBMIPS_VMPARAM_H_
#define _EVBMIPS_VMPARAM_H_
@@ -14,7 +14,10 @@
#endif
#if !defined(_LP64)
#define VM_FREELIST_FIRST512M 2
-#endif
+#endif /* !_LP64 */
#define VM_FREELIST_ISADMA 1
+
+#define VM_FREELIST_NORMALOK_P(lcv) \
+ ((lcv) == VM_FREELIST_DEFAULT || (lcv) != mips_poolpage_vmfreelist)
#endif /* !_EVBMIPS_VMPARAM_H_ */
Home |
Main Index |
Thread Index |
Old Index