The NetBSD Project

CVS log for src/sys/uvm/uvm_init.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / uvm

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Sep 23 18:21:12 2023 UTC (14 months, 2 weeks 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.58: preferred, colored
Changes since revision 1.58: +2 -3 lines
Repply this change with a couple of bugs fixed:

- Do away with separate pool_cache for some kernel objects that have no special
  requirements and use the general purpose allocator instead. On one of my
  test systems this makes for a small (~1%) but repeatable reduction in system
  time during builds presumably because it decreases the kernel's cache /
  memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Sep 12 16:17:22 2023 UTC (14 months, 3 weeks ago) by ad
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -2 lines
Back out recent change to replace pool_cache with then general allocator.
Will return to this when I have time again.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Sep 10 14:45:53 2023 UTC (14 months, 4 weeks ago) by ad
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -3 lines
- Do away with separate pool_cache for some kernel objects that have no special
  requirements and use the general purpose allocator instead.  On one of my
  test systems this makes for a small (~1%) but repeatable reduction in system
  time during builds presumably because it decreases the kernel's cache /
  memory bandwidth footprint a little.
- vfs_lockf: cache a pointer to the uidinfo and put mutex in the data segment.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Jul 17 12:55:37 2023 UTC (16 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +14 -2 lines
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.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:17 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +5 -2 lines
Sync w/ HEAD.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Nov 4 01:30:19 2020 UTC (4 years, 1 month ago) by chs
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-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.54: preferred, colored
Changes since revision 1.54: +5 -2 lines
In uvmpd_tryownerlock(), if the initial try-lock of the owner lock fails
then rather than do more try-locks and eventually sleep for a tick,
take a hold on the current owner's lock, drop the page interlock,
and acquire the lock that we took the hold on in a blocking fashion.
After we get the lock, check if the lock that we acquired is still
the lock for the owner of the page that we're interested in.
If the owner hasn't changed then can proceed with this page,
otherwise we will skip this page and move on to a different page.
This dramatically reduces the amount of time that the pagedaemon
sleeps trying to get locks, since even 1 tick is an eternity to sleep
in this context and it was easy to trigger that case in practice,
and with this new method the pagedaemon only very rarely actually blocks
to acquire the lock that it wants since the object locks are adaptive,
and when the pagedaemon does block then the amount of time it spends
sleeping will be generally be much less than 1 tick.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Oct 7 17:51:50 2020 UTC (4 years, 2 months ago) by chs
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -2 lines
Add a new, more aggressive allocator for uvm_pglistalloc() to allocate
contiguous physical pages, and try this new allocator if the existing
one fails.  The existing contig allocator only tries to allocate pages
that are already free, which works fine shortly after boot but rarely
works after the system has been up for a while.  The new allocator uses
the pagedaemon to evict pages from memory in the hope that this will
free up a range of pages that satisfies the constraits of the request.
This should help with things like plugging in a USB device, which often
fails for some USB controllers because they can't get contigous memory.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:04 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +4 -9 lines
Merge changes from current as of 20200406

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Mar 6 20:46:12 2020 UTC (4 years, 9 months 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.52: preferred, colored
Changes since revision 1.52: +3 -5 lines
Fix a comment.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Dec 27 12:51:57 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -3 lines
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.51: download - view: text, markup, annotated - select for diffs
Fri Dec 13 20:10:22 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -3 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.50: download - view: text, markup, annotated - select for diffs
Sun Dec 1 14:28:01 2019 UTC (5 years ago) by ad
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -6 lines
Give each of the page queue locks their own cache line.

Revision 1.48.14.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:17 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +2 -8 lines
Sync with HEAD

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat May 19 11:39:37 2018 UTC (6 years, 6 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-base, 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, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, netbsd-9-base, netbsd-9-4-RELEASE, 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, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -8 lines
Remove emap support. Unfortunately it never got to state where it would be
used and usable, due to reliability and limited & complicated MD support.

Going forward, we need to concentrate on interface which do not map anything
into kernel in first place (such as direct map or KVA-less I/O), rather
than making those mappings cheaper to do.

Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:22 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.1: +18 -2 lines
update from HEAD

Revision 1.45.14.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:41:01 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.45.14.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.14.1: +15 -2 lines
Sync with HEAD

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:53 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +15 -2 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Dec 23 07:15:28 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-3-RELEASE, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -2 lines
"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.

KeK (http://www.kek.org.in) for hosting the primary developers.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Dec 22 12:55:21 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +13 -2 lines
Add a new function called uvm_md_init() that can be called at the
appropriate time in the boot path by MD code.

Revision 1.45.12.1: download - view: text, markup, annotated - select for diffs
Thu Apr 23 07:31:17 2015 UTC (9 years, 7 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +5 -2 lines
Pull up following revision(s) (requested by mrg in ticket #718):
	sys/arch/x86/include/pmap.h: revision 1.56
	sys/arch/x86/x86/pmap.c: revision 1.188
	sys/dev/pci/agp_amd64.c: revision 1.8
	sys/dev/pci/agp_i810.c: revision 1.118
	sys/external/bsd/drm2/dist/drm/i915/i915_dma.c: revision 1.16
	sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: revision 1.29
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_agp.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/nouveau/nouveau_ttm.c: revision 1.4
	sys/external/bsd/drm2/dist/drm/radeon/atombios_crtc.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_agp.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_display.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_crtc.c: revision 1.2
	sys/external/bsd/drm2/dist/drm/radeon/radeon_object.c: revision 1.3
	sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c: revision 1.7
	sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c: revisions 1.7-1.10
	sys/external/bsd/drm2/dist/drm/ttm/ttm_bo_util.c: revision 1.5
	sys/external/bsd/drm2/i915drm/intelfb.c: revision 1.13
	sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: revisions 1.12, 1.13
	sys/external/bsd/drm2/include/linux/mm.h: revision 1.5
	sys/external/bsd/drm2/include/linux/pci.h: revisions 1.16, 1.17
	sys/external/bsd/drm2/nouveau/nouveaufb.c: revision 1.2
	sys/external/bsd/drm2/radeon/radeon_pci.c: revisions 1.8, 1.9
	sys/uvm/uvm_init.c: revision 1.46
Hack against the blank console problem:
Leave the CLUT alone on ancient cards. At least this leaves us with a
semi working console (red and blue are flipped). Leave an example of what
seems to be happening but disable it because colors are better than 444 bit
greyscale.
--
Initialize P->V tracking for unmanaged device pages in uvm_init.

Conditional on __HAVE_PMAP_PV_TRACK until we add it to all pmaps.

MI part of pmap_pv(9) change proposed on tech-kern:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html
--
Implement pmap_pv(9) for x86 for P->V tracking of unmanaged pages.

Proposed on tech-kern with no objections:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html
--
Use pmap_pv(9) to remove mappings of Intel graphics aperture pages.

Proposed on tech-kern with no objections:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html

Further background at:

https://mail-index.netbsd.org/tech-kern/2014/07/23/msg017392.html
--
Use pmap_pv(9) to remove mappings of device pages in TTM.

Adapt nouveau and radeon to do pmap_pv_track for their device pages.

Proposed on tech-kern with no objections:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html

Further background at:

https://mail-index.netbsd.org/tech-kern/2014/07/23/msg017392.html
--
Fix error branches in agp_amd64.c.

- agp_generic_detach always.
- Free asc if it was allocated.  (Found by Brainy, noted by maxv@.)
- Free the GATT if it was allocated.
--
pmf_device_register returns false on failure, not true
--
In DRM_SPIN_WAIT_ON, don't stop after waiting only one tick.

Continue the loop to recheck the condition and count the whole
duration.
--
Don't use the video BIOS memory as an i915 flush page!
--
Don't let anyone else allocate the video BIOS either.
--
Missed a zero: it's 0x100000, not 0x10000.
--
Don't reserve if atomic -- caller must have pre-pinned the buffer.
--
Don't reserve if atomic -- caller must have pre-pinned the buffer.
--
almost add radeondrmkms suspend/resume support.  it unfortunately doesn't work.
--
Need the page's uvm object lock to do pmap_page_protect.
--
Use KASSERTMSG to show bad base/offset.
--
KASSERT about page-alignment on initialization too.
--
Don't break when hardclock_ticks wraps around.

Since we now only count time spent in wait, rather than determining
the end time and checking whether we've passed it, timeouts might be
marginally longer in effect.  Unlikely to be an issue.
--
Remove broken drm2 vm_mmap stub.  Can't possibly have ever worked.
--
apply some of the additional changes from Arto Huusko in PR#49645:
- call pmf_device_deregister on detach.

i've kept the "resume = true" for radeon_resume_kms() call as it
seems to work for me (indeed, code inspection shows it is unused
on netbsd :-)

my old nforce4 box that can resume old drm (or could, last i tried
several years ago) while X and GL apps were running, can at least
survive a resume if X hasn't started.  my one attempt so far with
X exited, but having run, did not work.
--
First attempt to make ttm_buffer_object_transfer less bogus.
--
Make sure mem.bus.is_iomem is initialized.  PR 49833

Revision 1.45.14.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:33 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -2 lines
Sync with HEAD

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Apr 3 01:03:42 2015 UTC (9 years, 8 months ago) by riastradh
Branches: 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, nick-nhusb-base-20150406, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +5 -2 lines
Initialize P->V tracking for unmanaged device pages in uvm_init.

Conditional on __HAVE_PMAP_PV_TRACK until we add it to all pmaps.

MI part of pmap_pv(9) change proposed on tech-kern:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html

Revision 1.41.4.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:19 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.41.4.2: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.2: +6 -7 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:19 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -7 lines
resync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Jan 29 21:37:04 2013 UTC (11 years, 10 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base9, 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, nick-nhusb-base, netbsd-7-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb, netbsd-7
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +6 -7 lines
improve on comments

Revision 1.41.4.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:58 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.1: +32 -43 lines
sync with head

Revision 1.34.12.2: download - view: text, markup, annotated - select for diffs
Wed Apr 4 00:26:25 2012 UTC (12 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.34.12.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.12.1: +10 -2 lines
Move the uvm_scheduler_mutex and cv init to uvm_init since they are
independent of VMSWAP.

Revision 1.41.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:59 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +34 -45 lines
merge to -current.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Feb 17 23:41:02 2012 UTC (12 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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
Branch point for: tls-maxphys
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -5 lines
Make sure to export uvmexp_* if MODULAR is defined.
Make the uvmexp_page* be a pointer to a const int as well as having the
pointer be const as well.

Revision 1.34.12.1: download - view: text, markup, annotated - select for diffs
Thu Feb 9 03:04:59 2012 UTC (12 years, 10 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -6 lines
Major changes to uvm.
Support multiple collections (groups) of free pages and run the page
reclaimation algorithm on each group independently.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jan 28 00:00:06 2012 UTC (12 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: 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
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +24 -27 lines
pool_page_alloc, pool_page_alloc_meta: avoid extra compare, use const.
ffs_mountfs,sys_swapctl: replace memset with kmem_zalloc.
sys_swapctl: move kmem_free outside the lock path.
uvm_init: fix comment, remove pointless numeration of steps.
uvm_map_enter: remove meflagval variable.
Fix some indentation.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:41 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +18 -26 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.41.4.1: download - view: text, markup, annotated - select for diffs
Sun Nov 20 10:52:33 2011 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -2 lines
- fix page loaning  XXX make O->A loaning further
- add some statistics

Revision 1.36.4.4: download - view: text, markup, annotated - select for diffs
Sun Jun 12 02:32:29 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36.4.3: preferred, colored; branchpoint 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36.4.3: +0 -5 lines
Do not call uvm_loan_init() twice.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:22 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +8 -17 lines
Sync with HEAD.

Revision 1.36.4.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:14 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36.4.2: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.2: +6 -2 lines
sync with head

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Apr 24 03:56:50 2011 UTC (13 years, 7 months ago) by rmind
Branches: 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
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -8 lines
Initialize UVM loaning subsystem a bit later, after kmem(9).
Makes UVMHIST work again.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Apr 23 18:14:12 2011 UTC (13 years, 7 months ago) by rmind
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -4 lines
Replace "malloc" in comments, remove unnecessary header inclusions.

Revision 1.36.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:36 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36.4.1: preferred, colored; branchpoint 1.36: preferred, colored
Changes since revision 1.36.4.1: +8 -9 lines
sync with head

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:06 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +2 -9 lines
Sync with HEAD

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Feb 2 15:13:34 2011 UTC (13 years, 10 months ago) by chuck
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +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.36.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 16 03:03:28 2010 UTC (14 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +8 -2 lines
Sync with HEAD.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Nov 14 04:31:02 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -1 lines
Oops.  Fix thinko.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Nov 14 04:25:16 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +8 -2 lines
Platforms that dynamically set PAGE_{SIZE,MASK,SHIFT}, those values are
saved in struct uvmexp.  Expose only the relevant part for symbol users,
so that they don't need to include the whole uvm(9) API.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:17 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -8 lines
Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.32.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:46 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32.10.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.10.2: +2 -3 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:07 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -3 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.34.8.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:33:04 2009 UTC (15 years, 4 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +8 -2 lines
Sync with HEAD.

Revision 1.32.10.2: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:28 2009 UTC (15 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32.10.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.10.1: +8 -2 lines
sync with head.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Jun 28 15:18:51 2009 UTC (15 years, 5 months ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +8 -2 lines
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.32.10.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:14:39 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +17 -11 lines
sync with head.

Revision 1.32.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:43 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32.6.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.6.1: +15 -8 lines
Sync with HEAD.

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:18:11 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +17 -10 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Oct 18 03:46:22 2008 UTC (16 years, 1 month ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, 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, ad-audiomp2-base, ad-audiomp2
Branch point for: matt-nb5-mips64, jym-xensuspend
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +17 -10 lines
- Initialize pool subsystem and kmem(9) earlier, when UVM is up enough.
- Remove uao_hashinit() workaround used for anon-objects.
- Replace malloc with kmem.

OK by <yamt>.

Revision 1.32.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:32:06 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -3 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:15:17 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -3 lines
sync with head.

Revision 1.32.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:38 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -3 lines
Sync with HEAD.

Also fix build.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jun 4 15:06:04 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4, 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
Branch point for: haad-dm
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -3 lines
Replace the global vm_page hash with a per vm_object rbtree.
Proposed on tech-kern@.

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:13 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +4 -2 lines
sync with HEAD

Revision 1.29.8.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:33 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.29.8.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.8.1: +12 -3 lines
Sync with HEAD.

Revision 1.23.2.6: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:25:10 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.5: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.5: +4 -2 lines
sync with head.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Jan 28 12:22:47 2008 UTC (16 years, 10 months ago) by yamt
Branches: 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, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2 lines
remove a special allocator for uareas, which is no longer necessary.
use pool_cache instead.

Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:48:21 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.4: +10 -3 lines
sync with head

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:40 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +15 -3 lines
sync with HEAD

Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:37 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +8 -1 lines
Sync with HEAD

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jan 2 11:49:17 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +10 -3 lines
Merge vmlocking2 to head.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Tue Dec 18 15:24:28 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.1: +9 -2 lines
Lock readahead context using the associated object's lock.

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 4 13:04:00 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
Pull the vmlocking changes into a new branch.

Revision 1.29.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:49:39 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -2 lines
Sync with HEAD.

Revision 1.29.6.1: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:35:58 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +7 -2 lines
Sync with HEAD

Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:45:38 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +7 -2 lines
sync with head.

Revision 1.28.4.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:04:57 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.28.4.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.4.1: +7 -2 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Nov 14 11:04:08 2007 UTC (17 years ago) by yamt
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -2 lines
call debug_init earlier.  ie. before malloc is used.

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:49:16 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -9 lines
Sync with HEAD.

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:47:06 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +10 -6 lines
sync with head.

Revision 1.27.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:24:25 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.1: +2 -9 lines
Sync with HEAD.

Revision 1.26.10.5: download - view: text, markup, annotated - select for diffs
Tue Aug 21 22:32:26 2007 UTC (17 years, 3 months ago) by yamt
Branches: vmlocking
Diff to: previous 1.26.10.4: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.10.4: +2 -3 lines
fix some races around pagedaemon and uvm_wait.  ok'ed by Andrew Doran.

Revision 1.26.10.4: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:28:32 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26.10.3: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.10.3: +2 -9 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Aug 18 00:21:11 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, jmcneill-base
Branch point for: mjf-devfs, matt-armv6, bouyer-xenamd64
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -9 lines
Make the uarea cache per-CPU and drain in batches of 4.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:51:21 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -3 lines
Sync with HEAD.

Revision 1.28.6.2: download - view: text, markup, annotated - select for diffs
Sat Jul 21 19:21:55 2007 UTC (17 years, 4 months ago) by ad
Branches: matt-mips64
Diff to: previous 1.28.6.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.6.1: +180 -0 lines
Merge unobtrusive locking changes from the vmlocking branch.

Revision 1.28.6.1
Sat Jul 21 19:21:54 2007 UTC (17 years, 4 months ago) by ad
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.28: +0 -180 lines
file uvm_init.c was added on branch matt-mips64 on 2007-07-21 19:21:55 +0000

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jul 21 19:21:54 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: matt-mips64-base, hpcarm-cleanup
Branch point for: matt-mips64, jmcneill-pm
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -3 lines
Merge unobtrusive locking changes from the vmlocking branch.

Revision 1.26.12.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:12:55 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +6 -2 lines
Sync with head.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:11:36 2007 UTC (17 years, 5 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.26: preferred, colored
Changes since revision 1.26: +6 -2 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.26.10.3: download - view: text, markup, annotated - select for diffs
Sat Apr 28 20:47:03 2007 UTC (17 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26.10.2: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.10.2: +2 -3 lines
Split uvm_hashlock into an array of 32 locks.

Revision 1.26.10.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:32:52 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26.10.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.10.1: +4 -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.26.10.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 17:51:55 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +16 -3 lines
Pull in the initial set of changes for the vmlocking branch.

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:51:05 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +5 -2 lines
sync with head.

Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:50 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +5 -2 lines
Sync with head.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Sep 15 15:51:13 2006 UTC (18 years, 2 months ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, 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, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -2 lines
merge yamt-pdpolicy branch.
	- separate page replacement policy from the rest of kernel
	- implement an alternative replacement policy

Revision 1.24.8.3: download - view: text, markup, annotated - select for diffs
Fri Sep 15 11:54:56 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.24.8.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.8.2: +3 -2 lines
make UVM_KICK_PDAEMON() a real function and stop including
uvm_pdpolicy.h from uvm.h.  this also fixes build of pmap(1).

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 03:00:13 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3 lines
sync with head

Revision 1.24.8.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:55:08 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.24.8.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.8.1: +3 -3 lines
sync with head.

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:40 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
sync with head.

Revision 1.24.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:11:44 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3 lines
Sync with head.

Revision 1.24.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:39:45 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +3 -3 lines
Sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu May 25 14:27:28 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
move wait points for kva from upper layers to vm_map.  PR/33185 #1.

XXX there is a concern about interaction with kva fragmentation.
see: http://mail-index.NetBSD.org/tech-kern/2006/05/11/0000.html

Revision 1.24.8.1: download - view: text, markup, annotated - select for diffs
Sun Mar 5 12:51:09 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -2 lines
separate page replacement policy from the rest of kernel.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:29 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, chap-midi
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
merge ktrace-lwp.

Revision 1.18.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:39 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.4: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.4: +10 -10 lines
Sync with HEAD. Here we go again...

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jun 27 02:19:48 2005 UTC (19 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
Use ANSI function decls.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed May 11 13:02:25 2005 UTC (19 years, 7 months ago) by yamt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -9 lines
allocate anons on-demand, rather than reserving static amount of
them on boot/swapon.

Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:45 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +5 -4 lines
sync with -current

Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 24 08:36:05 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.3: preferred, colored
Changes since revision 1.18.2.3: +5 -4 lines
Sync with HEAD.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jan 23 19:02:02 2005 UTC (19 years, 10 months ago) by chs
Branches: 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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -4 lines
move the call to link_pool_init() to the end of uvm_init().  needed for sun3.

Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:39:26 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.2: preferred, colored
Changes since revision 1.18.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:57:11 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18.2.1: preferred, colored
Changes since revision 1.18.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:57:06 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -7 lines
Sync with HEAD

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Apr 25 16:42:45 2004 UTC (20 years, 7 months ago) by simonb
Branches: MAIN
CVS tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: kent-audio2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -4 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.19: download - view: text, markup, annotated - select for diffs
Sun Oct 26 08:05:00 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: 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
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -5 lines
update comment - kmem_map is created in kmeminit(), not uvm_km_init()

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat May 10 21:10:23 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -3 lines
Back out the following chagne:
    http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html

There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.

Fixes PR kern/21517.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu May 8 18:13:28 2003 UTC (21 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -9 lines
Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Mar 4 06:18:54 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -2 lines
Fix the following pathological scanario:
* User allocates ZFOD region, but does not actually touch the buffer
  to fault in the pages.
* In a loop, user writes this buffer to a network socket, triggering
  sosend_loan().
* uvm_loan() calls uvm_loanzero() once for each page in the loaned
  region (since the pages have not yet faulted in).  This causes a
  page to be allocated and zero'd.  The result is the kernel spends
  a lot of time allocating and zero'ing pages.

This fixes creates a special object which owns a single zero'd page.
This single zero'd page is used to satisfy all loans of non-resident
ZFOD mappings.

Thanks to Allen Briggs for discovering the problem and for providing
an initial patch.

Revision 1.14.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:06:32 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.14.2.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.2: +10 -1 lines
Catch up to -current.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 20:05:35 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -1 lines
Sync kqueue branch with -current.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:19:05 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.2.1: +4 -1 lines
Catch up to -current.

Revision 1.14.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:19:53 2001 UTC (23 years, 1 month ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +4 -1 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Nov 10 07:37:00 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: thorpej-mips-cache-base, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, 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, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -1 lines
add RCSIDs, and in some cases, slightly cleanup #include order

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:50:10 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -10 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:12:01 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +1 -7 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jun 27 17:29:23 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache, nathanw_sa, kqueue
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -4 lines
remove include of <vm/vm.h>

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:18 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +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.12: download - view: text, markup, annotated - select for diffs
Wed Mar 29 03:43:34 2000 UTC (24 years, 8 months ago) by simonb
Branches: 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, minoura-xpg4dl-base, minoura-xpg4dl
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2 lines
Don't need to include <sys/conf.h> here.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Mar 25 18:48:51 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -5 lines
remove now >1 year old pre-release message.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jan 24 23:53:15 1999 UTC (25 years, 10 months ago) by chuck
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -3 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.9: download - view: text, markup, annotated - select for diffs
Thu Aug 13 02:11:00 1998 UTC (26 years, 4 months ago) by eeh
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Merge paddr_t changes into the main branch.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 9 22:36:38 1998 UTC (26 years, 4 months ago) by perry
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 30 14:04:11 1998 UTC (26 years, 4 months ago) by eeh
Branches: eeh-paddr_t
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +2 -2 lines
Split vm_offset_t and vm_size_t into paddr_t, psize_t, vaddr_t, and vsize_t.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 5 20:51:05 1998 UTC (26 years, 7 months ago) by kleink
Branches: MAIN
CVS tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -4 lines
Remove inclusions of syscall (and syscall argument) related header files;
we don't need them here.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Mar 9 00:58:57 1998 UTC (26 years, 9 months ago) by mrg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +65 -65 lines
KNF.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:12:13 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -3 lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Feb 7 11:08:38 1998 UTC (26 years, 10 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:26:46 1998 UTC (26 years, 10 months ago) by chs
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -2 lines
enable paging of kernel_object.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Feb 6 22:31:52 1998 UTC (26 years, 10 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 (26 years, 10 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 (26 years, 10 months ago) by mrg
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>