Re: Call uvm_pageactivate() from uvm_pageunwire()

2022-04-26 Thread Mark Kettenis
> Date: Tue, 26 Apr 2022 14:19:32 +0200 > From: Martin Pieuchot > > I'd like to use a proper interface to add/remove pages on the > active/inactive queues. This will help for lock assertions and help > improving the existing LRU limitations. > > Diff below makes uvm_pageunwire() call

Call uvm_pageactivate() from uvm_pageunwire()

2022-04-26 Thread Martin Pieuchot
I'd like to use a proper interface to add/remove pages on the active/inactive queues. This will help for lock assertions and help improving the existing LRU limitations. Diff below makes uvm_pageunwire() call uvm_pageactivate() instead of inserting the page itself. ok? Index: uvm/uvm_page.c