zfs/config
Richard Yao 36811b4430 Detect kernels that honor gfp flags passed to vmalloc()
zfsonlinux/spl@2092cf68d8 used
PF_MEMALLOC to workaround a bug in the Linux kernel where
allocations did not honor the gfp flags passed to vmalloc().
Unfortunately, PF_MEMALLOC has the side effect of permitting
allocations to allocate pages outside of ZONE_NORMAL. This
has been observed to result in the depletion of ZONE_DMA32.

A kernel patch is available in the Gentoo bug tracker for
this issue.

  https://bugs.gentoo.org/show_bug.cgi?id=416685

This negates any benefit PF_MEMALLOC provides, so we introduce
an autotools check to disable the use of PF_MEMALLOC on
systems with patched kernels.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #126
2012-07-11 11:44:27 -07:00
..
Rules.am Support custom build directories 2010-09-05 21:49:05 -07:00
arch.am Add make rule for building Arch Linux packages 2011-12-14 16:44:10 -08:00
config.awk Allow spl_config.h to be included by dependant packages (updated) 2010-03-22 14:45:33 -07:00
config.guess Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
config.sub Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
deb.am Avoid 'rpm -q' bug for 'make pkg' 2011-06-16 11:49:38 -07:00
depcomp Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
install-sh Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
ltmain.sh Refresh autogen.sh products 2010-11-30 10:36:58 -08:00
missing Move vendor check to spl-build.m4 2010-09-02 16:12:02 -07:00
rpm.am Cleanly support debug packages 2012-02-27 14:24:22 -08:00
spl-build.m4 Detect kernels that honor gfp flags passed to vmalloc() 2012-07-11 11:44:27 -07:00
spl-meta.m4 Public Release Prep 2010-05-17 15:18:00 -07:00
tgz.am Avoid 'rpm -q' bug for 'make pkg' 2011-06-16 11:49:38 -07:00