Re: Decrement uvmexp.swpgonly

2022-04-26 Thread Mark Kettenis
> Date: Tue, 26 Apr 2022 14:09:36 +0200 > From: Martin Pieuchot > > Small diff to decrement the counter only if the I/O succeed. This > prevent a false positive if a check is performed before an error is > returned. > > ok? yes that should be fine ok kettenis@ > Index: uvm/uvm_swap.c > =

Decrement uvmexp.swpgonly

2022-04-26 Thread Martin Pieuchot
Small diff to decrement the counter only if the I/O succeed. This prevent a false positive if a check is performed before an error is returned. ok? Index: uvm/uvm_swap.c === RCS file: /cvs/src/sys/uvm/uvm_swap.c,v retrieving revisio