Skip to content

lokeshgidra/uffd_move_ioctl_deadlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

$ make

$ ./repro-folio-split-deadlock
Usage: ./repro-folio-split-deadlock <0 no-THP|1 THP> <#threads> <#iters>

$ ./repro-folio-split-deadlock 0 3 5
Address returned by mmap() = from:0x23400000, to:0x7fcbcea00000
iteration 0 completed
iteration 1 completed
iteration 2 completed
iteration 3 completed
iteration 4 completed

$ ./repro-folio-split-deadlock 1 3 5
Address returned by mmap() = from:0x23400000, to:0x7f6d94400000
<stuck!!>

About

Reproduce deadlock when multiple threads try to move the same large folio using userfaultfd MOVE ioctl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •