CVSROOT:        /cvs
Module name:    src
Changes by:     b...@cvs.openbsd.org    2019/12/31 18:50:00

Modified files:
        sys/uvm        : uvm_pmemrange.c 

Log message:
Add uvm_pmr_remove_1strange_reverse to efficiently free pages
in reverse order from uvm.  Use it in uvm_pmr_freepageq when the
pages appear to be in reverse order.

This greatly improves cases of massive page freeing as noticed by
mlarkin@ in his ongoing efforts to have the most gigantish buffer
cache on the planet.

Most of this work done by me with help and polish from kettenis@
at e2k19.  Follow on commits to this will make use of this for
more efficient freeing of amaps and a few other things.

ok kettenis@ deraadt@

Reply via email to