[Intel-gfx] [PATCH 01/23] mm/shmem: introduce shmem_file_setup_with_mnt
Andrew Morton
akpm at linux-foundation.org
Wed Aug 23 22:34:56 UTC 2017
On Wed, 23 Aug 2017 12:31:28 +0300 Joonas Lahtinen <joonas.lahtinen at linux.intel.com> wrote:
> This patch has been floating around for a while now Acked and without
> further comments. It is blocking us from merging huge page support to
> drm/i915.
>
> Would you mind merging it, or prodding the right people to get it in?
>
> Regards, Joonas
>
> On Mon, 2017-08-21 at 19:34 +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.
hm, it's a bit odd. I'm having trouble locating the code which handles
huge=within_size (and any other options?). What other approaches were
considered? Was it not feasible to add i915-specific mount options to
mm/shmem.c (for example?).
More information about the Intel-gfx
mailing list