]> git.proxmox.com Git - mirror_spl.git/commit - include/sys/sunddi.h
Linux VM integration / device special files
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 4 Feb 2009 23:15:41 +0000 (15:15 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 4 Feb 2009 23:15:41 +0000 (15:15 -0800)
commit36b313dacf2f60f526fe98b7e9d1a6bbcbb250d2
treef6441a23afb2eebbe2490dae46abd5aad8beede7
parent31a033ecd49c2f691d6a377db2882ed941f47481
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.
13 files changed:
config/spl-build.m4
configure
configure.ac
include/sys/dnlc.h
include/sys/kmem.h
include/sys/sunddi.h
include/sys/sysmacros.h
include/sys/vmsystm.h
module/spl/spl-generic.c
module/spl/spl-kmem.c
module/spl/spl-module.c
module/spl/spl-proc.c
spl_config.h.in