[Intel-gfx] [PATCH 02/22] drm/i915: introduce simple gemfs

Chris Wilson chris at chris-wilson.co.uk
Mon Sep 25 19:01:16 UTC 2017


Quoting Matthew Auld (2017-09-25 19:47:17)
> Not a fully blown gemfs, just our very own tmpfs kernel mount. Doing so
> moves us away from the shmemfs shm_mnt, and gives us the much needed
> flexibility to do things like set our own mount options, namely huge=
> which should allow us to enable the use of transparent-huge-pages for
> our shmem backed objects.
> 
> v2: various improvements suggested by Joonas
> 
> v3: move gemfs instance to i915.mm and simplify now that we have
> file_setup_with_mnt
> 
> v4: fallback to tmpfs shm_mnt upon failure to setup gemfs
> 
> v5: make tmpfs fallback kinder
> 
> 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