Up to [cvs.NetBSD.org] / src / sys / uvm
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.78 / (download) - annotate - [select for diffs], Mon Jul 17 12:55:37 2023 UTC (9 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
HEAD
Changes since 1.77: +1 -5
lines
Diff to previous 1.77 (colored) to selected 1.49 (colored)
uvm(9): One rndsource for faults -- not one per CPU. All relevant state is per-CPU anyway; the only substantive difference this makes is how many entries appear in `rndctl -l' output and what they are called -- formerly the somewhat confusing `cpuN', meaning `page faults on cpuN', and now just `uvmfault'. I don't think there's any real value in being able to enable or disable measurement or counting of page faults on one CPU vs others, so although this could be a minor compatibility change, it's hard to imagine it matters much. XXX kernel ABI change in struct cpu_info
Revision 1.77 / (download) - annotate - [select for diffs], Sun May 17 15:11:57 2020 UTC (3 years, 11 months ago) by ad
Branch: 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-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
netbsd-10-base,
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
Changes since 1.76: +1 -2
lines
Diff to previous 1.76 (colored) to selected 1.49 (colored)
- If the hardware provided NUMA info, then use it to decide how to set up the allocator's buckets, instead of doing round robin distribution. There are open questions here but this is better than doing nothing. - Kernel reserve pages are for the kernel not realtime threads.
Revision 1.76 / (download) - annotate - [select for diffs], Sat Mar 14 20:23:51 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Changes since 1.75: +1 -8
lines
Diff to previous 1.75 (colored) to selected 1.49 (colored)
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.75 / (download) - annotate - [select for diffs], Sun Feb 23 15:46:43 2020 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: is-mlppp-base,
is-mlppp,
ad-namecache-base3
Changes since 1.74: +8 -1
lines
Diff to previous 1.74 (colored) to selected 1.49 (colored)
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.74 / (download) - annotate - [select for diffs], Tue Feb 18 20:23:17 2020 UTC (4 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.73: +1 -7
lines
Diff to previous 1.73 (colored) to selected 1.49 (colored)
remove the aiodoned thread. I originally added this to provide a thread context for doing page cache iodone work, but since then biodone() has changed to hand off all iodone work to a softint thread, so we no longer need the special-purpose aiodoned thread.
Revision 1.73 / (download) - annotate - [select for diffs], Tue Dec 31 22:42:51 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Changes since 1.72: +7 -1
lines
Diff to previous 1.72 (colored) to selected 1.49 (colored)
- Add and use wrapper functions that take and acquire page interlocks, and pairs of page interlocks. Require that the page interlock be held over calls to uvm_pageactivate(), uvm_pagewire() and similar. - Solve the concurrency problem with page replacement state. Rather than updating the global state synchronously, set an intended state on individual pages (active, inactive, enqueued, dequeued) while holding the page interlock. After the interlock is released put the pages on a 128 entry per-CPU queue for their state changes to be made real in batch. This results in in a ~400 fold decrease in contention on my test system. Proposed on tech-kern but modified to use the page interlock rather than atomics to synchronise as it's much easier to maintain that way, and cheaper.
Revision 1.72 / (download) - annotate - [select for diffs], Fri Dec 27 13:19:24 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.71: +4 -4
lines
Diff to previous 1.71 (colored) to selected 1.49 (colored)
Nothing uses uvm.cpus any more, and we can do the same with cpu_lookup(), so get rid of it.
Revision 1.71 / (download) - annotate - [select for diffs], Fri Dec 27 12:51:57 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.70: +11 -12
lines
Diff to previous 1.70 (colored) to selected 1.49 (colored)
Redo the page allocator to perform better, especially on multi-core and multi-socket systems. Proposed on tech-kern. While here: - add rudimentary NUMA support - needs more work. - remove now unused "listq" from vm_page.
Revision 1.70 / (download) - annotate - [select for diffs], Fri Dec 13 20:10:22 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.69: +1 -2
lines
Diff to previous 1.69 (colored) to selected 1.49 (colored)
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.69 / (download) - annotate - [select for diffs], Sun Dec 1 14:40:31 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.68: +1 -2
lines
Diff to previous 1.68 (colored) to selected 1.49 (colored)
- Adjust uvmexp.swpgonly with atomics, and make uvm_swap_data_lock static. - A bit more __cacheline_aligned on mutexes.
Revision 1.68 / (download) - annotate - [select for diffs], Mon Jan 2 20:08:32 2017 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
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,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored) to selected 1.49 (colored)
Move sys/uvm/uvm_physseg.h inclusion to within _KERNEL only.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 22 13:26:24 2016 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.66: +2 -1
lines
Diff to previous 1.66 (colored) to selected 1.49 (colored)
Use uvm_physseg.h:uvm_page_physload() instead of uvm_extern.h For this, include uvm_physseg.h in the build and include tree, make a cosmetic modification to the prototype for uvm_page_physload().
Revision 1.66 / (download) - annotate - [select for diffs], Mon Apr 13 22:04:44 2015 UTC (9 years ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
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,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.65: +3 -2
lines
Diff to previous 1.65 (colored) to selected 1.49 (colored)
Limit <sys/rndsource.h> include to kernel.
Revision 1.65 / (download) - annotate - [select for diffs], Mon Apr 13 16:46:33 2015 UTC (9 years ago) by riastradh
Branch: MAIN
Changes since 1.64: +2 -2
lines
Diff to previous 1.64 (colored) to selected 1.49 (colored)
Convert remaining MI <sys/rnd.h> stragglers. Many MD ones left.
Revision 1.64 / (download) - annotate - [select for diffs], Sun Aug 10 16:44:37 2014 UTC (9 years, 8 months ago) by tls
Branch: MAIN
CVS Tags: tls-maxphys-base,
nick-nhusb-base-20150406,
nick-nhusb-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
Branch point for: nick-nhusb
Changes since 1.63: +1 -4
lines
Diff to previous 1.63 (colored) to selected 1.49 (colored)
Merge tls-earlyentropy branch into HEAD.
Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:08 2012 UTC (12 years, 2 months ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-earlyentropy-base,
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,
netbsd-6-base,
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,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
tls-earlyentropy
Changes since 1.62: +7 -1
lines
Diff to previous 1.62 (colored) to selected 1.49 (colored)
Entropy-pool implementation move and cleanup. 1) Move core entropy-pool code and source/sink/sample management code to sys/kern from sys/dev. 2) Remove use of NRND as test for presence of entropy-pool code throughout source tree. 3) Remove use of RND_ENABLED in device drivers as microoptimization to avoid expensive operations on disabled entropy sources; make the rnd_add calls do this directly so all callers benefit. 4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might have lead to slight entropy overestimation for some sources. 5) Add new source types for environmental sensors, power sensors, VM system events, and skew between clocks, with a sample implementation for each. ok releng to go in before the branch due to the difficulty of later pullup (widespread #ifdef removal and moved files). Tested with release builds on amd64 and evbarm and live testing on amd64.
Revision 1.62 / (download) - annotate - [select for diffs], Tue May 17 04:18:07 2011 UTC (12 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.61: +3 -1
lines
Diff to previous 1.61 (colored) to selected 1.49 (colored)
move and rename the uvm history code out of uvm_stat to "kernhist". rename "UVMHIST" option to enable the uvm histories. TODO: - make UVMHIST properly depend upon KERNHIST - enable dynamic registration of histories. this is mostly just allocating something in a bitmap, and is only for viewing multiple histories in a merged form. tested on amd64 and sparc64.
Revision 1.61 / (download) - annotate - [select for diffs], Wed Feb 2 17:53:42 2011 UTC (13 years, 2 months ago) by chuck
Branch: MAIN
CVS Tags: uebayasi-xip-base7,
bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.60: +1 -27
lines
Diff to previous 1.60 (colored) to selected 1.49 (colored)
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.60 / (download) - annotate - [select for diffs], Wed Feb 2 15:13:33 2011 UTC (13 years, 2 months ago) by chuck
Branch: MAIN
Changes since 1.59: +1 -8
lines
Diff to previous 1.59 (colored) to selected 1.49 (colored)
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.59 / (download) - annotate - [select for diffs], Thu Dec 9 01:48:05 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Changes since 1.58: +2 -1
lines
Diff to previous 1.58 (colored) to selected 1.49 (colored)
Make UVM_PAGE_TRKOWN a real flag.
Revision 1.58 / (download) - annotate - [select for diffs], Sun Apr 25 15:54:14 2010 UTC (13 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: 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
Changes since 1.57: +28 -2
lines
Diff to previous 1.57 (colored) to selected 1.49 (colored)
Reduce memory spent on bookkeeping for large values of MAXCPUS.
Revision 1.57 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:07 2009 UTC (14 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.56: +1 -8
lines
Diff to previous 1.56 (colored) to selected 1.49 (colored)
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.56 / (download) - annotate - [select for diffs], Sun Jun 28 15:18:50 2009 UTC (14 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
jymxensuspend-base
Changes since 1.55: +2 -1
lines
Diff to previous 1.55 (colored) to selected 1.49 (colored)
Ephemeral mapping (emap) implementation. Concept is based on the idea that activity of other threads will perform the TLB flush for the processes using emap as a side effect. To track that, global and per-CPU generation numbers are used. This idea was suggested by Andrew Doran; various improvements to it by me. Notes: - For now, zero-copy on pipe is not yet enabled. - TCP socket code would likely need more work. - Additional UVM loaning improvements are needed. Proposed on <tech-kern>, silence there. Quickly reviewed by <ad>.
Revision 1.55 / (download) - annotate - [select for diffs], Wed Jun 4 15:06:04 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
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-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
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,
matt-mips64-base2,
jym-xensuspend-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: matt-nb5-mips64,
jym-xensuspend
Changes since 1.54: +1 -6
lines
Diff to previous 1.54 (colored) to selected 1.49 (colored)
Replace the global vm_page hash with a per vm_object rbtree. Proposed on tech-kern@.
Revision 1.54 / (download) - annotate - [select for diffs], Wed Jun 4 12:45:28 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.53: +17 -4
lines
Diff to previous 1.53 (colored) to selected 1.49 (colored)
- vm_page: put listq, pageq into a union alongside a LIST_ENTRY, so we can use both types of list. - Make page coloring and idle zero state per-CPU. - Maintain per-CPU page freelists. When freeing, put pages onto the local CPU's lists and the global lists. When allocating, prefer to take pages from the local CPU. If none are available take from the global list as done now. Proposed on tech-kern@.
Revision 1.53 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:15 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
mjf-devfs2
Changes since 1.52: +3 -4
lines
Diff to previous 1.52 (colored) to selected 1.49 (colored)
Merge vmlocking2 to head.
Revision 1.52 / (download) - annotate - [select for diffs], Sat Jul 21 19:21:53 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-csl-alignment-base5,
matt-mips64-base,
matt-armv6-prevmlocking,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs,
matt-mips64,
matt-armv6,
bouyer-xeni386
Changes since 1.51: +11 -11
lines
Diff to previous 1.51 (colored) to selected 1.49 (colored)
Merge unobtrusive locking changes from the vmlocking branch.
Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 9 21:11:35 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base,
mjf-ufs-trans-base
Branch point for: nick-csl-alignment
Changes since 1.50: +8 -3
lines
Diff to previous 1.50 (colored) to selected 1.49 (colored)
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.50 / (download) - annotate - [select for diffs], Fri Jun 15 18:28:39 2007 UTC (16 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.49: +2 -2
lines
Diff to previous 1.49 (colored)
Add a sysctl to disable swapout of kernel stacks. Discussed on tech-kern@.
Revision 1.49 / (download) - annotate - [selected], Wed Feb 21 23:48:16 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
mjf-ufs-trans
Changes since 1.48: +3 -3
lines
Diff to previous 1.48 (colored)
Pick up some additional files that were missed before due to conflicts with newlock2 merge: 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.48 / (download) - annotate - [select for diffs], Wed Feb 21 23:00:12 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.47: +3 -3
lines
Diff to previous 1.47 (colored) to selected 1.49 (colored)
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.47 / (download) - annotate - [select for diffs], Mon Feb 19 01:35:19 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.46: +2 -1
lines
Diff to previous 1.46 (colored) to selected 1.49 (colored)
uvm_kick_scheduler(): do nothing until the swap subsystem is initialized.
Revision 1.46 / (download) - annotate - [select for diffs], Thu Feb 15 20:21:14 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.45: +5 -1
lines
Diff to previous 1.45 (colored) to selected 1.49 (colored)
Add uvm_kick_scheduler() (MP safe) to replace wakeup(&proc0).
Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:26 2006 UTC (17 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: post-newlock2-merge,
newlock2-nbase,
newlock2-base
Changes since 1.44: +5 -5
lines
Diff to previous 1.44 (colored) to selected 1.49 (colored)
merge yamt-splraiseipl branch. - finish implementing splraiseipl (and makeiplcookie). http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html - complete workqueue(9) and fix its ipl problem, which is reported to cause audio skipping. - fix netbt (at least compilation problems) for some ports. - fix PR/33218.
Revision 1.44 / (download) - annotate - [select for diffs], Fri Sep 15 15:51:12 2006 UTC (17 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
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
Branch point for: yamt-splraiseipl
Changes since 1.43: +2 -16
lines
Diff to previous 1.43 (colored) to selected 1.49 (colored)
merge yamt-pdpolicy branch. - separate page replacement policy from the rest of kernel - implement an alternative replacement policy
Revision 1.43 / (download) - annotate - [select for diffs], Sat Feb 11 12:45:07 2006 UTC (18 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-pdpolicy,
newlock2
Changes since 1.42: +1 -26
lines
Diff to previous 1.42 (colored) to selected 1.49 (colored)
remove the following options. no objections on tech-kern@. UVM_PAGER_INLINE UVM_AMAP_INLINE UVM_PAGE_INLINE UVM_MAP_INLINE
Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 29 15:45:28 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3,
ktrace-lwp-base
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.41: +5 -1
lines
Diff to previous 1.41 (colored) to selected 1.49 (colored)
read-ahead statistics.
Revision 1.41 / (download) - annotate - [select for diffs], Sun Oct 30 11:56:51 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.40: +13 -1
lines
Diff to previous 1.40 (colored) to selected 1.49 (colored)
don't include uvm_*_i.h unless needed, to reduce bogus header dependencies.
Revision 1.40 / (download) - annotate - [select for diffs], Wed May 11 13:02:25 2005 UTC (18 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop,
yamt-lazymbuf
Changes since 1.39: +1 -5
lines
Diff to previous 1.39 (colored) to selected 1.49 (colored)
allocate anons on-demand, rather than reserving static amount of them on boot/swapon.
Revision 1.39 / (download) - annotate - [select for diffs], Sat Jan 1 21:00:06 2005 UTC (19 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
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,
netbsd-3,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge
Changes since 1.38: +1 -3
lines
Diff to previous 1.38 (colored) to selected 1.49 (colored)
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.38 / (download) - annotate - [select for diffs], Tue Nov 23 04:51:56 2004 UTC (19 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-base,
kent-audio1
Changes since 1.37: +2 -1
lines
Diff to previous 1.37 (colored) to selected 1.49 (colored)
introduce UVMHIST_LOANHIST and sprinkle UVMHIST_LOGs.
Revision 1.37 / (download) - annotate - [select for diffs], Tue Feb 10 01:30:49 2004 UTC (20 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-2-base,
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,
netbsd-2-1,
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-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.36: +2 -0
lines
Diff to previous 1.36 (colored) to selected 1.49 (colored)
Back out the changes in http://mail-index.netbsd.org/source-changes/2004/01/29/0027.html since they don't really fix the problem. Incorpate one fix: Mark uvm_map_entry's that were created with UVM_FLAG_NOMERGE so that they will not be used as future merge candidates.
Revision 1.36 / (download) - annotate - [select for diffs], Thu Jan 29 12:06:02 2004 UTC (20 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.35: +1 -3
lines
Diff to previous 1.35 (colored) to selected 1.49 (colored)
- split uvm_map() into two functions for the followings. - for in-kernel maps, disable map entry merging so that unmap operations won't block. (workaround for PR/24039) - for in-kernel maps, allocate kva for vm_map_entry from the map itsself and eliminate MAX_KMAPENT and uvm_map_entry_kmem_pool.
Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 1 22:58:43 2002 UTC (21 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.34: +7 -2
lines
Diff to previous 1.34 (colored) to selected 1.49 (colored)
Reorder things so that with multiple inclusion protection that optional definitions are outside the protection checks.
Revision 1.34 / (download) - annotate - [select for diffs], Sat Nov 2 16:50:18 2002 UTC (21 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.33: +2 -2
lines
Diff to previous 1.33 (colored) to selected 1.49 (colored)
gah. reversed a test.
Revision 1.33 / (download) - annotate - [select for diffs], Sat Nov 2 07:37:14 2002 UTC (21 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.32: +4 -2
lines
Diff to previous 1.32 (colored) to selected 1.49 (colored)
/*CONTCOND*/, and protect UVMHIST_DECL with #ifdef UVMHIST
Revision 1.32 / (download) - annotate - [select for diffs], Sun Sep 15 01:01:32 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Changes since 1.31: +5 -1
lines
Diff to previous 1.31 (colored) to selected 1.49 (colored)
Protect "struct uvm" with _KERNEL.
Revision 1.31 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:44 2001 UTC (22 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
post-chs-ubcperf,
newlock-base,
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,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock,
netbsd-1-6
Changes since 1.30: +1 -5
lines
Diff to previous 1.30 (colored) to selected 1.49 (colored)
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 / (download) - annotate - [select for diffs], Wed Jun 27 21:18:34 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base,
pre-chs-ubcperf
Branch point for: thorpej-devvp,
kqueue
Changes since 1.29: +15 -1
lines
Diff to previous 1.29 (colored) to selected 1.49 (colored)
Macro'ize the code that checks the free and inactive thresholds and wakes the pagedaemon.
Revision 1.29 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:25 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.28: +2 -2
lines
Diff to previous 1.28 (colored) to selected 1.49 (colored)
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
Revision 1.28 / (download) - annotate - [select for diffs], Wed May 30 11:57:17 2001 UTC (22 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.27: +2 -2
lines
Diff to previous 1.27 (colored) to selected 1.49 (colored)
use _KERNEL_OPT
Revision 1.27 / (download) - annotate - [select for diffs], Sat May 26 16:32:46 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.26: +9 -9
lines
Diff to previous 1.26 (colored) to selected 1.49 (colored)
replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.
Revision 1.26 / (download) - annotate - [select for diffs], Tue May 22 00:44:44 2001 UTC (22 years, 11 months ago) by ross
Branch: MAIN
Changes since 1.25: +2 -3
lines
Diff to previous 1.25 (colored) to selected 1.49 (colored)
Merge the swap-backed and object-backed inactive lists.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 29 04:23:21 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +2 -1
lines
Diff to previous 1.24 (colored) to selected 1.49 (colored)
Implement page coloring, using a round-robin bucket selection algorithm (Solaris calls this "Bin Hopping"). This implementation currently relies on MD code to define a constant defining the number of buckets. This will change reasonably soon (MD code will be able to dynamically size the bucket array).
Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 27 08:40:02 2000 UTC (23 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.23: +11 -2
lines
Diff to previous 1.23 (colored) to selected 1.49 (colored)
Initial integration of the Unified Buffer Cache project.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:16 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.22: +4 -5
lines
Diff to previous 1.22 (colored) to selected 1.49 (colored)
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.22 / (download) - annotate - [select for diffs], Thu Jun 8 05:52:34 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base,
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,
netbsd-1-5
Changes since 1.21: +8 -5
lines
Diff to previous 1.21 (colored) to selected 1.49 (colored)
Change UVM_UNLOCK_AND_WAIT() to use ltsleep() (it is now atomic, as advertised). Garbage-collect uvm_sleep().
Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 24 17:12:00 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.20: +4 -2
lines
Diff to previous 1.20 (colored) to selected 1.49 (colored)
Changes necessary to implement pre-zero'ing of pages in the idle loop: - Make page free lists have two actual queues: known-zero pages and pages with unknown contents. - Implement uvm_pageidlezero(). This function attempts to zero up to the target number of pages until the target has been reached (currently target is `all free pages') or until whichqs becomes non-zero (indicating that a process is ready to run). - Define a new hook for the pmap module for pre-zero'ing pages. This is used to zero the pages using uncached access. This allows us to zero as many pages as we want without polluting the cache. In order to use this feature, each platform must add the appropropriate glue in their idle loop.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 10 02:20:06 2000 UTC (24 years ago) by chs
Branch: MAIN
Changes since 1.19: +10 -12
lines
Diff to previous 1.19 (colored) to selected 1.49 (colored)
tidy.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 2 20:39:18 2000 UTC (24 years ago) by thorpej
Branch: MAIN
Changes since 1.18: +2 -1
lines
Diff to previous 1.18 (colored) to selected 1.49 (colored)
Instead of checking vm_physmem[<physseg>].pgs to determine if uvm_page_init() has completed, add a boolean uvm.page_init_done, and test against that. Use this same boolean (rather than pmap_initialized) in pmap_growkernel() to determine if we are being called via uvm_page_init() to grow the kernel address space. This fixes a problem on some i386 configurations where pmap_init() itself was needing to have the kernel page table grown, and since pmap_initialized was not yet set to TRUE, pmap_growkernel() was choosing the wrong code path. Fix tested by Havard Eidnes.
Revision 1.18 / (download) - annotate - [select for diffs], Sat Nov 13 00:21:17 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
chs-ubc2-newbase
Changes since 1.17: +2 -8
lines
Diff to previous 1.17 (colored) to selected 1.49 (colored)
Always pass all arguments to uvm_sleep().
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 22 22:58:38 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-base
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Changes since 1.16: +6 -6
lines
Diff to previous 1.16 (colored) to selected 1.49 (colored)
Garbage collect thread_sleep()/thread_wakeup() left over from the old Mach VM code. Also nuke iprintf(), which was no longer used anywhere. Add proclist locking where appropriate.
Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 21 17:25:11 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +9 -10
lines
Diff to previous 1.15 (colored) to selected 1.49 (colored)
Protect prototypes, certain macros, and inlines from userland.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 26 17:34:15 1999 UTC (25 years ago) by chs
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Changes since 1.14: +5 -1
lines
Diff to previous 1.14 (colored) to selected 1.49 (colored)
add uvmexp.swpgonly and use it to detect out-of-swap conditions.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 25 18:48:49 1999 UTC (25 years ago) by mrg
Branch: MAIN
Changes since 1.13: +1 -6
lines
Diff to previous 1.13 (colored) to selected 1.49 (colored)
remove now >1 year old pre-release message.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 11 22:59:53 1998 UTC (25 years, 6 months ago) by chuck
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base
Branch point for: chs-ubc
Changes since 1.12: +4 -6
lines
Diff to previous 1.12 (colored) to selected 1.49 (colored)
remove unused share map code from UVM: dump UVM_ET_MAP/UVM_ET_ISMAP. if you need to detect a submap use UVM_ET_SUBMAP/UVM_ET_ISSUBMAP.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 24 23:00:43 1998 UTC (25 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +3 -2
lines
Diff to previous 1.11 (colored) to selected 1.49 (colored)
NCPU > 1 -> MULTIPROCESSOR
Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 13 02:10:59 1998 UTC (25 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored) to selected 1.49 (colored)
Merge paddr_t changes into the main branch.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 8 04:28:27 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.9: +7 -2
lines
Diff to previous 1.9 (colored) to selected 1.49 (colored)
Add support for multiple memory free lists. There is at least one default free list, and 0 - N additional free list, in order of descending priority. A new page allocation function, uvm_pagealloc_strat(), has been added, providing three page allocation strategies: - normal: high -> low priority free list walk, taking the page off the first free list that has one. - only: attempt to allocate a page only from the specified free list, failing if that free list has none available. - fallback: if `only' fails, fall back on `normal'. uvm_pagealloc(...) is provided for normal use (and is a synonym for uvm_pagealloc_strat(..., UVM_PGA_STRAT_NORMAL, 0); the free list argument is ignored for the `normal' case). uvm_page_physload() now specified which free list the pages will be loaded onto. This means that some platforms which have multiple physical memory segments may define additional vm_physsegs if they wish to break individual physical segments into differing priorities. Machine-dependent code must define _at least_ the following constants in <machine/vmparam.h>: VM_NFREELIST: the number of free lists the system will have VM_FREELIST_DEFAULT: the default freelist (should always be 0, but is defined in machdep code so that it's with all of the other free list-related constants). Additional free list names may be defined by machine-dependent code, but they will only be used by machine-dependent code (e.g. for loading the vm_physsegs).
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 4 08:44:04 1998 UTC (25 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.8: +3 -1
lines
Diff to previous 1.8 (colored) to selected 1.49 (colored)
Shield `#include opt_*.h'.
Revision 1.8 / (download) - annotate - [select for diffs], Wed May 20 01:32:29 1998 UTC (25 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +2 -1
lines
Diff to previous 1.7 (colored) to selected 1.49 (colored)
defopt LOCKDEBUG
Revision 1.7 / (download) - annotate - [select for diffs], Mon May 18 15:00:50 1998 UTC (25 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored) to selected 1.49 (colored)
No dummy locks if LOCKDEBUG.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 1 02:25:28 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.5: +1 -9
lines
Diff to previous 1.5 (colored) to selected 1.49 (colored)
Merge with Lite2 + local changes
Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 10 14:12:01 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.4: +10 -1
lines
Diff to previous 1.4 (colored) to selected 1.49 (colored)
- add defopt's for UVM, UVMHIST and PMAP_NEW. - remove unnecessary UVMHIST_DECL's.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 10 02:34:17 1998 UTC (26 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.3: +6 -1
lines
Diff to previous 1.3 (colored) to selected 1.49 (colored)
add/cleanup multiple inclusion protection.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 7 11:07:38 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.2: +3 -0
lines
Diff to previous 1.2 (colored) to selected 1.49 (colored)
restore rcsids
Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 6 22:31:29 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored) to selected 1.49 (colored)
RCS ID police.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 5 06:25:08 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Diff to selected 1.49 (colored)
Initial revision