OpenZFS on Linux and FreeBSD
Go to file
Brian Behlendorf 6ae7fef5b9 Update global_page_state() support for 2.6.29 kernels.
Basically everything we need to monitor the global memory state of
the system is now cleanly available via global_page_state().  The
problem is that this interface is still fairly recent, and there
has been one change in the page state enum which we need to handle.
These changes basically boil down to the following:
- If global_page_state() is available we should use it.  Several
  autoconf checks have been added to detect the correct enum names.
- If global_page_state() is not available check to see if
  get_zone_counts() symbol is available and use that.
- If the get_zone_counts() symbol is not exported we have no choice
  be to dynamically aquire it at load time.  This is an absolute
  last resort for old kernel which we don't want to patch to
  cleanly export the symbol.
2009-07-28 15:06:42 -07:00
cmd Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
config Update global_page_state() support for 2.6.29 kernels. 2009-07-28 15:06:42 -07:00
include Update global_page_state() support for 2.6.29 kernels. 2009-07-28 15:06:42 -07:00
lib Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
module Update global_page_state() support for 2.6.29 kernels. 2009-07-28 15:06:42 -07:00
patches Linux VM Integration Cleanup 2009-03-04 10:04:15 -08:00
scripts Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
AUTHORS Prep for spl-0.4.3 tag. 2009-03-20 14:48:30 -07:00
COPYING Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
ChangeLog Update ChangeLog 2009-07-02 14:19:11 -07:00
DISCLAIMER Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
INSTALL Trivial commit to remove whitespace 2008-07-09 19:11:29 +00:00
META Update ChangeLog with a high level summary of the changes from 2009-06-22 15:31:40 -07:00
Makefile.am Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
Makefile.in Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
autogen.sh Packaging improvements for RHEL and SLES 2009-06-16 10:44:59 -07:00
configure Update global_page_state() support for 2.6.29 kernels. 2009-07-28 15:06:42 -07:00
configure.ac Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
spl-modules.spec.in Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
spl.spec.in Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
spl_config.h.in Update global_page_state() support for 2.6.29 kernels. 2009-07-28 15:06:42 -07:00
spl_unconfig.h Allow spl_config.h to be included by dependant packages 2009-03-17 14:55:59 -07:00