summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2014-01-21 03:27:47 +0000
committerjhb <jhb@FreeBSD.org>2014-01-21 03:27:47 +0000
commit14337759da92910fbd5be9b7f697ea5008868dd5 (patch)
tree0a939dabc64f41730153fb187173d1d0d39db7ef /sys/vm
parent491bd16fc2a13551a37db7ce029613a2bc94d803 (diff)
downloadFreeBSD-src-14337759da92910fbd5be9b7f697ea5008868dd5.zip
FreeBSD-src-14337759da92910fbd5be9b7f697ea5008868dd5.tar.gz
Fix a couple of typos.
Diffstat (limited to 'sys/vm')
-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 517491f..52d6abc 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
OpenPOWER on IntegriCloud