Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Disable uvm_recla...



details:   https://anonhg.NetBSD.org/src/rev/40f5191be867
branches:  trunk
changeset: 754637:40f5191be867
user:      haad <haad%NetBSD.org@localhost>
date:      Thu May 06 22:35:37 2010 +0000

description:
Disable uvm_reclaim_hook for userland builds.

diffstat:

 external/cddl/osnet/dist/uts/common/fs/zfs/arc.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r cc456a86502e -r 40f5191be867 external/cddl/osnet/dist/uts/common/fs/zfs/arc.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c  Thu May 06 22:31:46 2010 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c  Thu May 06 22:35:37 2010 +0000
@@ -174,7 +174,10 @@
 #include <sys/callback.h>
 /* Structures used for memory and kva space reclaim. */
 static struct callback_entry arc_kva_reclaim_entry;
+
+#ifdef _KERNEL
 static struct uvm_reclaim_hook arc_hook;
+#endif
 
 #endif /* __NetBSD__ */
 



Home | Main Index | Thread Index | Old Index