-/* $OpenBSD: uvm_extern.h,v 1.156 2020/12/28 14:01:23 mpi Exp $ */
+/* $OpenBSD: uvm_extern.h,v 1.157 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */
/*
* uvm_constraint_range's:
* MD code is allowed to setup constraint ranges for memory allocators, the
* primary use for this is to keep allocation for certain memory consumers
- * such as mbuf pools withing address ranges that are reachable by devices
+ * such as mbuf pools within address ranges that are reachable by devices
* that perform DMA.
*
* It is also to discourge memory allocations from being satisfied from ranges
-/* $OpenBSD: uvm_fault.c,v 1.117 2021/03/01 09:09:35 mpi Exp $ */
+/* $OpenBSD: uvm_fault.c,v 1.118 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_fault.c,v 1.51 2000/08/06 00:22:53 thorpej Exp $ */
/*
case VM_PAGER_ERROR:
/*
- * An error occured while trying to bring in the
+ * An error occurred while trying to bring in the
* page -- this is the only error we return right
* now.
*/
-/* $OpenBSD: uvm_glue.c,v 1.78 2021/02/08 10:51:02 mpi Exp $ */
+/* $OpenBSD: uvm_glue.c,v 1.79 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_glue.c,v 1.44 2001/02/06 19:54:44 eeh Exp $ */
/*
* swapout_threads: find threads that can be swapped
*
* - called by the pagedaemon
- * - try and swap at least one processs
+ * - try and swap at least one process
* - processes that are sleeping or stopped for maxslp or more seconds
* are swapped... otherwise the longest-sleeping or stopped process
* is swapped, otherwise the longest resident process...
-/* $OpenBSD: uvm_km.c,v 1.140 2021/03/04 09:00:03 mpi Exp $ */
+/* $OpenBSD: uvm_km.c,v 1.141 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */
/*
struct uvm_constraint_range no_constraint = { 0x0, (paddr_t)-1 };
/*
- * local data structues
+ * local data structures
*/
static struct vm_map kernel_map_store;
-/* $OpenBSD: uvm_map.c,v 1.272 2021/03/05 05:30:44 jsg Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.273 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
/*
* Fixup: it's possible that pmap_min and pmap_max
- * cross eachother. In this case, try to find one
+ * cross each other. In this case, try to find one
* address that is allowed.
* (This usually happens in biased case.)
*/
if (e2->aref.ar_amap && amap_refs(e2->aref.ar_amap) != 1)
return 0;
- /* Apprently, e1 and e2 match. */
+ /* Apparently, e1 and e2 match. */
return 1;
}
/*
* Join support function.
*
- * Returns the merged entry on succes.
+ * Returns the merged entry on success.
* Returns NULL if the merge failed.
*/
struct vm_map_entry*
-/* $OpenBSD: uvm_map.h,v 1.68 2020/10/09 08:16:28 mpi Exp $ */
+/* $OpenBSD: uvm_map.h,v 1.69 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_map.h,v 1.24 2001/02/18 21:19:08 chs Exp $ */
/*
/*
* UVM_MAP_CLIP_END: ensure that the entry ends at or before
- * the ending address, if it does't we split the entry.
+ * the ending address, if it doesn't we split the entry.
*
* => map must be locked by caller
*/
-/* $OpenBSD: uvm_pager.c,v 1.74 2021/01/19 13:21:36 mpi Exp $ */
+/* $OpenBSD: uvm_pager.c,v 1.75 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_pager.c,v 1.36 2000/11/27 18:26:41 chs Exp $ */
/*
}
/*
- * a pager error occured (even after dropping the cluster, if there
+ * a pager error occurred (even after dropping the cluster, if there
* was one). give up! the caller only has one page ("pg")
* to worry about.
*/
-/* $OpenBSD: uvm_pager.h,v 1.31 2021/03/04 08:38:48 mpi Exp $ */
+/* $OpenBSD: uvm_pager.h,v 1.32 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_pager.h,v 1.20 2000/11/27 08:40:05 chs Exp $ */
/*
* AGAIN temporary resource shortage prevented operation from happening
* UNLOCK unlock the map and try again
* REFAULT [uvm_fault internal use only!] unable to relock data structures,
- * thus the mapping needs to be reverified before we can procede
+ * thus the mapping needs to be reverified before we can proceed
*/
#define VM_PAGER_OK 0
#define VM_PAGER_BAD 1
-/* $OpenBSD: uvm_pmemrange.c,v 1.60 2020/12/01 13:56:22 mpi Exp $ */
+/* $OpenBSD: uvm_pmemrange.c,v 1.61 2021/03/12 14:15:49 jsg Exp $ */
/*
* Copyright (c) 2009, 2010 Ariane van der Steldt <ariane@stack.nl>
result, start, end, 0);
/*
- * If we found sufficient pages, go to the succes exit code.
+ * If we found sufficient pages, go to the success exit code.
*
* Otherwise, go immediately to fail, since we collected
* all we could anyway.
/*
* If there's still space left in found, try to
- * fully drain it prior to continueing.
+ * fully drain it prior to continuing.
*/
if (found != NULL) {
fstart = fend;
* iteration may fall out. Hence there is a small chance of a false
* negative.
*
- * When desparate: scan all sizes starting at the smallest
+ * When desperate: scan all sizes starting at the smallest
* (start_try = 1) and do not consider UVM_PLA_TRYCONTIG (which may
* allow us to hit the fast path now).
*
return ENOMEM;
out:
- /* Allocation succesful. */
+ /* Allocation successful. */
uvmexp.free -= fcount;
uvm_unlock_fpageq();
-/* $OpenBSD: uvm_swap_encrypt.c,v 1.23 2021/01/09 21:00:29 gnezdo Exp $ */
+/* $OpenBSD: uvm_swap_encrypt.c,v 1.24 2021/03/12 14:15:49 jsg Exp $ */
/*
* Copyright 1999 Niels Provos <provos@citi.umich.edu>
ddst[2] = dsrc[2] ^ iv3;
ddst[3] = dsrc[3] ^ iv4;
/*
- * Do not worry about endianess, it only needs to decrypt
+ * Do not worry about endianness, it only needs to decrypt
* on this machine.
*/
rijndael_encrypt(&swap_ctxt, (u_char *)ddst, (u_char *)ddst);
-/* $OpenBSD: uvm_vnode.c,v 1.111 2021/03/04 08:38:48 mpi Exp $ */
+/* $OpenBSD: uvm_vnode.c,v 1.112 2021/03/12 14:15:49 jsg Exp $ */
/* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */
/*
/*
* XXX: given the "advice", should we consider async read-ahead?
- * XXX: fault current does deactive of pages behind us. is
+ * XXX: fault current does deactivate of pages behind us. is
* this good (other callers might now).
*/
/*