summaryrefslogtreecommitdiffstats
path: root/module/spl/spl-generic.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-02-04 15:15:41 -0800
committerBrian Behlendorf <[email protected]>2009-02-04 15:15:41 -0800
commit36b313dacf2f60f526fe98b7e9d1a6bbcbb250d2 (patch)
treef6441a23afb2eebbe2490dae46abd5aad8beede7 /module/spl/spl-generic.c
parent31a033ecd49c2f691d6a377db2882ed941f47481 (diff)
Linux VM integration / device special files
Support added to provide reasonable values for the global Solaris VM variables: minfree, desfree, lotsfree, needfree. These values are set to the sum of their per-zone linux counterparts which should be close enough for Solaris consumers. When a non-GPL app links against the SPL we cannot use the udev interfaces, which means non of the device special files are created. Because of this I had added a poor mans udev which cause the SPL to invoke an upcall and create the basic devices when a minor is registered. When a minor is unregistered we use the vnode interface to unlink the special file.
Diffstat (limited to 'module/spl/spl-generic.c')
-rw-r--r--module/spl/spl-generic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/spl/spl-generic.c b/module/spl/spl-generic.c
index c09d9d4e3..a15cac41e 100644
--- a/module/spl/spl-generic.c
+++ b/module/spl/spl-generic.c
@@ -53,9 +53,6 @@ EXPORT_SYMBOL(hw_serial);
int p0 = 0;
EXPORT_SYMBOL(p0);
-vmem_t *zio_alloc_arena = NULL;
-EXPORT_SYMBOL(zio_alloc_arena);
-
int
highbit(unsigned long i)
{