HomeFreeBSD

Check for __GFP_RECLAIM instead of GFP_KERNEL

Description

Check for __GFP_RECLAIM instead of GFP_KERNEL

Check for __GFP_RECLAIM instead of GFP_KERNEL because zfs modifies
IO and FS flags which breaks the check for GFP_KERNEL.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Closes #9034

Details

Provenance
Michael Niewöhner <foss@mniewoehner.de>Authored on Aug 6 2019, 11:28 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 13 2019, 6:05 PM
Parents
rG6d948c3519ab: Add kmem_cache flag for forcing kvmalloc
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG8aaa10a9a059: Check for __GFP_RECLAIM instead of GFP_KERNEL (authored by Michael Niewöhner <foss@mniewoehner.de>).Nov 13 2019, 6:05 PM