Conversation

The userfaultfd approach avoids this, among other ways that it's substantially less ugly and more efficient. It also means you don't have issues with overlapping uses of this functionality which is why Firefox is messes with libc rather than solving their internal code conflicts.
1
2