[HN Gopher] Show HN: Recursive COW Pages in Userspace
       ___________________________________________________________________
        
       Show HN: Recursive COW Pages in Userspace
        
       Author : wheybags
       Score  : 4 points
       Date   : 2023-07-15 21:49 UTC (1 hours ago)
        
 (HTM) web link (wheybags.com)
 (TXT) w3m dump (wheybags.com)
        
       | sargun wrote:
       | This is neat, but the Linux kernel kind of has a built in
       | mechanism for this -- userfaultfd (see, the following for when
       | the capability to implement CoW was added:
       | https://lwn.net/Articles/777258/).
       | 
       | The article does highlight that the capability described is
       | implemented in userspace, but quite a bit of what's required to
       | implement segfaults happens in kernel space. I'd argue that
       | userfaultfd is equally in userspace to signal handlers.
        
         | wheybags wrote:
         | Oh nice! I didn't really look into a linux implementation, as
         | my initial curiosity was sated by the time I finished the
         | windows version, but it's cool to know there's a more "proper"
         | option there.
        
       ___________________________________________________________________
       (page generated 2023-07-15 23:01 UTC)