diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-11-20 23:57:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-11-20 23:57:08 +0000 |
commit | 2b3af4b84c114778a346f417553691a4a1145052 (patch) | |
tree | 44a7497c720e39ce4f0a9f955a6c911cfaf2b724 /sys/uvm | |
parent | 7b94095cf0a818b343aa7e09be6c62e3efe98798 (diff) |
Update comments mentioning `resource maps' to mention `extents' instead.
Resource maps have been removed more than 10 years ago, it's about time to
update comments to better match reality.
No functional change.
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_swap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c index 24c50edfa77..6a1c763af6b 100644 --- a/sys/uvm/uvm_swap.c +++ b/sys/uvm/uvm_swap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_swap.c,v 1.121 2013/11/06 07:46:31 dlg Exp $ */ +/* $OpenBSD: uvm_swap.c,v 1.122 2013/11/20 23:57:07 miod Exp $ */ /* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */ /* @@ -288,10 +288,10 @@ uvm_swap_init(void) panic("uvm_swap_init: can't get vnode for swap device"); /* - * create swap block resource map to map /dev/drum. the range - * from 1 to INT_MAX allows 2 gigablocks of swap space. note - * that block 0 is reserved (used to indicate an allocation - * failure, or no allocation). + * create swap block extent to map /dev/drum. The extent spans + * 1 to INT_MAX allows 2 gigablocks of swap space. Note that + * block 0 is reserved (used to indicate an allocation failure, + * or no allocation). */ swapmap = extent_create("swapmap", 1, INT_MAX, M_VMSWAP, 0, 0, EX_NOWAIT); |