From: Peter Xu <peterx@redhat.com>
To: Xiaoming Ni <nixiaoming@huawei.com>
Cc: aarcange@redhat.com, akpm@linux-foundation.org,
cracauer@cons.org, dplotnikov@virtuozzo.com, gokhale2@llnl.gov,
hannes@cmpxchg.org, hughd@google.com, jglisse@redhat.com,
kirill@shutemov.name, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, maxime.coquelin@redhat.com,
mcfadden8@llnl.gov, mcgrof@kernel.org, mgorman@suse.de,
mike.kravetz@oracle.com, pbonzini@redhat.com,
rppt@linux.vnet.ibm.com, xemul@virtuozzo.com,
keescook@chromium.org
Subject: Re: [PATCH v2 1/1] userfaultfd/sysctl: add vm.unprivileged_userfaultfd
Date: Thu, 28 May 2020 08:49:19 -0400 [thread overview]
Message-ID: <20200528124919.GK1194141@xz-x1> (raw)
In-Reply-To: <a5aa7dfd-b4a9-0ab2-9392-d7889897382f@huawei.com>
On Thu, May 28, 2020 at 04:50:49PM +0800, Xiaoming Ni wrote:
> Since userfaultfd and vm are more closely related, will there be
> consideration to move fs/userfaultfd.c to the mm directory in the future?
Xiaoming,
I don't think so - userfaultfd is still interfacing the userspace as a file
object, so I think it's proper to have fs/userfaultfd.c handles the fs part of
userfaultfd. There's also an mm/userfaultfd.c which handles some internal
logic of userfaultfd syscalls, please feel free to have a look.
Thanks,
--
Peter Xu
next prev parent reply other threads:[~2020-05-28 12:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-27 6:54 [PATCH v2 1/1] userfaultfd/sysctl: add vm.unprivileged_userfaultfd Xiaoming Ni
2020-05-27 14:21 ` Peter Xu
2020-05-28 8:50 ` Xiaoming Ni
2020-05-28 12:49 ` Peter Xu [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-19 3:07 [PATCH v2 0/1] userfaultfd: allow to forbid unprivileged users Peter Xu
2019-03-19 3:07 ` [PATCH v2 1/1] userfaultfd/sysctl: add vm.unprivileged_userfaultfd Peter Xu
2019-03-19 7:11 ` Mike Rapoport
2019-03-19 18:07 ` Andrea Arcangeli
2019-03-19 18:02 ` Andrew Morton
2019-03-19 18:28 ` Dr. David Alan Gilbert
2019-03-20 0:20 ` Peter Xu
2019-03-20 19:01 ` Andrea Arcangeli
2019-03-21 13:43 ` Luis Chamberlain
2019-03-21 21:06 ` Andrea Arcangeli
2019-04-23 22:19 ` Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200528124919.GK1194141@xz-x1 \
--to=peterx@redhat.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=cracauer@cons.org \
--cc=dplotnikov@virtuozzo.com \
--cc=gokhale2@llnl.gov \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=jglisse@redhat.com \
--cc=keescook@chromium.org \
--cc=kirill@shutemov.name \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=maxime.coquelin@redhat.com \
--cc=mcfadden8@llnl.gov \
--cc=mcgrof@kernel.org \
--cc=mgorman@suse.de \
--cc=mike.kravetz@oracle.com \
--cc=nixiaoming@huawei.com \
--cc=pbonzini@redhat.com \
--cc=rppt@linux.vnet.ibm.com \
--cc=xemul@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).