diff options
author | Mark Johnston <markj@FreeBSD.org> | 2016-07-23 21:02:36 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2016-07-23 21:02:36 +0000 |
commit | efe1ff4cf0cfdd9add186d633328162a458ca154 (patch) | |
tree | f20917d9ff44314321e4c5e139430b79d65ce2aa | |
parent | 67a48226b785a9bf267c24683d0a1d176f32fe22 (diff) | |
download | src-efe1ff4cf0cfdd9add186d633328162a458ca154.tar.gz src-efe1ff4cf0cfdd9add186d633328162a458ca154.zip |
Update a comment in vm_page_advise() to match behaviour after r290529.
Reviewed by: alc
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=303243
-rw-r--r-- | sys/vm/vm_page.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 4ecc0ead4abc..4872472cd1fa 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -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); } |