Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys Set KM_PUSHPAGE to KM_SLEEP to p...
details: https://anonhg.NetBSD.org/src/rev/b6e9a383908f
branches: trunk
changeset: 750498:b6e9a383908f
user: ober <ober%NetBSD.org@localhost>
date: Sun Jan 03 10:50:06 2010 +0000
description:
Set KM_PUSHPAGE to KM_SLEEP to prevent the arc_buf_alloc panics in ZFS.
ok haad@
diffstat:
external/cddl/osnet/sys/sys/kmem.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 89d9755d4758 -r b6e9a383908f external/cddl/osnet/sys/sys/kmem.h
--- a/external/cddl/osnet/sys/sys/kmem.h Sun Jan 03 09:52:16 2010 +0000
+++ b/external/cddl/osnet/sys/sys/kmem.h Sun Jan 03 10:50:06 2010 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: kmem.h,v 1.1 2009/08/07 20:57:57 haad Exp $ */
+/* $NetBSD: kmem.h,v 1.2 2010/01/03 10:50:06 ober Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#define kmem_cache_free(cache, buf) pool_cache_put(cache, buf)
#define kmem_cache_reap_now(cache) pool_cache_invalidate(cache)
-#define KM_PUSHPAGE 0x00 /* XXXNETBSD */
+#define KM_PUSHPAGE KM_SLEEP /* XXXNETBSD XXX to prevent the crashes currently seen.*/
#define KMC_NODEBUG 0x00
#endif /* _OPENSOLARIS_SYS_KMEM_H_ */
Home |
Main Index |
Thread Index |
Old Index