CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2022/03/17 04:15:13

Modified files:
        sys/uvm        : uvm_swap.c 

Log message:
In swap_io() allocate the buffer before doing encryption.

If the allocation fails due to memory pressure no time is wasted doing
encryption.  This also simplify the error path.

Tested by sthen@.

ok kn@, miod@, kettenis@, tb@

Reply via email to