Touching page before the pread causes the page to be dirty and a page fault occurs and then the code does not hang.
Touching page before the pread causes the page to be dirty and a page fault occurs and then the code does not hang.