summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-04-27 20:19:02 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2017-05-11 15:43:40 +0200
commit0c2cf6d9487cb90be6ad7fac66044dfa8e8e5243 (patch)
tree2acb02c06ce98a0093b1b6f32fae3848a5380e7b /mm/vmalloc.c
parentARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y (diff)
downloadlinux-0c2cf6d9487cb90be6ad7fac66044dfa8e8e5243.tar.xz
linux-0c2cf6d9487cb90be6ad7fac66044dfa8e8e5243.zip
arm64: Silence first allocation with CONFIG_ARM64_MODULE_PLTS=y
When CONFIG_ARM64_MODULE_PLTS is enabled, the first allocation using the module space fails, because the module is too big, and then the module allocation is attempted from vmalloc space. Silence the first allocation failure in that case by setting __GFP_NOWARN. Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions