On Sat, 05 Mar 2022 19:15:02 -0700
"Todd C. Miller" :
> On Sun, 06 Mar 2022 02:58:30 +0100, Jeremie Courreges-Anglas wrote:
>
> > I'm not sure what you mean here. Solene's diff added -k to both
> > compress(1) and gzip(1) (and their uncompressor counterparts).
> > Adding -k to gzip/gunzip only w
Try to allocate the buffer before doing the encryption, if it fails we
do not spend time doing the encryption. This reduce the pressure when
swapping with low memory.
ok?
Index: uvm/uvm_swap.c
===
RCS file: /cvs/src/sys/uvm/uvm_swap