aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMax Filippov <[email protected]>2019-11-14 00:06:42 +0000
committerMax Filippov <[email protected]>2019-11-26 19:33:39 +0000
commite64681b487c897ec871465083bf0874087d47b66 (patch)
tree98e23d719528687833254e7b8a91a03f3475c390 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentxtensa: fix TLB sanity checker (diff)
downloadkernel-e64681b487c897ec871465083bf0874087d47b66.tar.gz
kernel-e64681b487c897ec871465083bf0874087d47b66.zip
xtensa: use MEMBLOCK_ALLOC_ANYWHERE for KASAN shadow map
KASAN shadow map doesn't need to be accessible through the linear kernel mapping, allocate its pages with MEMBLOCK_ALLOC_ANYWHERE so that high memory can be used. This frees up to ~100MB of low memory on xtensa configurations with KASAN and high memory. Cc: [email protected] # v5.1+ Fixes: f240ec09bb8a ("memblock: replace memblock_alloc_base(ANYWHERE) with memblock_phys_alloc") Reviewed-by: Mike Rapoport <[email protected]> Signed-off-by: Max Filippov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions