Star64_linux/include/drm
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
..
bridge drm: bridge: dw-hdmi: Move HPD handling to PHY operations 2017-04-04 17:48:21 +02:00
i2c
tinydrm drm/tinydrm: Fix drm_driver.fops.owner 2017-03-27 08:41:35 +02:00
ttm Linux 4.11-rc6 2017-04-11 07:40:42 +10:00
ati_pcigart.h
drm_agpsupport.h
drm_atomic.h drm/atomic: Unify conflicting encoder handling. 2017-04-06 17:00:27 -04:00
drm_atomic_helper.h drm: Add acquire ctx to ->gamma_set hook 2017-04-06 10:21:55 +02:00
drm_auth.h
drm_blend.h
drm_bridge.h
drm_cache.h
drm_color_mgmt.h
drm_connector.h Merge tag 'drm-misc-next-2017-04-07' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2017-04-11 07:41:10 +10:00
drm_crtc.h drm: Add acquire ctx to ->gamma_set hook 2017-04-06 10:21:55 +02:00
drm_crtc_helper.h drm/atomic: Acquire connection_mutex lock in drm_helper_probe_single_connector_modes, v4. 2017-04-06 21:29:23 +02:00
drm_debugfs.h drm/debugfs: Add kerneldoc 2017-03-24 09:36:06 +01:00
drm_debugfs_crc.h
drm_displayid.h
drm_dp_dual_mode_helper.h
drm_dp_helper.h
drm_dp_mst_helper.h
drm_drv.h drm: drop extern from function decls 2017-03-24 09:36:06 +01:00
drm_edid.h
drm_encoder.h
drm_encoder_slave.h
drm_fb_cma_helper.h
drm_fb_helper.h
drm_file.h
drm_fixed.h
drm_flip_work.h
drm_fourcc.h
drm_framebuffer.h
drm_gem.h
drm_gem_cma_helper.h
drm_global.h drm: drop extern from function decls 2017-03-24 09:36:06 +01:00
drm_hashtab.h drm: drop extern from function decls 2017-03-24 09:36:06 +01:00
drm_ioctl.h drm: document drm_ioctl.[hc] 2017-04-04 20:47:54 +02:00
drm_irq.h
drm_legacy.h
drm_mem_util.h mm, vmalloc: use __GFP_HIGHMEM implicitly 2017-05-08 17:15:13 -07:00
drm_mipi_dsi.h
drm_mm.h
drm_mode_config.h drm: Document kms locking a bit better 2017-03-29 08:34:28 +02:00
drm_mode_object.h
drm_modes.h
drm_modeset_helper.h
drm_modeset_helper_vtables.h drm/atomic: Add connector atomic_check function, v2. 2017-04-06 17:00:27 -04:00
drm_modeset_lock.h drm: Remove drm_modeset_legacy_acquire_ctx and crtc->acquire_ctx 2017-04-05 09:26:45 +02:00
drm_of.h drm: of: introduce drm_of_find_panel_or_bridge 2017-04-06 17:00:27 -04:00
drm_os_linux.h
drm_panel.h drm: make of_drm_find_panel also depend on CONFIG_DRM_PANEL 2017-04-06 17:00:27 -04:00
drm_pci.h drm: drop extern from function decls 2017-03-24 09:36:06 +01:00
drm_pciids.h
drm_plane.h drm: Add acquire ctx parameter to ->plane_disable 2017-03-29 09:14:58 +02:00
drm_plane_helper.h drm: Add acquire ctx parameter to ->plane_disable 2017-03-29 09:14:58 +02:00
drm_prime.h drm: drop extern from function decls 2017-03-24 09:36:06 +01:00
drm_print.h
drm_property.h
drm_rect.h
drm_scdc_helper.h drm/scdc: declare drm_scdc_get_scrambling_status 2017-03-23 14:53:54 +02:00
drm_simple_kms_helper.h drm: Clarify the role of plane_state argument to drm_simple update(). 2017-03-30 12:02:00 -07:00
drm_sysfs.h drm: Consolidate and document sysfs support 2017-04-04 20:47:54 +02:00
drm_vma_manager.h
drmP.h drm: Consolidate and document sysfs support 2017-04-04 20:47:54 +02:00
gma_drm.h
i915_component.h
i915_drm.h
i915_pciids.h
intel-gtt.h
intel_lpe_audio.h