https://bugs.kde.org/show_bug.cgi?id=397265

            Bug ID: 397265
           Summary: [PATCH] Add (partial) support for userfaultfd syscall
                    and related ioctl
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: even.roua...@spatialys.com
  Target Milestone: ---

Created attachment 114371
  --> https://bugs.kde.org/attachment.cgi?id=114371&action=edit
Implements userfaultfd syscall and related ioctl

The attached patch adds partial support for userfaultfd syscall and related
ioctl

This is just a start, since unfortunately full support for the userfaultfd
mechanism would require deeper changes in Valgrind internals, which I don't
master.

When trying on the demo program at the end of
http://man7.org/linux/man-pages/man2/userfaultfd.2.html,
Attaching gdb, it looks like Valgrind is stuck on the "char c = addr[l];"
instruction that accesses a unmapped page. Apparently the fault-handling thread
is not waken up

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to