[Intel-gfx] [PATCH 01/21] mm/shmem: introduce shmem_file_setup_with_mnt

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Fri Jul 28 12:02:32 UTC 2017


Ping on the core MM folks.

We'd need either an ack or nack on this one to proceed with the huge
page work for i915.

Regards, Joonas

On ti, 2017-07-25 at 20:21 +0100, Matthew Auld wrote:
> 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.
> 
> 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: Dave Hansen <dave.hansen at intel.com>
> Cc: Kirill A. Shutemov <kirill at shutemov.name>
> Cc: Hugh Dickins <hughd at google.com>
> Cc: linux-mm at kvack.org
> ---
>  include/linux/shmem_fs.h |  2 ++
>  mm/shmem.c               | 30 ++++++++++++++++++++++--------
>  2 files changed, 24 insertions(+), 8 deletions(-)

<SNIP>

-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list