[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180417232248.GA27631@bombadil.infradead.org>
Date: Tue, 17 Apr 2018 16:22:48 -0700
From: Matthew Wilcox <willy@...radead.org>
To: Yang Shi <yang.shi@...ux.alibaba.com>
Cc: viro@...iv.linux.org.uk, nyc@...omorphy.com,
mike.kravetz@...cle.com, kirill.shutemov@...ux.intel.com,
hughd@...gle.com, akpm@...ux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH] fs: introduce ST_HUGE flag and set it to tmpfs and
hugetlbfs
On Wed, Apr 18, 2018 at 05:08:13AM +0800, Yang Shi wrote:
> When applications use huge page on hugetlbfs, it just need check the
> filesystem magic number, but it is not enough for tmpfs. So, introduce
> ST_HUGE flag to statfs if super block has SB_HUGE set which indicates
> huge page is supported on the specific filesystem.
Hm. What's the plan for communicating support for page sizes other
than PMD page sizes? I know ARM has several different page sizes,
as do PA-RISC and ia64. Even x86 might support 1G page sizes through
tmpfs one day.
Powered by blists - more mailing lists