linux_dsm_epyc7002/drivers/gpu/drm/etnaviv
Michal Hocko 19809c2da2 mm, vmalloc: use __GFP_HIGHMEM implicitly
__vmalloc* allows users to provide gfp flags for the underlying
allocation.  This API is quite popular

  $ git grep "=[[:space:]]__vmalloc\|return[[:space:]]*__vmalloc" | wc -l
  77

The only problem is that many people are not aware that they really want
to give __GFP_HIGHMEM along with other flags because there is really no
reason to consume precious lowmemory on CONFIG_HIGHMEM systems for pages
which are mapped to the kernel vmalloc space.  About half of users don't
use this flag, though.  This signals that we make the API unnecessarily
too complex.

This patch simply uses __GFP_HIGHMEM implicitly when allocating pages to
be mapped to the vmalloc space.  Current users which add __GFP_HIGHMEM
are simplified and drop the flag.

Link: http://lkml.kernel.org/r/20170307141020.29107-1-mhocko@kernel.org
Signed-off-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: David Rientjes <rientjes@google.com>
Cc: Cristopher Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-08 17:15:13 -07:00
..
cmdstream.xml.h drm/etnaviv: Allow DRAW_INSTANCED commands 2016-12-02 19:30:22 +01:00
common.xml.h drm/etnaviv: update common and state_hi xml.h files 2016-01-26 18:53:55 +01:00
etnaviv_buffer.c drm/etnaviv: wire up iova handling in new cmdbuf abstraction 2017-02-02 10:30:20 +01:00
etnaviv_cmd_parser.c drm/etnaviv: add new GC3000 sensitive states 2017-01-30 12:43:54 +01:00
etnaviv_cmdbuf.c drm/etnaviv: add cmdbuf suballocator 2017-02-02 10:30:37 +01:00
etnaviv_cmdbuf.h drm/etnaviv: add cmdbuf suballocator 2017-02-02 10:30:37 +01:00
etnaviv_drv.c drm/etnaviv: submit support for out-fences 2017-03-29 16:23:25 +02:00
etnaviv_drv.h mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf 2017-02-24 17:46:54 -08:00
etnaviv_dump.c mm, vmalloc: use __GFP_HIGHMEM implicitly 2017-05-08 17:15:13 -07:00
etnaviv_dump.h drm/etnaviv: add initial etnaviv DRM driver 2015-12-15 14:48:02 +01:00
etnaviv_gem_prime.c drm/etnaviv: fix gem_prime_get_sg_table to return new SG table 2016-12-02 19:30:23 +01:00
etnaviv_gem_submit.c drm/etnaviv: submit support for out-fences 2017-03-29 16:23:25 +02:00
etnaviv_gem.c sched/headers: Prepare to move the get_task_struct()/put_task_struct() and related APIs from <linux/sched.h> to <linux/sched/task.h> 2017-03-02 08:42:40 +01:00
etnaviv_gem.h drm/etnaviv: return GPU fence through the submit structure 2017-03-29 16:19:01 +02:00
etnaviv_gpu.c Linux 4.11-rc7 2017-04-19 11:07:14 +10:00
etnaviv_gpu.h drm/etnaviv: submit support for in-fences 2017-03-29 16:17:46 +02:00
etnaviv_iommu_v2.c drm/etnaviv: get cmdbuf physical address through the cmdbuf abstraction 2017-02-02 10:30:27 +01:00
etnaviv_iommu.c drm/etnaviv: constify etnaviv_iommu_ops structures 2017-02-02 10:29:52 +01:00
etnaviv_iommu.h drm/etnaviv: implement IOMMUv2 translation 2016-09-15 15:29:43 +02:00
etnaviv_mmu.c drm: Improve drm_mm search (and fix topdown allocation) with rbtrees 2017-02-03 11:10:32 +01:00
etnaviv_mmu.h drm/etnaviv: add cmdbuf suballocator 2017-02-02 10:30:37 +01:00
Kconfig drm/etnaviv: submit support for in-fences 2017-03-29 16:17:46 +02:00
Makefile drm/etnaviv: move cmdbuf de-/allocation into own file 2017-02-02 10:30:15 +01:00
state_3d.xml.h drm: etnaviv: flush all GPU caches when stopping GPU 2016-03-07 15:36:56 +01:00
state_hi.xml.h drm/etnaviv: handle MMU exception in IRQ handler 2016-09-15 15:29:42 +02:00
state.xml.h drm/etnaviv: add initial etnaviv DRM driver 2015-12-15 14:48:02 +01:00