drm/i915/gemfs: enable THP
authorMatthew Auld <[email protected]>
Fri, 6 Oct 2017 22:18:15 +0000 (23:18 +0100)
committerChris Wilson <[email protected]>
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 <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/i915_gemfs.c