Re: Introduce uvm_pagewait()

2022-07-11 Thread Mark Kettenis
> Date: Mon, 11 Jul 2022 13:33:39 +0200 > From: Martin Pieuchot > > On 28/06/22(Tue) 14:13, Martin Pieuchot wrote: > > I'd like to abstract the use of PG_WANTED to start unifying & cleaning > > the various cases where a code path is waiting for a busy page. Here's > > the first step. > > > > ok

Re: Introduce uvm_pagewait()

2022-07-11 Thread Sebastien Marie
On Tue, Jun 28, 2022 at 02:13:04PM +0200, Martin Pieuchot wrote: > I'd like to abstract the use of PG_WANTED to start unifying & cleaning > the various cases where a code path is waiting for a busy page. Here's > the first step. > > ok? if it helps you, yes it is fine. ok semarie@ just one nit

Re: Introduce uvm_pagewait()

2022-07-11 Thread Martin Pieuchot
On 28/06/22(Tue) 14:13, Martin Pieuchot wrote: > I'd like to abstract the use of PG_WANTED to start unifying & cleaning > the various cases where a code path is waiting for a busy page. Here's > the first step. > > ok? Anyone? > Index: uvm/uvm_amap.c > ==

Introduce uvm_pagewait()

2022-06-28 Thread Martin Pieuchot
I'd like to abstract the use of PG_WANTED to start unifying & cleaning the various cases where a code path is waiting for a busy page. Here's the first step. ok? Index: uvm/uvm_amap.c === RCS file: /cvs/src/sys/uvm/uvm_amap.c,v retr