3 ms·
Linux also has userfaultfd for this, which I think is easier to program against: https://www.kernel.org/doc/Documentation/vm/userfaultfd.txt https://www.kernel
by geofft 10y ago
Linux also has userfaultfd for this, which I think is easier to program against:
https://www.kernel.org/doc/Documentation/vm/userfaultfd.txt https://www.kernel.org/doc/Documentation/vm/userfaultfd.txt
There's also something in Mach for this on OS X, but I forget the details. And a handful of non-UNIX OSes have had support for an outside program being able to get notified efficiently on segfaults and map pages in.