Re: uvmfault_unlockall: kill unused anon argument

2020-11-05 Thread Mark Kettenis
> Date: Thu, 5 Nov 2020 09:20:49 -0300 > From: Martin Pieuchot > > One of the functions call in uvm_fault() passes a non-initialized > `oanon' argument. This bug is harmless as long as there is no locking > associated to amap & anons. But more importantly an `amap' is passed > to the function a

uvmfault_unlockall: kill unused anon argument

2020-11-05 Thread Martin Pieuchot
One of the functions call in uvm_fault() passes a non-initialized `oanon' argument. This bug is harmless as long as there is no locking associated to amap & anons. But more importantly an `amap' is passed to the function any given anon should share its lock, so this parameter is redundant. ok to