DragonFly commits List (threaded) for 2013-03
git: kernel - Abort pageout operations when free memory recovers
Author: Matthew Dillon <email@example.com>
Date: Fri Mar 1 22:07:51 2013 -0800
kernel - Abort pageout operations when free memory recovers
* Nominal pageout operations free memory. On systems with large amounts
of ram the pageout count can be very large and take a long time to
clear. During this period, other unrelated processes might free memory.
But even when sufficient memory is freed the pageout daemon still tries
to finish clearing its previously calculated number of pages.
* Add a check in the deactivation scan to break out of the loop if
a sufficient number of free pages is detected.
* Fixes unnecessary extra paging out of data (which can go on for several
minutes) on large systems when memory is freed by other means.
Summary of changes:
sys/vm/vm_pageout.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
DragonFly BSD source repository