python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Hijacking page fault handler
I have a process PID that access a memory region that it's not allowed to, the CPU creates a trap into the kernel which calls do_page_fault() which will send SIGSEGV to the user process. The user proc...
ruke
Votes: 0
Answers: 1
Userfaultfd write protection appears unsupported when checking through the UFFDIO_API ioctl
I am trying to use the write protection feature of Linux's userfaultfd, but it does not appear to be enabled in my kernel even though I am using version 5.13 (write protection should be fully supporte...
Zach
Votes: 0
Answers: 2
Operator new behaves differently in Debug mode than in Release mode in MSVC
While testing some things regarding page faults I discovered a curious difference between how new operates in Debug mode and Release mode in MSVC. Consider the following code1:
#include <array>
...
janekb04
Votes: 0
Answers: 2
Can page faults be triggered by NUMA access?
I have some multithreaded code where the threads spend a significant amount time in the page fault handler of the kernel (Linux 5.4).
But this only happens on a two Socket NUMA machine, but not on on ...
Unlikus
Votes: 0
Answers: 0