]> Git Repo - linux.git/commit - fs/userfaultfd.c
userfaultfd: provide pid in userfault msg - add feat union
authorAndrea Arcangeli <[email protected]>
Wed, 6 Sep 2017 23:23:59 +0000 (16:23 -0700)
committerLinus Torvalds <[email protected]>
Thu, 7 Sep 2017 00:27:29 +0000 (17:27 -0700)
commita36985d31a65d5c0559fb582719e32eaf0ccec3b
tree422c04b7bd357e1f1f23ff4576c139ca272b8546
parent9d4ac934829ac58c5109c49e6dfe677300e5e652
userfaultfd: provide pid in userfault msg - add feat union

No ABI change, but this will make it more explicit to software that ptid
is only available if requested by passing UFFD_FEATURE_THREAD_ID to
UFFDIO_API.  The fact it's a union will also self document it shouldn't
be taken for granted there's a tpid there.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrea Arcangeli <[email protected]>
Cc: "Dr. David Alan Gilbert" <[email protected]>
Cc: Alexey Perevalov <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Mike Rapoport <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/userfaultfd.c
include/uapi/linux/userfaultfd.h
This page took 0.05468 seconds and 4 git commands to generate.