diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2015-09-04 15:47:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-04 16:54:41 -0700 |
commit | 2c5b7e1be74ff0175dedbbd325abe9f0dbbb09ae (patch) | |
tree | e93f6aa423faeb6fbcd46103694d629b0a7bb82c /tools/testing/selftests/vm/Makefile | |
parent | 230c92a8797e0e717c6732de0fffdd5726c0f48f (diff) |
userfaultfd: avoid missing wakeups during refile in userfaultfd_read
During the refile in userfaultfd_read both waitqueues could look empty to
the lockless wake_userfault(). Use a seqcount to prevent this false
negative that could leave an userfault blocked.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/vm/Makefile')
0 files changed, 0 insertions, 0 deletions