• Andrea Arcangeli's avatar
    userfaultfd: UFFDIO_REMAP · 093b3515
    Andrea Arcangeli authored
    This remap ioctl allows to atomically move a page in or out of an
    userfaultfd address space. It's more expensive than "copy" (and of
    course more expensive than "zerofill") as it requires a TLB flush on
    the source range for each ioctl, which is an expensive operation on
    SMP. Especially if copying only a few pages at time, copying without
    TLB flush is faster.
    093b3515
userfaultfd.c 33.1 KB