Date: Sun, 14 Aug 2016 19:05:44 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r304097 - stable/11/sys/vm Message-ID: <201608141905.u7EJ5ixR047879@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Sun Aug 14 19:05:44 2016 New Revision: 304097 URL: https://svnweb.freebsd.org/changeset/base/304097 Log: MFC r303243 Update a comment in vm_page_advise() to match behaviour after r290529. Modified: stable/11/sys/vm/vm_page.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/vm/vm_page.c ============================================================================== --- stable/11/sys/vm/vm_page.c Sun Aug 14 19:04:37 2016 (r304096) +++ stable/11/sys/vm/vm_page.c Sun Aug 14 19:05:44 2016 (r304097) @@ -3411,9 +3411,11 @@ vm_page_advise(vm_page_t m, int advice) vm_page_dirty(m); /* - * Place clean pages at the head of the inactive queue rather than the - * tail, thus defeating the queue's LRU operation and ensuring that the - * page will be reused quickly. + * Place clean pages near the head of the inactive queue rather than + * the tail, thus defeating the queue's LRU operation and ensuring that + * the page will be reused quickly. Dirty pages are given a chance to + * cycle once through the inactive queue before becoming eligible for + * laundering. */ _vm_page_deactivate(m, m->dirty == 0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608141905.u7EJ5ixR047879>