* Alexey Perevalov (a.pereva...@samsung.com) wrote:
> This commit duplicates header of "userfaultfd: provide pid in userfault msg"
> into linux kernel.
> 
> Signed-off-by: Alexey Perevalov <a.pereva...@samsung.com>

OK, so this isn't yet merged into Linus' tree from what I can tell;
we need to wait until it gets merged, and then run the
scripts/update-linux-headers.sh

Dave

> ---
>  linux-headers/linux/userfaultfd.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/linux-headers/linux/userfaultfd.h 
> b/linux-headers/linux/userfaultfd.h
> index 9701772..eda028c 100644
> --- a/linux-headers/linux/userfaultfd.h
> +++ b/linux-headers/linux/userfaultfd.h
> @@ -78,6 +78,9 @@ struct uffd_msg {
>               struct {
>                       __u64   flags;
>                       __u64   address;
> +                     union {
> +                             __u32   ptid;
> +                     } feat;
>               } pagefault;
>  
>               struct {
> @@ -161,6 +164,7 @@ struct uffdio_api {
>  #define UFFD_FEATURE_MISSING_HUGETLBFS               (1<<4)
>  #define UFFD_FEATURE_MISSING_SHMEM           (1<<5)
>  #define UFFD_FEATURE_EVENT_UNMAP             (1<<6)
> +#define UFFD_FEATURE_THREAD_ID                       (1<<7)
>       __u64 features;
>  
>       __u64 ioctls;
> -- 
> 1.9.1
> 
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK

Reply via email to