CVS: cvs.openbsd.org: src
Mark Kettenis <[email protected]>
| Newsgroups | gmane.os.openbsd.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/07/11 07:13:17 Modified files: sys/uvm : uvm_page.c uvm_page.h uvm_pager.c uvm_pdaemon.c uvm_swap.c uvm_swap.h Log message: Encrypt swap pages "inline" instead of going through a bounce buffer. This means we no longer need to reserve bounce pages for the pagdaemon. Instead we can use the complete set of psegs to swap out pages. Note that there is another important consequence of this diff. Before the old page remaines unencrypted and on the inactive queue, where it will sit until the pagedaemon runs again and kills it. With this diff, pages will be freed as soon as the I/O completes. This is probably an improvement in itself. This is simplified version of a diff posted by mpi@ earlier this year. These simplifications were possible because we no longer bounce pages to meet DMA constraints in the swap code. ok deraadt@