]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gemfs: enable THP
authorMatthew Auld <matthew.auld@intel.com>
Fri, 6 Oct 2017 22:18:15 +0000 (23:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Oct 2017 09:11:43 +0000 (10:11 +0100)
commitb901bb89324ae65573c5f5c0a126cb864096b77c
tree7e1c504a70ea4d15726027f60532e50f0b0fffda
parent465c403cb50868a86164bfe5b3bf6ddd70c395e1
drm/i915/gemfs: enable THP

Enable transparent-huge-pages through gemfs by mounting with
huge=within_size.

v2: sprinkle within_size comment

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006145041.21673-4-matthew.auld@intel.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171006221833.32439-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gemfs.c