[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7ff6fb32-7d16-af4f-d9d5-698ab7e9e14b@intel.com>
Date: Tue, 2 May 2017 14:32:42 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Prakash Sangappa <prakash.sangappa@...cle.com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH RFC] hugetlbfs 'noautofill' mount option
On 05/01/2017 11:00 AM, Prakash Sangappa wrote:
> This patch adds a new hugetlbfs mount option 'noautofill', to indicate that
> pages should not be allocated at page fault time when accessed thru mmapped
> address.
I think the main argument against doing something like this is further
specializing hugetlbfs. I was really hoping that userfaultfd would be
usable for your needs here.
Could you elaborate on other options that you considered? Did you look
at userfaultfd? What about an madvise() option that disallows backing
allocations?
Powered by blists - more mailing lists