CVS log for src/sys/uvm/uvm_amap.c
Up to [cvs.NetBSD.org] / src / sys / uvm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.129: download - view: text, markup, annotated - select for diffs
Sun Sep 10 14:54:34 2023 UTC (19 months, 1 week ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +5 -5
lines
Align uvm_amap to COHERENCY_UNIT.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Mon Jun 19 08:23:35 2023 UTC (22 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3
lines
s/value value/value/ in comment. No functional change.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Sun Apr 9 09:00:56 2023 UTC (2 years ago) by riastradh
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +8 -5
lines
uvm(9): KASSERT(A && B) -> KASSERT(A); KASSERT(B)
Revision 1.125.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:29:03 2021 UTC (4 years ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +4 -4
lines
Sync with HEAD.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Sat Mar 13 15:29:55 2021 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +4 -4
lines
Consistently use %#jx instead of 0x%jx or just %jx in UVMHIST_LOG formats
Revision 1.109.4.2: download - view: text, markup, annotated - select for diffs
Sun Oct 4 18:14:13 2020 UTC (4 years, 6 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.109.4.1: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.4.1: +4 -8
lines
Pull up following revision(s) (requested by chs in ticket #1095):
sys/uvm/uvm_amap.c: revision 1.124 (via patch)
sys/uvm/uvm_amap.c: revision 1.125 (via patch)
sys/uvm/uvm_io.c: revision 1.29 (via patch)
Effectively disable the AMAP_REFALL flag because it is unsafe.
This flag tells the amap code that it does not need to allocate ppref
as part of adding or removing a reference, but that is only correct
if the range of the reference being added or removed is the same
as the range of all other references to the amap, and the point of
this flag is exactly to try to optimize the case where the range is
different and thus this flag would not be correct to use.
Fixes PR 55366.
The previous fix for PR 55366 in uvm_amap.c 1.124 was incomplete:
- amap_adjref_anons() must also ignore AMAP_REFALL when updating
the ppref, not just when deciding whether or not to initialize ppref.
- UVM_EXTRACT_QREF relies on AMAP_REFALL to work properly,
and since we can't use AMAP_REFALL then we can't use QREF either.
Revision 1.125: download - view: text, markup, annotated - select for diffs
Mon Sep 21 18:41:59 2020 UTC (4 years, 7 months ago) by chs
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +3 -7
lines
the previous fix for PR 55366 in uvm_amap.c 1.124 was incomplete:
- amap_adjref_anons() must also ignore AMAP_REFALL when updating
the ppref, not just when deciding whether or not to initialize ppref.
- UVM_EXTRACT_QREF relies on AMAP_REFALL to work properly,
and since we can't use AMAP_REFALL then we can't use QREF either.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Sep 20 23:03:01 2020 UTC (4 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -3
lines
Effectively disable the AMAP_REFALL flag because it is unsafe.
This flag tells the amap code that it does not need to allocate ppref
as part of adding or removing a reference, but that is only correct
if the range of the reference being added or removed is the same
as the range of all other references to the amap, and the point of
this flag is exactly to try to optimize the case where the range is
different and thus this flag would not be correct to use.
Fixes PR 55366.
Revision 1.107.32.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:39:18 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.107.32.1: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.32.1: +33 -3
lines
Pull up following revision(s) (requested by chs in ticket #1598):
sys/uvm/uvm_amap.c: revision 1.123 (via patch)
fix amap_extend() to handle amaps where we previously failed to allocate
the ppref memory.
Revision 1.109.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:36:59 2020 UTC (4 years, 8 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +33 -3
lines
Pull up following revision(s) (requested by chs in ticket #1057):
sys/uvm/uvm_amap.c: revision 1.123 (via patch)
fix amap_extend() to handle amaps where we previously failed to allocate
the ppref memory.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue Aug 18 10:40:20 2020 UTC (4 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +33 -3
lines
fix amap_extend() to handle amaps where we previously failed to allocate
the ppref memory.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Thu Jul 9 05:57:15 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +17 -18
lines
Consistently use UVMHIST(__func__)
Convert UVMHIST_{CALLED,LOG} into UVMHIST_CALLARGS
Revision 1.121: download - view: text, markup, annotated - select for diffs
Wed Jul 8 13:26:22 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -4
lines
Trailing whitespace
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun May 17 15:07:22 2020 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +5 -4
lines
Mark amappl with PR_LARGECACHE.
Revision 1.108.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:04 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.108.4.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.4.1: +151 -146
lines
Merge changes from current as of 20200406
Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Mar 20 19:08:54 2020 UTC (5 years, 1 month ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +26 -43
lines
Go back to freeing struct vm_anon one by one. There may have been an
advantage circa ~2008 but there isn't now.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sat Mar 14 20:23:51 2020 UTC (5 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -7
lines
Make page waits (WANTED vs BUSY) interlocked by pg->interlock. Gets RW
locks out of the equation for sleep/wakeup, and allows observing+waiting
for busy pages when holding only a read lock. Proposed on tech-kern.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat Mar 14 18:08:40 2020 UTC (5 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +4 -4
lines
- Hide the details of SPCF_SHOULDYIELD and related behind a couple of small
functions: preempt_point() and preempt_needed().
- preempt(): if the LWP has exceeded its timeslice in kernel, strip it of
any priority boost gained earlier from blocking.
Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:21:11 2020 UTC (5 years, 1 month ago) by ad
Branches: ad-namecache
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +49 -50
lines
Sync with head.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Mon Feb 24 12:38:57 2020 UTC (5 years, 1 month ago) by rin
Branches: MAIN
CVS tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +19 -20
lines
0x%#x --> %#x for non-external codes.
Also, stop mixing up 0x%x and %#x in single files as far as possible.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Feb 23 15:46:43 2020 UTC (5 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +32 -32
lines
UVM locking changes, proposed on tech-kern:
- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart. v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap. Others to follow later.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu Jan 2 02:00:35 2020 UTC (5 years, 3 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +43 -90
lines
Back out the amap allocation changes from earlier today - have seen a panic
with them. Retain the lock changes.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Jan 1 22:01:13 2020 UTC (5 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +170 -97
lines
- Start trying to reduce the high cache miss rate observed around vm_amap.
On _LP64, pad struct vm_amap to 128 bytes and use the additional space to
hold the arrays for tiny amaps which are common. Carefully size the array
allocations to avoid false sharing, and for smaller amaps try to share
allocated cache lines.
- Eliminate most contention due to amap_list: maintain the list in the pool
cache constructor / destructor like we do for struct file. Cache the
mutexes we allocate here.
- Don't do PR_WAITOK mutex allocations when NOWAIT has been specified.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Jan 1 13:11:51 2020 UTC (5 years, 3 months ago) by ad
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -2
lines
PR kern/54821: 9.99.32 assertion in uvm_pageactivate
Looks like I forgot to commit this file yesterday.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Dec 13 20:10:22 2019 UTC (5 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -13
lines
Break the global uvm_pageqlock into a per-page identity lock and a private
lock for use of the pagedaemon policy code. Discussed on tech-kern.
PR kern/54209: NetBSD 8 large memory performance extremely low
PR kern/54210: NetBSD-8 processes presumably not exiting
PR kern/54727: writing a large file causes unreasonable system behaviour
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Dec 1 14:24:43 2019 UTC (5 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +13 -7
lines
Activate pages in batch instead of acquring uvm_pageqlock a zillion times.
Revision 1.108.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:58 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +20 -20
lines
Sync with HEAD
Revision 1.108.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:48 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +20 -20
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sun Aug 12 09:29:16 2018 UTC (6 years, 8 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +20 -20
lines
Rename 'slotspace' -> 'slotarea' in UVM, to avoid (future) collision with
the x86 slotspace structure.
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:22 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +40 -35
lines
update from HEAD
Revision 1.107.32.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 21:29:53 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +40 -35
lines
Pull up following revision(s) (requested by pgoyette in ticket #335):
share/man/man9/kernhist.9: 1.5-1.8
sys/arch/acorn26/acorn26/pmap.c: 1.39
sys/arch/arm/arm32/fault.c: 1.105 via patch
sys/arch/arm/arm32/pmap.c: 1.350, 1.359
sys/arch/arm/broadcom/bcm2835_bsc.c: 1.7
sys/arch/arm/omap/if_cpsw.c: 1.20
sys/arch/arm/omap/tiotg.c: 1.7
sys/arch/evbarm/conf/RPI2_INSTALL: 1.3
sys/dev/ic/sl811hs.c: 1.98
sys/dev/usb/ehci.c: 1.256
sys/dev/usb/if_axe.c: 1.83
sys/dev/usb/motg.c: 1.18
sys/dev/usb/ohci.c: 1.274
sys/dev/usb/ucom.c: 1.119
sys/dev/usb/uhci.c: 1.277
sys/dev/usb/uhub.c: 1.137
sys/dev/usb/umass.c: 1.160-1.162
sys/dev/usb/umass_quirks.c: 1.100
sys/dev/usb/umass_scsipi.c: 1.55
sys/dev/usb/usb.c: 1.168
sys/dev/usb/usb_mem.c: 1.70
sys/dev/usb/usb_subr.c: 1.221
sys/dev/usb/usbdi.c: 1.175
sys/dev/usb/usbdi_util.c: 1.67-1.70
sys/dev/usb/usbroothub.c: 1.3
sys/dev/usb/xhci.c: 1.75
sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.34
sys/kern/kern_history.c: 1.15
sys/kern/kern_xxx.c: 1.74
sys/kern/vfs_bio.c: 1.275-1.276
sys/miscfs/genfs/genfs_io.c: 1.71
sys/sys/kernhist.h: 1.21
sys/ufs/ffs/ffs_balloc.c: 1.63
sys/ufs/lfs/lfs_vfsops.c: 1.361
sys/ufs/lfs/ulfs_inode.c: 1.21
sys/ufs/lfs/ulfs_vnops.c: 1.52
sys/ufs/ufs/ufs_inode.c: 1.102
sys/ufs/ufs/ufs_vnops.c: 1.239
sys/uvm/pmap/pmap.c: 1.37-1.39
sys/uvm/pmap/pmap_tlb.c: 1.22
sys/uvm/uvm_amap.c: 1.108
sys/uvm/uvm_anon.c: 1.64
sys/uvm/uvm_aobj.c: 1.126
sys/uvm/uvm_bio.c: 1.91
sys/uvm/uvm_device.c: 1.66
sys/uvm/uvm_fault.c: 1.201
sys/uvm/uvm_km.c: 1.144
sys/uvm/uvm_loan.c: 1.85
sys/uvm/uvm_map.c: 1.353
sys/uvm/uvm_page.c: 1.194
sys/uvm/uvm_pager.c: 1.111
sys/uvm/uvm_pdaemon.c: 1.109
sys/uvm/uvm_swap.c: 1.175
sys/uvm/uvm_vnode.c: 1.103
usr.bin/vmstat/vmstat.c: 1.219
Reorder to test for null before null deref in debug code
--
Reorder to test for null before null deref in debug code
--
KNF
--
No need for '\n' in UVMHIST_LOG
--
normalise a BIOHIST log message
--
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3)
format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of
kernhist(9)"
but it is possible that I've missed some of them. I would be glad
to
update any stragglers that anyone identifies.
--
For some reason this single kernel seems to have outgrown its declared
size as a result of the kernhist(9) changes. Bump the size.
XXX The amount of increase may be excessive - anyone with more detailed
XXX knowledge please feel free to further adjust the value
appropriately.
--
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit
--
And yet another one. :(
--
Use correct mark-up for NetBSD version.
--
More improvements in grammar and readability.
--
Remove a stray '"' (obvious typo) and add a couple of casts that are
probably needed.
--
And replace an instance of "%p" conversion with "%#jx"
--
Whitespace fix. Give Bl tag table a width. Fix Xr.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Oct 28 00:37:13 2017 UTC (7 years, 5 months ago) by pgoyette
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +40 -35
lines
Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...
(As proposed on tech-kern@ with additional changes and enhancements.)
Details of changes:
* All history arguments are now stored as uintmax_t values[1], both in
the kernel and in the structures used for exporting the history data
to userland via sysctl(9). This avoids problems on some architectures
where passing a 64-bit (or larger) value to printf(3) can cause it to
process the value as multiple arguments. (This can be particularly
problematic when printf()'s format string is not a literal, since in
that case the compiler cannot know how large each argument should be.)
* Update the data structures used for exporting kernel history data to
include a version number as well as the length of history arguments.
* All [2] existing users of kernhist(9) have had their format strings
updated. Each format specifier now includes an explicit length
modifier 'j' to refer to numeric values of the size of uintmax_t.
* All [2] existing users of kernhist(9) have had their format strings
updated to replace uses of "%p" with "%#jx", and the pointer
arguments are now cast to (uintptr_t) before being subsequently cast
to (uintmax_t). This is needed to avoid compiler warnings about
casting "pointer to integer of a different size."
* All [2] existing users of kernhist(9) have had instances of "%s" or
"%c" format strings replaced with numeric formats; several instances
of mis-match between format string and argument list have been fixed.
* vmstat(1) has been modified to handle the new size of arguments in the
history data as exported by sysctl(9).
* vmstat(1) now provides a warning message if the history requested with
the -u option does not exist (previously, this condition was silently
ignored, with only a single blank line being printed).
* vmstat(1) now checks the version and argument length included in the
data exported via sysctl(9) and exits if they do not match the values
with which vmstat was built.
* The kernhist(9) man-page has been updated to note the additional
requirements imposed on the format strings, along with several other
minor changes and enhancements.
[1] It would have been possible to use an explicit length (for example,
uint64_t) for the history arguments. But that would require another
"rototill" of all the users in the future when we add support for an
architecture that supports a larger size. Also, the printf(3) format
specifiers for explicitly-sized values, such as "%"PRIu64, are much
more verbose (and less aesthetically appealing, IMHO) than simply
using "%ju".
[2] I've tried very hard to find "all [the] existing users of kernhist(9)"
but it is possible that I've missed some of them. I would be glad to
update any stragglers that anyone identifies.
Revision 1.104.6.3: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:05:08 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.104.6.2: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.6.2: +20 -6
lines
sync to latest -current.
Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:58 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.1: +24 -9
lines
sync with head
Revision 1.105.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 18:13:11 2012 UTC (13 years ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.105.2.1: preferred, colored; branchpoint 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105.2.1: +20 -6
lines
Pull up following revision(s) (requested by chs in ticket #173):
sys/uvm/uvm_amap.c: revision 1.107
initialize amap per-page reference counts before changing the amap's
overall reference count. this fixes the crashes seen for the last 9 months
with web browers and plugins, which was also the cause of PR 46193.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Sun Apr 8 20:47:10 2012 UTC (13 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
nick-nhusb,
netbsd-8-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
netbsd-8
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +20 -6
lines
initialize amap per-page reference counts before changing the amap's
overall reference count. this fixes the crashes seen for the last 9 months
with web browers and plugins, which was also the cause of PR 46193.
Revision 1.104.6.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:52 2012 UTC (13 years ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.104.6.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.6.1: +4 -3
lines
sync to latest -current.
Revision 1.105.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 3 15:40:36 2012 UTC (13 years ago) by riz
Branches: netbsd-6
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -3
lines
Pull up following revision(s) (requested by chs in ticket #150):
sys/uvm/uvm_amap.c: revision 1.106
adjust amap_cow_now() to make UVM_PAGE_TRKOWN happy.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Mar 30 02:25:24 2012 UTC (13 years ago) by chs
Branches: MAIN
CVS tags: jmcneill-usbmp-base8
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -3
lines
adjust amap_cow_now() to make UVM_PAGE_TRKOWN happy.
Revision 1.84.20.1.4.2: download - view: text, markup, annotated - select for diffs
Wed Feb 29 18:03:38 2012 UTC (13 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.84.20.1.4.1: preferred, colored; branchpoint 1.84.20.1: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.20.1.4.1: +3 -3
lines
Improve UVM_PAGE_TRKOWN.
Add more asserts to uvm_page.
Revision 1.104.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:58 2012 UTC (13 years, 2 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4
lines
merge to -current.
Revision 1.84.20.1.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 9 03:04:59 2012 UTC (13 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.84.20.1: preferred, colored
Changes since revision 1.84.20.1: +3 -3
lines
Major changes to uvm.
Support multiple collections (groups) of free pages and run the page
reclaimation algorithm on each group independently.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:41 2012 UTC (13 years, 2 months ago) by para
Branches: MAIN
CVS tags: netbsd-6-base,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4
lines
extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)
releng@ acknowledged
Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 26 16:03:10 2011 UTC (13 years, 3 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +66 -6
lines
- use O->A loan to serve read(2). based on a patch from Chuck Silvers
- associated O->A loan fixes.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Oct 11 23:57:50 2011 UTC (13 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -2
lines
assertion
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Aug 17 20:46:27 2011 UTC (13 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -10
lines
amap_cow_now: just free the fresh anon on error, no need to dispose it.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat Aug 6 17:25:03 2011 UTC (13 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +23 -24
lines
- Rework uvm_anfree() into uvm_anon_freelst(), which always drops the lock.
- Free anons in uvm_anon_freelst() without lock held.
- Mechanic sync to unused loaning code.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jul 5 13:47:24 2011 UTC (13 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -3
lines
reduce the number of atomic ops in common cases. it's exceptional for
anons to remain longer than amap.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Jun 27 15:56:36 2011 UTC (13 years, 9 months ago) by hannken
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +10 -11
lines
amap_copy(): Keep the source amap locked until its lock has been copied.
Kernel assertion "anon->an_lock == amap->am_lock" no longer fails.
Ok: Mindaugas Rasiukevicius <rmind@netbsd.org>
Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Jun 24 01:48:43 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +7 -3
lines
amap_copy: fix one more regression, thanks to enami@.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Fri Jun 24 01:39:22 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3
lines
Fix uvmplock regression - a lock against oneself case in amap_swap_off().
Happens since amap is NULL in uvmfault_anonget(), so uvmfault_unlockall()
keeps anon locked, when it should unlock it.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Jun 24 01:03:08 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3
lines
amap_pp_adjref: fix regression, spotted by nonaka@.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Jun 23 18:15:30 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +76 -64
lines
Clean-up, add asserts, slightly simplify.
Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:34 2011 UTC (13 years, 10 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +259 -241
lines
Catchup with rmind-uvmplock merge.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Jun 18 21:13:29 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +108 -117
lines
Clean up, sprinkle asserts, consify, use unsigned, use kmem_zalloc instead
of memset, reduce the scope of some variables, improve some comments.
No functional change intended.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Jun 18 20:51:22 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +24 -17
lines
amap_add/amap_unadd: clean up slightly, use unsigned, add asserts.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Jun 18 20:29:56 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +52 -59
lines
Add amap_adjref_anons() helper and simplify amap_ref()/amap_unref().
Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Jun 16 19:42:20 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +22 -22
lines
amap_lookup{s}: add assert, clean-up slightly.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:36:02 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +78 -51
lines
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:20 2011 UTC (13 years, 10 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +19 -22
lines
Sync with HEAD.
Revision 1.88.4.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:13 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.88.4.2: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.4.2: +17 -13
lines
sync with head
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sat Apr 23 18:14:12 2011 UTC (14 years ago) by rmind
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +19 -15
lines
Replace "malloc" in comments, remove unnecessary header inclusions.
Revision 1.88.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:34 2011 UTC (14 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.88.4.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.4.1: +2 -9
lines
sync with head
Revision 1.88.8.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:05 2011 UTC (14 years, 2 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +2 -9
lines
Sync with HEAD
Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Feb 2 15:13:33 2011 UTC (14 years, 2 months ago) by chuck
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-nbase,
bouyer-quota2-base
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +2 -9
lines
udpate license clauses on my code to match the new-style BSD licenses.
based on diff that rmind@ sent me.
no functional change with this commit.
Revision 1.88.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 17 06:03:16 2010 UTC (15 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +78 -51
lines
Reorganise UVM locking to protect P->V state and serialise pmap(9)
operations on the same page(s) by always locking their owner. Hence
lock order: "vmpage"-lock -> pmap-lock.
Patch, proposed on tech-kern@, from Andrew Doran.
Revision 1.84.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:46 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.84.10.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.10.2: +2 -5
lines
sync with head
Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:07 2009 UTC (15 years, 6 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jruoho-x86intr-base
Branch point for: rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -5
lines
Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.
Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).
Discussed on <tech-kern>, reviewed by <ad>.
Revision 1.84.10.2: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:48:35 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.84.10.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.10.1: +18 -3
lines
sync with head.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sun Aug 16 11:06:37 2009 UTC (15 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +18 -3
lines
assertions
Revision 1.85.4.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:23:10 2009 UTC (15 years, 11 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +14 -37
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.84.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:39 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +19 -41
lines
sync with head.
Revision 1.84.18.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:37:58 2009 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.84.18.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.18.1: +14 -37
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Sat Mar 28 21:45:55 2009 UTC (16 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base,
jym-xensuspend-base
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +14 -37
lines
Convert some panic() checks to KASSERT()s.
This code is stable and there is no reason to enforce checks.
Revision 1.84.20.1: download - view: text, markup, annotated - select for diffs
Mon Feb 2 19:24:04 2009 UTC (16 years, 2 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +7 -6
lines
Apply patch (requested by ad in ticket #357):
Make adjustment of some critical variables atomic.
Revision 1.84.18.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:36 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +7 -6
lines
Sync with HEAD.
Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:43 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +7 -6
lines
Sync with HEAD.
Revision 1.84.16.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:41 2008 UTC (16 years, 4 months ago) by haad
Branches: haad-dm
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +7 -6
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Dec 3 11:43:51 2008 UTC (16 years, 4 months ago) by ad
Branches: MAIN
CVS tags: nick-hppapmap-base2,
mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +7 -6
lines
Make adjustment of uvm_extrapages atomic since it's done without a lock.
XXX This is still a hack.
Revision 1.82.12.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:32 2008 UTC (17 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +19 -19
lines
Sync with HEAD.
Revision 1.62.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:48:18 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.62.2.4: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.4: +28 -28
lines
sync with head
Revision 1.82.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:37 2008 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +28 -28
lines
sync with HEAD
Revision 1.83.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:32 2008 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +19 -19
lines
Sync with HEAD
Revision 1.84: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:49:15 2008 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-net80211-sync-base,
nick-net80211-sync,
netbsd-5-base,
netbsd-5-0-RC1,
mjf-devfs-base,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
haad-dm-base1,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-nfs-mp,
nick-hppapmap,
netbsd-5,
mjf-devfs2,
haad-dm
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +19 -19
lines
Merge vmlocking2 to head.
Revision 1.82.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:38:56 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +11 -11
lines
Sync with HEAD.
Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 16:04:15 2007 UTC (17 years, 4 months ago) by reinoud
Branches: reinoud-bufcleanup
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +23 -12
lines
Pullup to HEAD
Revision 1.82.14.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:58:08 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.82.14.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.14.1: +2 -2
lines
Sync with head.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:46:31 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +11 -11
lines
Allocate amaps from a pool_cache.
Revision 1.82.14.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:03:56 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +28 -28
lines
Pull the vmlocking changes into a new branch.
Revision 1.62.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:47:03 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.62.2.3: preferred, colored
Changes since revision 1.62.2.3: +34 -23
lines
sync with head.
Revision 1.79.4.4: download - view: text, markup, annotated - select for diffs
Sat Sep 1 12:57:55 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.79.4.3: preferred, colored; branchpoint 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79.4.3: +11 -11
lines
Use pool_cache for allocating a few more types of objects.
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:51:19 2007 UTC (17 years, 8 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +31 -20
lines
Sync with HEAD.
Revision 1.82.16.2: download - view: text, markup, annotated - select for diffs
Sat Jul 21 19:21:54 2007 UTC (17 years, 9 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.82.16.1: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.16.1: +1607 -0
lines
Merge unobtrusive locking changes from the vmlocking branch.
Revision 1.82.16.1
Sat Jul 21 19:21:53 2007 UTC (17 years, 9 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.82: +0 -1607
lines
file uvm_amap.c was added on branch matt-mips64 on 2007-07-21 19:21:54 +0000
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Jul 21 19:21:53 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
matt-mips64-base,
matt-armv6-prevmlocking,
jmcneill-base,
hpcarm-cleanup,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
matt-mips64,
matt-armv6,
jmcneill-pm
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +31 -20
lines
Merge unobtrusive locking changes from the vmlocking branch.
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:53 2007 UTC (17 years, 9 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +4 -4
lines
Sync with head.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:11:35 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -4
lines
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
Revision 1.79.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:32:51 2007 UTC (18 years ago) by ad
Branches: vmlocking
Diff to: previous 1.79.4.2: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.4.2: +5 -4
lines
- Put a per-LWP lock around swapin / swapout.
- Replace use of lockmgr().
- Minor locking fixes and assertions.
- uvm_map.h no longer pulls in proc.h, etc.
- Use kpause where appropriate.
Revision 1.77.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 24 14:56:17 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.1: +3 -3
lines
sync with head.
Revision 1.79.4.2: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:53 2007 UTC (18 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.79.4.1: preferred, colored; branchpoint 1.79: preferred, colored
Changes since revision 1.79.4.1: +47 -37
lines
Pull in the initial set of changes for the vmlocking branch.
Revision 1.79.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:52:08 2007 UTC (18 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
Sync with head.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Mar 12 18:18:38 2007 UTC (18 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic
Branch point for: reinoud-bufcleanup,
mjf-ufs-trans
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:55:24 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +11 -11
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.62.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:26 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.62.2.2: preferred, colored
Changes since revision 1.62.2.2: +13 -13
lines
sync with head.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:05:00 2007 UTC (18 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +7 -7
lines
TRUE -> true, FALSE -> false
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Feb 21 23:00:12 2007 UTC (18 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +7 -7
lines
Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:43 2007 UTC (18 years, 2 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -4
lines
Merge newlock2 to head.
Revision 1.74.4.2: download - view: text, markup, annotated - select for diffs
Tue Jan 30 13:51:43 2007 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.74.4.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.4.1: +4 -4
lines
Remove support for SA. Ok core@.
Revision 1.62.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:51:05 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.62.2.1: preferred, colored
Changes since revision 1.62.2.1: +50 -39
lines
sync with head.
Revision 1.74.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:33 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.74.6.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.6.1: +3 -3
lines
sync with head.
Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:49 2006 UTC (18 years, 5 months ago) by ad
Branches: newlock2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2
lines
Sync with head.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Nov 1 10:18:27 2006 UTC (18 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3
lines
remove some __unused from function parameters.
Revision 1.74.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:07:52 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3
lines
sync with head
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:32:52 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 03:00:13 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +291 -53
lines
sync with head
Revision 1.73.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:50:13 2006 UTC (18 years, 9 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +50 -39
lines
Merge from HEAD.
Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:55:08 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +50 -39
lines
sync with head.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Jun 25 08:03:46 2006 UTC (18 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +48 -37
lines
make amap use kmem_alloc, rather than malloc.
(ie. make it use kernel_map, rather than kmem_map.)
kmem_map is more restricted than kernel_map,
and there's no point for amap to use it.
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:39 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +330 -89
lines
sync with head.
Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:48 2006 UTC (18 years, 11 months ago) by tron
Branches: peter-altq
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +9 -7
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:30 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +11 -9
lines
sync with head.
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Thu May 11 23:32:03 2006 UTC (18 years, 11 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +11 -9
lines
sync with head
Revision 1.70.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:27 2006 UTC (19 years ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +244 -17
lines
Sync with head.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Apr 21 14:04:45 2006 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +9 -7
lines
amap_splitref: assert that origref->ar_amap is initialized
by caller beforehand.
Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:31 2006 UTC (19 years, 2 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.68.2.1: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.1: +235 -10
lines
sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Feb 15 14:06:45 2006 UTC (19 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +8 -5
lines
- amap_copy: take a "flags" argument instead of booleans.
- add AMAP_COPY_NOMERGE flag, and use it for uvm_map_extract.
PR/32806 from Julio M. Merino Vidal.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Feb 11 12:45:07 2006 UTC (19 years, 2 months ago) by yamt
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +225 -3
lines
remove the following options. no objections on tech-kern@.
UVM_PAGER_INLINE
UVM_AMAP_INLINE
UVM_PAGE_INLINE
UVM_MAP_INLINE
Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:52:48 2006 UTC (19 years, 2 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +7 -5
lines
sync with head.
Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 27 22:21:01 2006 UTC (19 years, 2 months ago) by tron
Branches: netbsd-2-0
Diff to: previous 1.53.2.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.1: +76 -67
lines
Pull up following revision(s) (requested by chs in ticket #10230):
sys/uvm/uvm_amap.c: revision 1.66 via patch
in amap_cow_now(), handle the case where we have to sleep and some of the
already-copied pages are paged out. anons that have already been copied
will have refcount == 1, whereas anons that still need to be copied will
have refcount > 1. fixes PR 25392, PR 30257, PR 31924.
Revision 1.53.4.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 27 22:20:34 2006 UTC (19 years, 2 months ago) by tron
Branches: netbsd-2-1
Diff to: previous 1.53.4.1: preferred, colored; next MAIN 1.53.4.2: preferred, colored
Changes since revision 1.53.4.1: +76 -67
lines
Pull up following revision(s) (requested by chs in ticket #10230):
sys/uvm/uvm_amap.c: revision 1.66 via patch
in amap_cow_now(), handle the case where we have to sleep and some of the
already-copied pages are paged out. anons that have already been copied
will have refcount == 1, whereas anons that still need to be copied will
have refcount > 1. fixes PR 25392, PR 30257, PR 31924.
Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 27 22:19:10 2006 UTC (19 years, 2 months ago) by tron
Branches: netbsd-2
Diff to: previous 1.53.4.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.4.1: +76 -67
lines
Pull up following revision(s) (requested by chs in ticket #10230):
sys/uvm/uvm_amap.c: revision 1.66 via patch
in amap_cow_now(), handle the case where we have to sleep and some of the
already-copied pages are paged out. anons that have already been copied
will have refcount == 1, whereas anons that still need to be copied will
have refcount > 1. fixes PR 25392, PR 30257, PR 31924.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Jan 21 13:13:07 2006 UTC (19 years, 3 months ago) by yamt
Branches: MAIN
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -2
lines
- uvm_fault: move a common code of 1B and 2B to a new function.
don't attempt to allocate anons with kernel_map locked. PR/32543.
- amap_copy: add an assertion.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Jan 18 17:03:36 2006 UTC (19 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +5 -5
lines
in amap_alloc(), only put the amap on the list of amaps if we succeeded
in allocating it.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:45:10 2005 UTC (19 years, 4 months ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +6 -6
lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:28 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -2
lines
merge ktrace-lwp.
Revision 1.52.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:39 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.52.2.5: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.5: +253 -133
lines
Sync with HEAD. Here we go again...
Revision 1.57.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 7 17:33:17 2005 UTC (19 years, 5 months ago) by jmc
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +76 -67
lines
Pullup via patch (requested in ticket #939 by chs)
In amap_cow_now(), handle the case where we have to sleep and some of the
already-copied pages are paged out. anons that have already been copied
will have refcount == 1, whereas anons that still need to be copied will
have refcount > 1. PR#25392, PR#30257, PR#31924
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Nov 6 15:57:32 2005 UTC (19 years, 5 months ago) by chs
Branches: MAIN
CVS tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +75 -67
lines
in amap_cow_now(), handle the case where we have to sleep and some of the
already-copied pages are paged out. anons that have already been copied
will have refcount == 1, whereas anons that still need to be copied will
have refcount > 1. fixes PR 25392, PR 30257, PR 31924.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Sep 13 22:00:05 2005 UTC (19 years, 7 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +6 -2
lines
wrap swap related code by #ifdef VMSWAP. always #define VMSWAP for now.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jul 31 04:04:46 2005 UTC (19 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -6
lines
revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Jul 30 06:33:36 2005 UTC (19 years, 8 months ago) by yamt
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -2
lines
defflag VMSWAP.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Jun 27 02:19:48 2005 UTC (19 years, 9 months ago) by thorpej
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +18 -53
lines
Use ANSI function decls.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue May 17 13:55:33 2005 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +6 -2
lines
(try to) merge map entries in fault handler.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed May 11 13:02:25 2005 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +154 -9
lines
allocate anons on-demand, rather than reserving static amount of
them on boot/swapon.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu May 5 01:58:51 2005 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +7 -2
lines
- amap_extend: don't extend amap beyond UVM_AMAP_LARGE.
- uvm_map_enter: if we fail to extend amap, just give up merging instead of
bailing out immediately.
Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:40 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +13 -13
lines
sync with -current
Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Apr 6 13:58:40 2005 UTC (20 years ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -13
lines
amap_wipeout: remove a comment which is no longer true.
despite of what comment said, i left preempt() call
because i don't think of any bad effects.
Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Wed Mar 16 12:11:12 2005 UTC (20 years, 1 month ago) by tron
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1
Branch point for: netbsd-2-1
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +13 -2
lines
Pull up revision 1.57 (requested by chs in ticket #1137):
hack around a UVM problem that causes hangs when large processes fork.
see PR 26908 for details.
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 16 12:11:08 2005 UTC (20 years, 1 month ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +13 -2
lines
Pull up revision 1.57 (requested by chs in ticket #1137):
hack around a UVM problem that causes hangs when large processes fork.
see PR 26908 for details.
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:56 2005 UTC (20 years, 2 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +13 -2
lines
sync with head.
Revision 1.52.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:48:27 2005 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.52.2.4: preferred, colored
Changes since revision 1.52.2.4: +13 -2
lines
Sync with HEAD.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jan 30 17:23:05 2005 UTC (20 years, 2 months ago) by chs
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +13 -2
lines
hack around a UVM problem that causes hangs when large processes fork.
see PR 26908 for details.
Revision 1.52.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:33:11 2005 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.52.2.3: preferred, colored
Changes since revision 1.52.2.3: +4 -4
lines
Sync with HEAD.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Jan 1 21:00:06 2005 UTC (20 years, 3 months ago) by yamt
Branches: MAIN
CVS tags: yamt-km-base,
kent-audio1-beforemerge
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4
lines
for in-kernel maps,
- allocate kva for vm_map_entry from the map itsself and
remove the static limit, MAX_KMAPENT.
- keep merged entries for later splitting to fix allocate-to-free problem.
PR/24039.
Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:39:23 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.52.2.2: preferred, colored
Changes since revision 1.52.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:57:11 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.52.2.1: preferred, colored
Changes since revision 1.52.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:57:01 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +9 -24
lines
Sync with HEAD
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed May 12 20:09:50 2004 UTC (20 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio1-base,
kent-audio1
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -2
lines
add assertions.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Apr 25 16:42:44 2004 UTC (21 years ago) by simonb
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -20
lines
Initialise (most) pools from a link set instead of explicit calls
to pool_init. Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.
Convert struct session, ucred and lockf to pools.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Mar 24 07:50:48 2004 UTC (21 years, 1 month ago) by junyoung
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0,
netbsd-2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -6
lines
- Nuke __P().
- Drop trailing spaces.
Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 14:30:18 2003 UTC (21 years, 10 months ago) by tron
Branches: netbsd-1-6
CVS tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +34 -19
lines
Pull up revision 1.45 (requested by skrll):
add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to
return failure if swap is full and there are no free physical pages.
have malloc() use this flag if M_CANFAIL is passed to it.
use M_CANFAIL to allow amap_extend() to fail when memory is scarce.
this should prevent most of the remaining hangs in low-memory situations.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:54 2003 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -2
lines
Add extensible malloc types, adapted from FreeBSD. This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jan 27 22:14:48 2003 UTC (22 years, 2 months ago) by pk
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3
lines
amap_copy: remove stray amap_unlock().
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Jan 18 09:42:57 2003 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4
lines
Merge the nathanw_sa branch.
Revision 1.30.2.14: download - view: text, markup, annotated - select for diffs
Tue Jan 7 22:12:10 2003 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.30.2.13: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.13: +3 -3
lines
In the SA universe, the switch-to-this-LWP decision is made at a
different level than where preempt() calls are made, which renders
the "newlwp" argument useless. Replace it with a "more work to do"
boolean argument. Returning to userspace preempt() calls pass 0.
"Voluntary" preemptions in e.g. uiomove() pass 1. This will be used
to indicate to the SA subsystem that the LWP is not yet finished in
the kernel.
Collapse the SA vs. non-SA cases of preempt() together, making the
conditional code block much smaller, and don't call sa_preempt() if
more work is to come.
NOTE: THIS IS NOT A COMPLETE FIX TO THE preempt()-in-uiomove() PROBLEM
THAT CURRENTLY EXISTS FOR SA PROCESSES.
Revision 1.30.2.13: download - view: text, markup, annotated - select for diffs
Fri Dec 20 19:10:29 2002 UTC (22 years, 4 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.30.2.12: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.12: +13 -6
lines
Sync with HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Dec 20 18:21:13 2002 UTC (22 years, 4 months ago) by atatat
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +13 -6
lines
Properly set page references counts at the start of the newly
allocated ppref data to zero in the case of an amap that has empty
space at the front.
Don't set anything in the ppref array if "len" is zero.
Many thanks to Sami Kantoluoto for providing gdb access to a machine
that would reliably crash with problems related to the above, and to
Stephan Thesing for corroborating that the patch properly addressed
the problem.
Note that the ar_pageoff (and related variables) types must be changed
soon. The use of "int" here is not theoretically sufficient.
Revision 1.30.2.12: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:51:51 2002 UTC (22 years, 4 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.30.2.11: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.11: +186 -53
lines
Sync with HEAD.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Nov 30 18:28:04 2002 UTC (22 years, 4 months ago) by bouyer
Branches: MAIN
CVS tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +25 -24
lines
Change uvm_km_kmemalloc() to accept flag UVM_KMF_NOWAIT and pass it to
uvm_map(). Change uvm_map() to honnor UVM_KMF_NOWAIT. For this, change
amap_extend() to take a flags parameter instead of just boolean for
direction, and introduce AMAP_EXTEND_FORWARDS and AMAP_EXTEND_NOWAIT flags
(AMAP_EXTEND_BACKWARDS is still defined as 0x0, to keep the code easier to
read).
Add a flag parameter to uvm_mapent_alloc().
This solves a problem a pool_get(PR_NOWAIT) could trigger a pool_get(PR_WAITOK)
in uvm_mapent_alloc().
Thanks to Chuck Silvers, enami tsugutomo, Andrew Brown and Jason R Thorpe
for feedback.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Nov 15 17:30:35 2002 UTC (22 years, 5 months ago) by atatat
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -9
lines
Properly free "newppref", instead of "amap->am_ppref" (oops), and
delay freeing the old am_ppref so that if we bail early due to
malloc() failures, valid ppref data hasn't been freed for no reason.
Based on comments from enami.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Nov 14 17:58:49 2002 UTC (22 years, 5 months ago) by atatat
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +175 -41
lines
Implement backwards extension of amaps. There are three cases to deal
with:
Case #1 -- adjust offset: The slot offset in the aref can be
decremented to cover the required size addition.
Case #2 -- move pages and adjust offset: The slot offset is not large
enough, but the amap contains enough inactive space *after* the mapped
pages to make up the difference, so active slots are slid to the "end"
of the amap, and the slot offset is, again, adjusted to cover the
required size addition. This optimizes for hitting case #1 again on
the next small extension.
Case #3 -- reallocate, move pages, and adjust offset: There is not
enough inactive space in the amap, so the arrays are reallocated, and
the active pages are copied again to the "end" of the amap, and the
slot offset is adjusted to cover the required size. This also
optimizes for hitting case #1 on the next backwards extension.
This provides the missing piece in the "forward extension of
vm_map_entries" logic, so the merge failure counters have been
removed.
Not many applications will make any use of this at this time (except
for jvms and perhaps gcc3), but a "top-down" memory allocator will use
it extensively.
Revision 1.32.2.6: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:45:02 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.32.2.5: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.5: +34 -19
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.30.2.11: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:24:02 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.10: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.10: +32 -17
lines
Catch up to -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Sep 15 16:54:27 2002 UTC (22 years, 7 months ago) by chs
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +34 -19
lines
add a new km flag UVM_KMF_CANFAIL, which causes uvm_km_kmemalloc() to
return failure if swap is full and there are no free physical pages.
have malloc() use this flag if M_CANFAIL is passed to it.
use M_CANFAIL to allow amap_extend() to fail when memory is scarce.
this should prevent most of the remaining hangs in low-memory situations.
Revision 1.32.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:50:21 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.32.2.4: preferred, colored
Changes since revision 1.32.2.4: +4 -4
lines
sync kqueue branch with HEAD
Revision 1.30.2.10: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:47:07 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.9: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.9: +4 -4
lines
Catch up to -current.
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:37:32 2002 UTC (22 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +4 -4
lines
catch up with -current.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jun 29 18:27:30 2002 UTC (22 years, 9 months ago) by chs
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -4
lines
rearrange a few lines to appease an assertion.
Revision 1.30.2.9: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:12:45 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.8: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.8: +3 -3
lines
Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:52:15 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.32.2.3: preferred, colored
Changes since revision 1.32.2.3: +13 -3
lines
catch up with -current on kqueue branch
Revision 1.30.2.8: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:49:19 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.7: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.7: +14 -5
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Mar 28 06:06:29 2002 UTC (23 years, 1 month ago) by nathanw
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Branch point for: netbsd-1-6,
gehenna-devsw
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +13 -3
lines
In amap_pp_adjref(), avoid incorrectly merging the first two chunks in
a ppref array when the range being adjusted includes the beginning of
the array.
Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:02:27 2002 UTC (23 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.32.2.2: preferred, colored
Changes since revision 1.32.2.2: +18 -11
lines
Catch up with -current.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 12 02:27:47 2002 UTC (23 years, 1 month ago) by thorpej
Branches: newlock
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +6 -6
lines
Make the amap lock an adaptive mutex.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Mar 8 20:48:46 2002 UTC (23 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: newlock-base,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -4
lines
Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map). Try to deal with this:
* Group all information about the backend allocator for a pool in a
separate structure. The pool references this structure, rather than
the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
to become available, but will still fail if it cannot callocate KVA
space for the pages. If this happens, carefully drain all pools using
the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
some pages, and use that information to make draining easier and more
efficient.
* Get rid of PR_URGENT. There was only one use of it, and it could be
dealt with by the caller.
From art@openbsd.org.
Revision 1.30.2.7: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:15:30 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.6: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.6: +17 -9
lines
Catch up to -current.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:39:16 2002 UTC (23 years, 2 months ago) by chs
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +17 -9
lines
in amap_pp_adjref(), avoid unnecessary fragmentation of the am_ppref array
by merging the first changed chunk with the last unchanged chunk if possible.
Revision 1.32.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:05:28 2002 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.32.2.1: preferred, colored
Changes since revision 1.32.2.1: +66 -66
lines
Sync kqueue branch with -current.
Revision 1.30.2.6: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:34:59 2002 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.5: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.5: +28 -19
lines
Catch up to -current.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Dec 5 01:33:09 2001 UTC (23 years, 4 months ago) by enami
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +19 -13
lines
When initially allocating or extending arrays in struct uvm_amap,
adjust allocation size using malloc_roundup(). This eliminates many
unnecessary malloc/memcpy calls.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Dec 5 00:34:05 2001 UTC (23 years, 4 months ago) by enami
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -3
lines
No need to zero clear after amap->am_bckptr[amap->am_nslot], since we're
clearing corresponding elements in an array amap->am_anon[].
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Dec 1 22:11:13 2001 UTC (23 years, 4 months ago) by chuck
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +11 -7
lines
fix bug in amap_wiperange() detected by enami tsugutomo.
loop control was wrong in one case.
Revision 1.30.2.5: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:19:03 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.4: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.4: +5 -2
lines
Catch up to -current.
Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:51 2001 UTC (23 years, 5 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +5 -2
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Nov 10 07:36:59 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -1
lines
add RCSIDs, and in some cases, slightly cleanup #include order
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Nov 6 06:31:06 2001 UTC (23 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
Change some unsigned int variables and parameters to plain ints so
that all usages of those agree on unsigned vs. signed.
Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:48:36 2001 UTC (23 years, 6 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +37 -49
lines
Catch up with -current.
Revision 1.30.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 25 16:32:38 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.3: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.3: +2 -2
lines
curproc->p_cpu ==> curproc->l_cpu
Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:37:10 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.2: +37 -49
lines
Catch up to -current.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Sep 19 03:41:46 2001 UTC (23 years, 7 months ago) by chs
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2
Branch point for: thorpej-mips-cache
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +19 -5
lines
work around swap-space/extent performance problem which causes
long pauses when processes with lots of swapped-out pages exit.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Sep 15 20:36:44 2001 UTC (23 years, 7 months ago) by chs
Branches: MAIN
CVS tags: post-chs-ubcperf
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +19 -45
lines
a whole bunch of changes to improve performance and robustness under load:
- remove special treatment of pager_map mappings in pmaps. this is
required now, since I've removed the globals that expose the address range.
pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
no longer any need to special-case it.
- eliminate struct uvm_vnode by moving its fields into struct vnode.
- rewrite the pageout path. the pager is now responsible for handling the
high-level requests instead of only getting control after a bunch of work
has already been done on its behalf. this will allow us to UBCify LFS,
which needs tighter control over its pages than other filesystems do.
writing a page to disk no longer requires making it read-only, which
allows us to write wired pages without causing all kinds of havoc.
- use a new PG_PAGEOUT flag to indicate that a page should be freed
on behalf of the pagedaemon when it's unlocked. this flag is very similar
to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
pageout fails due to eg. an indirect-block buffer being locked.
this allows us to remove the "version" field from struct vm_page,
and together with shrinking "loan_count" from 32 bits to 16,
struct vm_page is now 4 bytes smaller.
- no longer use PG_RELEASED for swap-backed pages. if the page is busy
because it's being paged out, we can't release the swap slot to be
reallocated until that write is complete, but unlike with vnodes we
don't keep a count of in-progress writes so there's no good way to
know when the write is done. instead, when we need to free a busy
swap-backed page, just sleep until we can get it busy ourselves.
- implement a fast-path for extending writes which allows us to avoid
zeroing new pages. this substantially reduces cpu usage.
- encapsulate the data used by the genfs code in a struct genfs_node,
which must be the first element of the filesystem-specific vnode data
for filesystems which use genfs_{get,put}pages().
- eliminate many of the UVM pagerops, since they aren't needed anymore
now that the pager "put" operation is a higher-level operation.
- enhance the genfs code to allow NFS to use the genfs_{get,put}pages
instead of a modified copy.
- clean up struct vnode by removing all the fields that used to be used by
the vfs_cluster.c code (which we don't use anymore with UBC).
- remove kmem_object and mb_object since they were useless.
instead of allocating pages to these objects, we now just allocate
pages with no object. such pages are mapped in the kernel until they
are freed, so we can use the mapping to find the page to free it.
this allows us to remove splvm() protection in several places.
The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.
Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:13:32 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +2 -2
lines
Catch up with -current.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:14:11 2001 UTC (23 years, 8 months ago) by lukem
Branches: kqueue
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
update to -current
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jul 22 13:34:12 2001 UTC (23 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
seperate -> separate
Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:10:18 2001 UTC (23 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +22 -22
lines
Catch up to -current.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Jun 2 18:09:25 2001 UTC (23 years, 10 months ago) by chs
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -5
lines
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri May 25 04:06:11 2001 UTC (23 years, 11 months ago) by chs
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +18 -18
lines
remove trailing whitespace.
Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:32:09 2001 UTC (24 years, 1 month ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22.2.3: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.3: +3 -11
lines
Sync with HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Feb 18 21:19:09 2001 UTC (24 years, 2 months ago) by chs
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -11
lines
clean up DIAGNOSTIC checks, use KASSERT().
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:17:47 2001 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.2: +13 -4
lines
Sync with HEAD.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Jan 23 02:27:39 2001 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
Change uvm_analloc() to return a locked anon, update all callers,
and fix an anon locking protocol error in uvm_loanzero().
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jan 23 01:56:16 2001 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +13 -4
lines
Sprinkle some assertions:
amap_free(): Assert that the amap is locked.
amap_share_protect(): Assert that the amap is locked.
amap_wipeout(): Assert that the amap is locked.
uvm_anfree(): Assert that the anon has a reference count of 0 and is
not locked.
uvm_anon_lockloanpg(): Assert that the anon is locked.
anon_pagein(): Assert that the anon is locked.
uvmfault_anonget(): Assert that the anon is locked.
uvm_pagealloc_strat(): Assert that the uobj or the anon is locked
And fix the problems these have uncovered:
amap_cow_now(): Lock the new anon after allocating it, and unref and
unlock it (rather than lock!) before freeing it in case
of an error condition. This should fix a problem reported
by Dan Carosone using cdrecord on an i386 MP kernel.
uvm_fault(): Case1B -- Lock the new anon afer allocating it, and unlock
it later when we unlock the old anon.
Case2 -- Lock the new anon after allocating it, and unlock
it later by passing it to uvmfault_unlockall() (we set anon
to NULL if we're not doing a promote fault).
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:20:49 2000 UTC (24 years, 4 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +16 -16
lines
Sync with HEAD.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Nov 25 06:27:59 2000 UTC (24 years, 5 months ago) by chs
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +16 -16
lines
lots of cleanup:
use queue.h macros and KASSERT().
address amap offsets in pages instead of bytes.
make amap_ref() and amap_unref() take an amap, offset and length
instead of a vm_map_entry_t.
improve whitespace and comments.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:56 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +18 -23
lines
Update thorpej_scsipi to -current as of a month ago
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Aug 3 00:47:02 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +17 -18
lines
MALLOC()/FREE() are not to be used for variable size allocations.
Revision 1.22.12.1: download - view: text, markup, annotated - select for diffs
Wed Aug 2 19:42:23 2000 UTC (24 years, 8 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +2 -2
lines
Pull up rev. 1.25 (approved by jhawk):
Fix a fairly obvious locking error in amap_cow_now() -- the amap was
left locked upon exit from the function (how did this one slip for
so long?)
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Aug 2 19:24:29 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
Fix a fairly obvious locking error in amap_cow_now() -- the amap was
left locked upon exit from the function (how did this one slip for
so long?)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:29:17 2000 UTC (24 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:16 2000 UTC (24 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -3
lines
remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
Revision 1.19.2.1.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 30 13:36:24 1999 UTC (25 years, 4 months ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.19.2.1: preferred, colored; next MAIN 1.19.2.2: preferred, colored
Changes since revision 1.19.2.1: +22 -17
lines
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other
source code). Please do not try to modify the branch, this is just for
referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Sep 12 01:17:33 1999 UTC (25 years, 7 months ago) by chs
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase
Branch point for: thorpej_scsipi,
netbsd-1-5
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -6
lines
eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
Revision 1.19.2.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 23:16:13 1999 UTC (25 years, 8 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.19.2.1.2.1: preferred, colored; branchpoint 1.19.2.1: preferred, colored; next MAIN 1.19.2.2: preferred, colored
Changes since revision 1.19.2.1.2.1: +22 -17
lines
Update from trunk.
Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Wed Jul 7 00:07:13 1999 UTC (25 years, 9 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.1: +22 -17
lines
pullup 1.20->1.21 (cgd)
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jul 6 02:15:53 1999 UTC (25 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +22 -17
lines
fix allocation handling bugs in amap_alloc1(). if the first or second
sub-structure malloc() failed, it was quite likely that the function
would return success incorrectly. This is this direct cause of the bug
reported in PR#7897. (Thanks to chs for helping to track it down.)
Revision 1.19.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 7 04:25:35 1999 UTC (25 years, 10 months ago) by chs
Branches: chs-ubc2
Diff to: previous 1.19.2.1: preferred, colored
Changes since revision 1.19.2.1: +16 -14
lines
merge everything from chs-ubc branch.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 16 16:26:48 1999 UTC (26 years ago) by chs
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE,
kame_14_19990705,
kame_14_19990628
Branch point for: kame,
chs-ubc2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
pull up 1.19 -> 1.20:
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Apr 11 04:04:11 1999 UTC (26 years ago) by chs
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Thu Feb 25 04:06:53 1999 UTC (26 years, 2 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.1: +2 -2
lines
thread_wakeup() -> wakeup().
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Jan 28 14:46:27 1999 UTC (26 years, 2 months ago) by chuck
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +96 -86
lines
comment cleanup, shift around the inline stuff a bit,
rename VM_AMAP_PPREF (to UVM_AMAP_PPREF).
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jan 24 23:53:15 1999 UTC (26 years, 3 months ago) by chuck
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +43 -329
lines
cleanup/reorg:
- break anon related functions out of uvm_amap.c and put them in their own
file (uvm_anon.c). includes break up uvm_anon_init into an amap and an
an anon init function
- ensure that only functions within the amap module access amap structure
fields (add macros to amap api as needed)
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 9 06:06:36 1998 UTC (26 years, 5 months ago) by chs
Branches: chs-ubc
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +290 -44
lines
initial snapshot. lots left to do.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Nov 4 07:07:22 1998 UTC (26 years, 5 months ago) by chs
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +24 -23
lines
be consistent with locking of amaps and anons when freeing them.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 18 23:49:59 1998 UTC (26 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -6
lines
shift by PAGE_SHIFT instead of multiplying or dividing by PAGE_SIZE.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 8 19:47:50 1998 UTC (26 years, 6 months ago) by chuck
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -1
lines
fix ppref botch. establish ppref at split time before we add the duplicate
reference.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 31 02:43:14 1998 UTC (26 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +14 -4
lines
Allocate vm_anon arrays from kernel_map, not via MALLOC(). Helps relieve
much of UVM's kmem_map usage.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 29 01:05:28 1998 UTC (26 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +18 -4
lines
Use the pool allocator (and the "nointr" pool page allocator) for
vm_amap structures.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Aug 13 02:10:59 1998 UTC (26 years, 8 months ago) by eeh
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -7
lines
Merge paddr_t changes into the main branch.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:36:37 1998 UTC (26 years, 8 months ago) by perry
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +12 -12
lines
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 30 14:04:08 1998 UTC (26 years, 8 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +7 -7
lines
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 20 13:16:29 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1
lines
add a "<-done!" log
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 14 13:51:28 1998 UTC (26 years, 11 months ago) by chuck
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -2
lines
detect ending VA wrap-around in the chunking code of amap_copy.
fixes problem reported by Ken Nakata <kenn@synap.ne.jp> on the mac68k
where the stack amap chunking caused entry->end to wrap around to zero,
thus corrupting the map entry list and causing kmem_map to fill.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue May 5 20:51:04 1998 UTC (26 years, 11 months ago) by kleink
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -4
lines
Remove inclusions of syscall (and syscall argument) related header files;
we don't need them here.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Mar 9 00:58:55 1998 UTC (27 years, 1 month ago) by mrg
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
KNF.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:12:03 1998 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1
lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 8 16:07:57 1998 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +913 -907
lines
KNF
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Feb 7 11:07:54 1998 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1
lines
restore rcsids
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Feb 7 02:21:29 1998 UTC (27 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +29 -29
lines
fix typoes in locking.
use M_UVMAMAP instead of M_TEMP for malloc type.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 6 22:31:31 1998 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
RCS ID police.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Feb 5 06:25:10 1998 UTC (27 years, 2 months ago) by mrg
Branches: CDC
CVS tags: uvm980205
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the UVM kernel code portion.
this will be KNF'd shortly. :-)
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 5 06:25:10 1998 UTC (27 years, 2 months ago) by mrg
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>