Messages in this thread | | | Subject | Re: [PATCH RFC] hugetlbfs 'noautofill' mount option | From | Prakash Sangappa <> | Date | Tue, 27 Jun 2017 13:57:48 -0700 |
| |
On 6/20/17 4:35 PM, Prakash Sangappa wrote: > > > On 6/16/17 6:15 AM, Andrea Arcangeli wrote: >> Adding a single if (ctx->feature & UFFD_FEATURE_SIGBUS) goto out, >> branch for this corner case to handle_userfault() isn't great and the >> hugetlbfs mount option is absolutely zero cost to the handle_userfault >> which is primarily why I'm not against it.. although it's not going to >> be measurable so it would be ok also to add such feature. > > > If implementing UFFD_FEATURE_SIGBUS is preferred instead of the mount > option, I could look into that. > Implementing UFFD_FEATURE_SIGBUS seems reasonable.
I wanted to note here on this thread that I sent out a seperate RFC patch review for adding UFFD_FEATURE_SIGBUS.
See, http://marc.info/?l=linux-mm&m=149857975906880&w=2
| |