svn commit: r306908 - user/alc/PQ_LAUNDRY/sys/vm
alc at FreeBSD.org
Sun Oct 9 18:39:14 UTC 2016
Date: Sun Oct 9 18:39:13 2016
New Revision: 306908
By the time that we've laundered a page, it has gone unreferenced for a
long time, especially if it was background laundered. So, it makes more
sense to place the page nearer the head of the inactive queue than the
Reviewed by: markj
--- user/alc/PQ_LAUNDRY/sys/vm/swap_pager.c Sun Oct 9 13:59:38 2016 (r306907)
+++ user/alc/PQ_LAUNDRY/sys/vm/swap_pager.c Sun Oct 9 18:39:13 2016 (r306908)
@@ -1549,13 +1549,16 @@ swp_pager_async_iodone(struct buf *bp)
* For write success, clear the dirty
* status, then finish the I/O ( which decrements the
* busy count and possibly wakes waiter's up ).
+ * A page is only written to swap after a period of
+ * inactivity. Therefore, we do not expect it to be
+ * reused.
("swp_pager_async_iodone: page %p is not write"
" protected", m));
More information about the svn-src-user