userfaultfd
Bruno Haible <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, If anyone wants to work on that: Newer Linux kernels have a facility calls 'userfaultfd'. Basically, it's a more efficient way to do memory page protection tricks, compared to the PROT_NONE + SIGSEGV trick. [1][2] The SBCL people are about to make use of this for SBCL. [3] It could also make clisp's memory handling a bit more efficient. Unfortunately it won't reduce the code size, since the PROT_NONE + SIGSEGV approach is still the best one for Unix systems other than Linux. Bruno [1] https://www.kernel.org/doc/Documentation/vm/userfaultfd.txt [2] https://lwn.net/Articles/644532/ [3] https://medium.com/@MartinCracauer/generational-garbage-collection-write-barriers-write-protection-and-userfaultfd-2-8b0e796b8f7f#.efabjqnqj ------------------------------------------------------------------------------ _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel