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
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
===
> 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
> =
> 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 uvm_pageac
On 25.4.2022. 19:38, Hrvoje Popovski wrote:
> On 25.4.2022. 17:32, Claudio Jeker wrote:
>> You may need to play with hw.setperf and maybe run a single cpu load to
>> see boost behaviour. I noticed that my 7th gen Intel CPU behaves different
>> to the AMD Ryzen CPUs I own.
> This is like playing wit