Module Name: src
Committed By: ober
Date: Sun Jan 3 10:50:06 UTC 2010
Modified Files:
src/external/cddl/osnet/sys/sys: kmem.h
Log Message:
Set KM_PUSHPAGE to KM_SLEEP to prevent the arc_buf_alloc panics in ZFS.
ok haad@
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/cddl/osnet/sys/sys/kmem.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/sys/sys/kmem.h
diff -u src/external/cddl/osnet/sys/sys/kmem.h:1.1 src/external/cddl/osnet/sys/sys/kmem.h:1.2
--- src/external/cddl/osnet/sys/sys/kmem.h:1.1 Fri Aug 7 20:57:57 2009
+++ src/external/cddl/osnet/sys/sys/kmem.h Sun Jan 3 10:50:06 2010
@@ -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_ */