Re: pdaemon locking tweak

2022-08-30 Thread Jonathan Gray
On Tue, Aug 30, 2022 at 10:40:23AM +0200, Martin Pieuchot wrote: > On 30/08/22(Tue) 15:28, Jonathan Gray wrote: > > On Mon, Aug 29, 2022 at 01:46:20PM +0200, Martin Pieuchot wrote: > > > Diff below refactors the pdaemon's locking by introducing a new *trylock() > > > function for a given page.

Re: pdaemon locking tweak

2022-08-30 Thread Martin Pieuchot
On 30/08/22(Tue) 15:28, Jonathan Gray wrote: > On Mon, Aug 29, 2022 at 01:46:20PM +0200, Martin Pieuchot wrote: > > Diff below refactors the pdaemon's locking by introducing a new *trylock() > > function for a given page. This is shamelessly stolen from NetBSD. > > > > This is part of my ongoing

Re: pdaemon locking tweak

2022-08-29 Thread Jonathan Gray
On Mon, Aug 29, 2022 at 01:46:20PM +0200, Martin Pieuchot wrote: > Diff below refactors the pdaemon's locking by introducing a new *trylock() > function for a given page. This is shamelessly stolen from NetBSD. > > This is part of my ongoing effort to untangle the locks used by the page >

pdaemon locking tweak

2022-08-29 Thread Martin Pieuchot
Diff below refactors the pdaemon's locking by introducing a new *trylock() function for a given page. This is shamelessly stolen from NetBSD. This is part of my ongoing effort to untangle the locks used by the page daemon. ok? Index: uvm//uvm_pdaemon.c