aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2014-01-21 03:27:47 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2014-01-21 03:27:47 +0000
commitab46f63e8f56aa21d3bacc575a71777ee1b0f296 (patch)
tree0a939dabc64f41730153fb187173d1d0d39db7ef /sys
parent44afcdabf35f4bb07f8f2903857844a122a95a5c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_pageout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 517491fe7efbb..52d6abc7f4bb7 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -1121,7 +1121,7 @@ vm_pageout_scan(struct vm_domain *vmd, int pass)
} else if ((m->flags & PG_WINATCFLS) == 0 && pass < 2) {
/*
* Dirty pages need to be paged out, but flushing
- * a page is extremely expensive verses freeing
+ * a page is extremely expensive versus freeing
* a clean page. Rather then artificially limiting
* the number of pages we can flush, we instead give
* dirty pages extra priority on the inactive queue
@@ -1183,7 +1183,7 @@ vm_pageout_scan(struct vm_domain *vmd, int pass)
* to be freed and dirty pages to be moved to the end
* of the queue. Since dirty pages are also moved to
* the end of the queue once-cleaned, this gives
- * way too large a weighting to defering the freeing
+ * way too large a weighting to deferring the freeing
* of dirty pages.
*
* We can't wait forever for the vnode lock, we might