[Intel-gfx] [PATCH 01/22] mm/shmem: support passing mnt to shmem_file_setup

Chris Wilson chris at chris-wilson.co.uk
Mon Sep 25 18:58:26 UTC 2017


Quoting Matthew Auld (2017-09-25 19:47:16)
> We are planning to use our own tmpfs mnt in i915 in place of the
> shm_mnt such that we can control the mount options, in particular
> huge=, which we require to support huge-gtt-pages. So rather than roll
> our own version of __shmem_file_setup, it would be preferred if we could
> just give shmem our mnt, and let it do the rest.
> 
> Based on the patch: https://patchwork.freedesktop.org/patch/178433/
> 
> Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Dave Hansen <dave.hansen at intel.com>
> Cc: Kirill A. Shutemov <kirill at shutemov.name>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Hugh Dickins <hughd at google.com>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: "Arve Hjønnevåg" <arve at android.com>
> Cc: Riley Andrews <riandrews at android.com>
> Cc: dri-devel at lists.freedesktop.org
> Cc: linux-mm at kvack.org
> Cc: devel at driverdev.osuosl.org
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list