Module Name: src Committed By: haad Date: Thu May 6 22:35:37 UTC 2010
Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: arc.c Log Message: Disable uvm_reclaim_hook for userland builds. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c 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/dist/uts/common/fs/zfs/arc.c diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.8 src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.9 --- src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.8 Thu May 6 22:31:46 2010 +++ src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c Thu May 6 22:35:37 2010 @@ -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__ */