tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Changes to reduce pressure on uvm_pageqlock
> On Dec 8, 2019, at 6:00 AM, Mindaugas Rasiukevicius <rmind%netbsd.org@localhost> wrote:
>
> Just a small note: since vm_page::wire_count and vm_page::loan_count are
> kind of mutually exclusive, I think suggestion by yamt@ (long time ago) to
> merge them (positive value meaning wired count and negative -- loan) is a
> useful one. It would also free up those 16-bits, since Andrew seems to be
> in need of some.
That seems like a good change to make, but omg please wrap the manipulation in macros / inlines because it seems like otherwise it could be quite error-prone.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index