summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2000-03-26 15:20:23 +0000
committercharnier <charnier@FreeBSD.org>2000-03-26 15:20:23 +0000
commit686df89909cc3a4ab7e6ab70245e393ba7e198b2 (patch)
tree8246ed5b20be486890cba80a9d8ad23398227115
parentabcb2d08a5004b7817df4d1fb96142ba3b92f6da (diff)
downloadFreeBSD-src-686df89909cc3a4ab7e6ab70245e393ba7e198b2.zip
FreeBSD-src-686df89909cc3a4ab7e6ab70245e393ba7e198b2.tar.gz
Spelling
-rw-r--r--sys/vm/default_pager.c2
-rw-r--r--sys/vm/device_pager.c4
-rw-r--r--sys/vm/swap_pager.c8
-rw-r--r--sys/vm/vm_fault.c8
-rw-r--r--sys/vm/vm_glue.c2
-rw-r--r--sys/vm/vm_init.c2
-rw-r--r--sys/vm/vm_kern.c2
-rw-r--r--sys/vm/vm_map.c4
-rw-r--r--sys/vm/vm_meter.c4
-rw-r--r--sys/vm/vm_mmap.c2
-rw-r--r--sys/vm/vm_object.c6
-rw-r--r--sys/vm/vm_page.c12
-rw-r--r--sys/vm/vm_pageout.c8
-rw-r--r--sys/vm/vm_pager.c6
-rw-r--r--sys/vm/vm_swap.c2
-rw-r--r--sys/vm/vm_unix.c2
-rw-r--r--sys/vm/vnode_pager.c4
17 files changed, 39 insertions, 39 deletions
diff --git a/sys/vm/default_pager.c b/sys/vm/default_pager.c
index 7ea507f..ce9e146 100644
--- a/sys/vm/default_pager.c
+++ b/sys/vm/default_pager.c
@@ -11,7 +11,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by David Greenman.
* 4. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
diff --git a/sys/vm/device_pager.c b/sys/vm/device_pager.c
index 91885de..1be10fe 100644
--- a/sys/vm/device_pager.c
+++ b/sys/vm/device_pager.c
@@ -16,7 +16,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -128,7 +128,7 @@ dev_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t fo
return (NULL);
/*
- * Lock to prevent object creation race contion.
+ * Lock to prevent object creation race condition.
*/
while (dev_pager_alloc_lock) {
dev_pager_alloc_lock_want++;
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c
index c9ab719..6225bb1 100644
--- a/sys/vm/swap_pager.c
+++ b/sys/vm/swap_pager.c
@@ -18,7 +18,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -682,7 +682,7 @@ swap_pager_copy(srcobject, dstobject, offset, destroysource)
/*
* Reverting the type is not necessary, the caller is going
* to destroy srcobject directly, but I'm doing it here
- * for consistancy since we've removed the object from its
+ * for consistency since we've removed the object from its
* queues.
*/
srcobject->type = OBJT_DEFAULT;
@@ -1538,7 +1538,7 @@ swp_pager_async_iodone(bp)
* someone may be waiting for that.
*
* NOTE: for reads, m->dirty will probably
- * be overriden by the original caller of
+ * be overridden by the original caller of
* getpages so don't play cute tricks here.
*
* XXX it may not be legal to free the page
@@ -1573,7 +1573,7 @@ swp_pager_async_iodone(bp)
* make sure the pmap modify bits are also cleared.
*
* NOTE: for reads, m->dirty will probably be
- * overriden by the original caller of getpages so
+ * overridden by the original caller of getpages so
* we cannot set them in order to free the underlying
* swap in a low-swap situation. I don't think we'd
* want to do that anyway, but it was an optimization
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 23e2ba0..7d518af 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -165,7 +165,7 @@ _unlock_things(struct faultstate *fs, int dealloc)
/*
* vm_fault:
*
- * Handle a page fault occuring at the given address,
+ * Handle a page fault occurring at the given address,
* requiring the given permissions, in the map specified.
* If successful, the page is inserted into the
* associated physical map.
@@ -294,7 +294,7 @@ RetryFault:;
* vm_page_t->busy because the vm_pager may be using
* vm_page_t->busy for pageouts ( and even pageins if
* it is the vnode pager ), and we could end up trying
- * to pagein and pageout the same page simultaniously.
+ * to pagein and pageout the same page simultaneously.
*
* We can theoretically allow the busy case on a read
* fault if the page is marked valid, but since such
@@ -626,7 +626,7 @@ readrest:
*/
(fs.object->ref_count == 1) &&
/*
- * Noone else can look this object up
+ * None else can look this object up
*/
(fs.object->handle == NULL) &&
/*
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index 0749df3..3d4c6da 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c
index 6357e45..1cfcfc7 100644
--- a/sys/vm/vm_init.c
+++ b/sys/vm/vm_init.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index 9b8584c..1a00c01 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 835ed15..8125f06 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -100,7 +100,7 @@
* Maps consist of an ordered doubly-linked list of simple
* entries; a single hint is used to speed up lookups.
*
- * Since portions of maps are specified by start/end addreses,
+ * Since portions of maps are specified by start/end addresses,
* which may not align with existing map entries, all
* routines merely "clip" entries to these start/end values.
* [That is, an entry is split into two, bordering at a
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c
index 737714f..01b845b 100644
--- a/sys/vm/vm_meter.c
+++ b/sys/vm/vm_meter.c
@@ -11,7 +11,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -83,7 +83,7 @@ loadav(struct loadavg *avg)
case SSLEEP:
if (p->p_priority > PZERO || p->p_slptime != 0)
continue;
- /* fall through */
+ /* FALLTHROUGH */
case SRUN:
case SIDL:
nrun++;
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c
index 53462f4..26d00e7 100644
--- a/sys/vm/vm_mmap.c
+++ b/sys/vm/vm_mmap.c
@@ -16,7 +16,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 23354bd..057a96c 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -927,7 +927,7 @@ vm_object_shadow(object, offset, length)
* of reference count.
*
* Try to optimize the result object's page color when shadowing
- * in order to maintain page coloring consistancy in the combined
+ * in order to maintain page coloring consistency in the combined
* shadowed object.
*/
result->backing_object = source;
@@ -977,7 +977,7 @@ vm_object_backing_scan(vm_object_t object, int op)
if (op & OBSC_TEST_ALL_SHADOWED) {
/*
- * We do not want to have to test for the existance of
+ * We do not want to have to test for the existence of
* swap pages in the backing object. XXX but with the
* new swapper this would be pretty easy to do.
*
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index 08ccb8e..f3d8e48 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -475,7 +475,7 @@ vm_page_remove(m)
* NOTE: the code below does not lock. It will operate properly if
* an interrupt makes a change, but the generation algorithm will not
* operate properly in an SMP environment where both cpu's are able to run
- * kernel code simultaniously.
+ * kernel code simultaneously.
*
* The object must be locked. No side effects.
* This routine may not block.
@@ -612,7 +612,7 @@ vm_page_unqueue(m)
*
* The page coloring optimization attempts to locate a page
* that does not overload other nearby pages in the object in
- * the cpu's L1 or L2 caches. We need this optmization because
+ * the cpu's L1 or L2 caches. We need this optimization because
* cpu caches tend to be physical caches, while object spaces tend
* to be virtual.
*
@@ -770,7 +770,7 @@ loop:
m = vm_page_select_free(object, pindex, FALSE);
} else if (page_req != VM_ALLOC_INTERRUPT) {
/*
- * Allocateable from cache (non-interrupt only). On success,
+ * Allocatable from cache (non-interrupt only). On success,
* we must free the page and try again, thus ensuring that
* cnt.v_*_free_min counters are replenished.
*/
@@ -792,7 +792,7 @@ loop:
goto loop;
} else {
/*
- * Not allocateable from cache from interrupt, give up.
+ * Not allocatable from cache from interrupt, give up.
*/
splx(s);
vm_pageout_deficit++;
@@ -1182,7 +1182,7 @@ vm_page_wire(m)
* processes. This optimization causes one-time-use metadata to be
* reused more quickly.
*
- * A number of routines use vm_page_unwire() to guarentee that the page
+ * A number of routines use vm_page_unwire() to guarantee that the page
* will go into either the inactive or active queues, and will NEVER
* be placed in the cache - for example, just after dirtying a page.
* dirty pages in the cache are not allowed.
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 1adb7e4..11f08c2 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -18,7 +18,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -951,7 +951,7 @@ rescan0:
while ((m != NULL) && (pcount-- > 0) && (page_shortage > 0)) {
/*
- * This is a consistancy check, and should likely be a panic
+ * This is a consistency check, and should likely be a panic
* or warning.
*/
if (m->queue != PQ_ACTIVE) {
@@ -975,7 +975,7 @@ rescan0:
/*
* The count for pagedaemon pages is done after checking the
- * page for eligbility...
+ * page for eligibility...
*/
cnt.v_pdpages++;
@@ -1140,7 +1140,7 @@ rescan0:
/*
* This routine tries to maintain the pseudo LRU active queue,
* so that during long periods of time where there is no paging,
- * that some statistic accumlation still occurs. This code
+ * that some statistic accumulation still occurs. This code
* helps the situation where paging just starts to occur.
*/
static void
diff --git a/sys/vm/vm_pager.c b/sys/vm/vm_pager.c
index 6ca7f12..95a6d97 100644
--- a/sys/vm/vm_pager.c
+++ b/sys/vm/vm_pager.c
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -487,7 +487,7 @@ relpbuf(bp, pfreecnt)
*
* io completion routine for child bp. Currently we fudge a bit
* on dealing with b_resid. Since users of these routines may issue
- * multiple children simultaniously, sequencing of the error can be lost.
+ * multiple children simultaneously, sequencing of the error can be lost.
*/
static void
@@ -530,7 +530,7 @@ vm_pager_chain_iodone(struct buf *nbp)
*
* Obtain a physical buffer and chain it to its parent buffer. When
* I/O completes, the parent buffer will be B_SIGNAL'd. Errors are
- * automatically propogated to the parent
+ * automatically propagated to the parent
*
* Since these are brand new buffers, we do not have to clear B_INVAL
* and B_ERROR because they are already clear.
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c
index 5b2b514..8258d96 100644
--- a/sys/vm/vm_swap.c
+++ b/sys/vm/vm_swap.c
@@ -11,7 +11,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
diff --git a/sys/vm/vm_unix.c b/sys/vm/vm_unix.c
index d5e9f58..63867c2 100644
--- a/sys/vm/vm_unix.c
+++ b/sys/vm/vm_unix.c
@@ -16,7 +16,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index 628d598..6482f5e 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -18,7 +18,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
+ * must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@@ -806,7 +806,7 @@ vnode_pager_generic_getpages(vp, m, bytecount, reqpage)
* whether or not to leave the page activated is up in
* the air, but we should put the page on a page queue
* somewhere. (it already is in the object). Result:
- * It appears that emperical results show that
+ * It appears that empirical results show that
* deactivating pages is best.
*/
OpenPOWER on IntegriCloud