aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_pageout.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-07-23 21:03:25 +0000
committerMark Johnston <markj@FreeBSD.org>2016-07-23 21:03:25 +0000
commit44be0a8ea517cbe7a9140bca20e1e93228ac0a04 (patch)
tree038609f6d32844a5b7f50bbdb726b0006f0429f2 /sys/vm/vm_pageout.c
parentefe1ff4cf0cfdd9add186d633328162a458ca154 (diff)
Correct a comment - each page queue has its own lock.
Reviewed by: alc MFC after: 3 days
Notes
Notes: svn path=/head/; revision=303244
Diffstat (limited to 'sys/vm/vm_pageout.c')
-rw-r--r--sys/vm/vm_pageout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 610fdd72df5e..2d2bf6d25805 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -267,7 +267,7 @@ vm_pageout_init_marker(vm_page_t marker, u_short queue)
*
* Lock vm object currently associated with `m'. VM_OBJECT_TRYWLOCK is
* known to have failed and page queue must be either PQ_ACTIVE or
- * PQ_INACTIVE. To avoid lock order violation, unlock the page queues
+ * PQ_INACTIVE. To avoid lock order violation, unlock the page queue
* while locking the vm object. Use marker page to detect page queue
* changes and maintain notion of next page on page queue. Return
* TRUE if no changes were detected, FALSE otherwise. vm object is