]> granicus.if.org Git - zfs/commit
Add missing __GFP_HIGHMEM flag to vmalloc
authorMichael Niewöhner <c0d3z3r0@users.noreply.github.com>
Wed, 17 Jul 2019 16:09:22 +0000 (18:09 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 17 Jul 2019 16:09:22 +0000 (09:09 -0700)
commit5784c7c36eca5a0c9ed662dfd9248de4c90862cf
tree0f5e58e0ac9dd8800e8f889ecf60fe7d1ab27c7c
parentc8802ba08d50483ca583f54dbe730e8ada922dd0
Add missing __GFP_HIGHMEM flag to vmalloc

Make use of __GFP_HIGHMEM flag in vmem_alloc, which is required for
some 32-bit systems to make use of full available memory.
While kernel versions >=4.12-rc1 add this flag implicitly, older
kernels do not.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Closes #9031
module/spl/spl-kmem.c