The NetBSD Project

CVS log for src/sys/uvm/files.uvm

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.36.6.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:37 2021 UTC (23 months, 2 weeks ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync w/ HEAD.

Revision 1.36.10.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:53 2021 UTC (23 months, 4 weeks ago) by cjep
Branch: cjep_sun2x
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 3 20:18:06 2021 UTC (2 years ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, netbsd-10-base, netbsd-10, cjep_sun2x-base1, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

uvm(9): Enable swap encryption by default.

For machines where the performance impact of swapping before the
system has an opportunity to process `vm.swap_encrypt=0' in
/etc/sysctl.conf, you can disable it again by adding

options 	VMSWAP_DEFAULT_PLAINTEXT

to the kernel config.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Aug 4 06:10:27 2020 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf, cjep_sun2x
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

G/C USE_TOPDOWN_VM.  __USE_TOPDOWN_VM is used (and hidden)

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 29 23:33:46 2020 UTC (2 years, 11 months ago) by riastradh
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

uvm(9): Switch from legacy rijndael API to new aes API.

Revision 1.34 / (download) - annotate - [select for diffs], Sun May 10 22:28:09 2020 UTC (3 years ago) by pgoyette
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Add missing dependency.

Fixes builds with VM_SWAP but no other users of rijndael crypto code.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:04 2020 UTC (3 years, 1 month ago) by martin
Branch: phil-wifi
Changes since 1.29: +5 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Merge changes from current as of 20200406

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:38 2020 UTC (3 years, 4 months ago) by ad
Branch: ad-namecache
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 15 17:55:45 2020 UTC (3 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Merge from yamt-pagecache (after much testing):

- Reduce unnecessary page scan in putpages esp. when an object has a ton of
  pages cached but only a few of them are dirty.

- Reduce the number of pmap operations by tracking page dirtiness more
  precisely in uvm layer.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Dec 27 12:51:57 2019 UTC (3 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Sun Dec 15 21:11:35 2019 UTC (3 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

Merge from yamt-pagecache:

- do gang lookup of pages using radixtree.
- remove now unused uvm_object::uo_memq and vm_page::listq.queue.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 20 19:37:54 2019 UTC (3 years, 6 months ago) by pgoyette
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation.  Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !

Revision 1.28.14.1 / (download) - annotate - [select for diffs], Mon May 21 04:36:17 2018 UTC (5 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Sat May 19 11:39:37 2018 UTC (5 years ago) by jdolecek
Branch: 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-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
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

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.20.14.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:22 2017 UTC (5 years, 6 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.20: +35 -29 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

update from HEAD

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Sun Feb 5 13:41:01 2017 UTC (6 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.2.4: +3 -1 lines
Diff to previous 1.22.2.4 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:53 2017 UTC (6 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.25: +6 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.28 / (download) - annotate - [select for diffs], Fri Dec 23 07:15:28 2016 UTC (6 years, 5 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, 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-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
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 (colored)

"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.22.2.4 / (download) - annotate - [select for diffs], Mon Dec 5 10:55:30 2016 UTC (6 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.2.3: +2 -1 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Thu Dec 1 02:09:03 2016 UTC (6 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: nick-nhusb-base-20161204
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

allow the sizes of the maphist and pdhist to be set in the config
file via UVMHIST_MAPHIST_SIZE and UVMHIST_PDHIST_SIZE.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:12 2016 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.2.2: +3 -2 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Fri Aug 12 13:40:21 2016 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Make UVMHIST_PRINT work again by making it define KERNHIST_PRINT

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:17 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.22.2.1: +2 -3 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored)

Sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jul 27 09:24:28 2015 UTC (7 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Branch point for: pgoyette-localcount
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

Several changes and improvements in KMEM_GUARD:
 - merge uvm_kmguard.{c,h} into subr_kmem.c. It is only user there, and
   makes it more consistent. Also, it allows us to enable KMEM_GUARD
   without enabling DEBUG.
 - rename uvm_kmguard_XXX to kmem_guard_XXX, for consistency
 - improve kmem_guard_alloc() so that it supports allocations bigger than
   PAGE_SIZE
 - remove the canary value, and use directly the kmem header as underflow
   pattern.
 - fix some comments

(The UAF fifo is disabled for the moment; we actually need to register
the va and its size, and add a weight support not to consume too much
memory.)

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:31 2015 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 12 12:44:13 2015 UTC (8 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

UVM_RESERVED_PAGES_PER_CPU must be a param, not a flag.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Apr 11 19:24:13 2015 UTC (8 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Allow changing the per-cpu emergency page reservation via kernel config.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 10 09:01:01 2014 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.21: +1 -0 lines
Diff to previous 1.21 (colored)

Use opt_*.h to not polute CPPFLAGS.

Attribute dependency is not yet.  Revert a definition.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Oct 10 08:24:54 2014 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.20: +28 -27 lines
Diff to previous 1.20 (colored)

Define "uvm" attribute and mark files.

Revision 1.11.12.1 / (download) - annotate - [select for diffs], Wed Feb 29 18:03:38 2012 UTC (11 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Improve UVM_PAGE_TRKOWN.
Add more asserts to uvm_page.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Wed Nov 2 21:54:00 2011 UTC (11 years, 7 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

page cache related changes

- maintain object pages in radix tree rather than rb tree.
- reduce unnecessary page scan in putpages.  esp. when an object has a ton of
  pages cached but only a few of them are dirty.
- reduce the number of pmap operations by tracking page dirtiness more
  precisely in uvm layer.
- fix nfs commit range tracking.
- fix nfs write clustering.  XXX hack

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:20 2011 UTC (12 years ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Tue May 31 03:05:13 2011 UTC (12 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.18.2.1: +1 -1 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 17 05:32:31 2011 UTC (12 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-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-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, 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-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

fix the ordering and make UVMHIST enable KERNHIST automatically.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:34 2011 UTC (12 years, 3 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 9 01:48:05 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Make UVM_PAGE_TRKOWN a real flag.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Mon Nov 15 15:11:54 2010 UTC (12 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.16.2.2: +0 -2 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Revert xmd(4).

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sat Oct 30 08:41:14 2010 UTC (12 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.16.2.1: +2 -0 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

Implement pmap_physload_device(9) to replace xmd(4) MD backend.
Implement pmap_mmap(9) and use it from mem(4) and xmd(4).

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:37 2010 UTC (13 years, 1 month ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Sync with HEAD.

Revision 1.10.20.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:46 2010 UTC (13 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.10.20.3: +3 -2 lines
Diff to previous 1.10.20.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 21 13:17:50 2010 UTC (13 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

rename the va0_disabled option and cpp conditional to "disable" as well,
for consistency, and document option and sysctl flag

Revision 1.17 / (download) - annotate - [select for diffs], Thu Feb 18 14:57:01 2010 UTC (13 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Disable mapping of virtual address 0 by user programs per default.
This blocks an easy exploit of kernel bugs leading to dereference
of a NULL pointer on some architectures (eg i386).
The check can be disabled in various ways:
-by CPP definitions in machine/types.h (portmaster's choice)
-by a kernel config option USER_VA0_DISABLED_DEFAULT=0
-at runtime by sysctl vm.user_va0_disabled (cannot be cleared
 at securelevel>0)

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:07 2009 UTC (13 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (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.10.20.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:48:35 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.10.20.2: +2 -2 lines
Diff to previous 1.10.20.2 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 9 21:58:03 2009 UTC (13 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Add [default] option to make UAREAs swappable.  Disabling the option makes
them unswappable and therefore allocatable using KSEG/BAT/etc.

Revision 1.12.4.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:33:04 2009 UTC (13 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.12.4.1: +2 -1 lines
Diff to previous 1.12.4.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.10.20.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:28 2009 UTC (13 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.10.20.1: +2 -1 lines
Diff to previous 1.10.20.1 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 28 15:18:50 2009 UTC (13 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (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.12.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:10 2009 UTC (14 years ago) by jym
Branch: jym-xensuspend
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.10.20.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:39 2009 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

sync with head.

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:58 2009 UTC (14 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.11.6.1: +2 -1 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 29 10:51:53 2009 UTC (14 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

kernel memory guard for DEBUG kernels, proposed on tech-kern.
See kmem_alloc(9) for details.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:36 2009 UTC (14 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Sync with HEAD.

Revision 1.10.16.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:43 2009 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.10.16.1: +1 -0 lines
Diff to previous 1.10.16.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:41 2008 UTC (14 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:10 2008 UTC (14 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.10.22.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:06 2008 UTC (14 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.10.18.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:17 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.10.16.1 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:37 2008 UTC (15 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.10: +1 -1 lines
Diff to previous 1.10 (colored)

Sync with HEAD.

Also fix build.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 4 17:47:40 2008 UTC (15 years ago) by ad
Branch: 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, 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, 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, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64, haad-dm
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

- Switch off the map evcnts by default.
- SAVE_HINT() doesn't need to be atomic.

Revision 1.9.12.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:03:32 2007 UTC (15 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:35:26 2007 UTC (15 years, 7 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with HEAD

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Sun Oct 28 20:11:16 2007 UTC (15 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.4.16.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:53 2007 UTC (15 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.16.4: +2 -1 lines
Diff to previous 1.4.16.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 25 13:03:06 2007 UTC (15 years, 7 months ago) by yamt
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, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

defparam PAGER_MAP_SIZE.

Revision 1.4.16.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:47:03 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.16.3: +2 -2 lines
Diff to previous 1.4.16.3 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Mon Aug 20 21:28:30 2007 UTC (15 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 17 17:42:08 2007 UTC (15 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Add native mremap system call based on the UVM implementation for
Linux compat. Add code to enforce alignment of the new location.
Special thanks to wizd for helping with the man page.

Revision 1.4.20.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:25 2007 UTC (16 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.4.20.1: +2 -2 lines
Diff to previous 1.4.20.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.4.16.3 / (download) - annotate - [select for diffs], Sat Dec 30 20:51:05 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.16.2: +6 -1 lines
Diff to previous 1.4.16.2 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:33 2006 UTC (16 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.5.2.1: +2 -2 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Nov 25 21:40:06 2006 UTC (16 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the
physical memory

Revision 1.4.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:49 2006 UTC (16 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.4: +6 -1 lines
Diff to previous 1.4 (colored)

Sync with head.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:52 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

sync with head

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 12 10:11:57 2006 UTC (16 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.6: +1 -0 lines
Diff to previous 1.6 (colored)

uobj_wirepages and uobj_unwirepages from Mindaugas.  PR/34771.
(commented out in files.uvm for now because there is no user in tree.)

http://mail-index.netbsd.org/tech-kern/2006/09/24/0000.html
http://mail-index.netbsd.org/tech-kern/2006/10/10/0000.html

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 30 15:38:06 2006 UTC (16 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

add ubc window hit/miss evcnts.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 15 15:51:12 2006 UTC (16 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base
Branch point for: yamt-splraiseipl
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored)

merge yamt-pdpolicy branch.
	- separate page replacement policy from the rest of kernel
	- implement an alternative replacement policy

Revision 1.4.16.2 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:39 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.16.1: +36 -0 lines
Diff to previous 1.4.16.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Mon Mar 6 12:53:44 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4.6.1: +3 -1 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

an experimental implementation of CLOCK-Pro.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sun Mar 5 12:51:09 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)

separate page replacement policy from the rest of kernel.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:48 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.4.16.1, Sat Jan 21 13:34:15 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +0 -36 lines
FILE REMOVED

file files.uvm was added on branch yamt-lazymbuf on 2006-06-21 15:12:39 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 21 13:34:15 2006 UTC (17 years, 4 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, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, 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, yamt-lazymbuf, newlock2
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

implement compat_linux mremap.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:42 2005 UTC (17 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.3.2.1: +35 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with head.

Revision 1.3.2.1, Tue Nov 29 22:52:03 2005 UTC (17 years, 6 months ago) by christos
Branch: ktrace-lwp
Changes since 1.3: +0 -35 lines
FILE REMOVED

file files.uvm was added on branch ktrace-lwp on 2005-12-11 10:29:42 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 29 22:52:03 2005 UTC (17 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: ktrace-lwp-base
Branch point for: yamt-uio_vmspace, ktrace-lwp
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

merge yamt-readahead branch.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:33 2005 UTC (17 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.2.2.1: +35 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.2.2.1, Tue Nov 29 15:45:28 2005 UTC (17 years, 6 months ago) by yamt
Branch: yamt-readahead
Changes since 1.2: +0 -34 lines
FILE REMOVED

file files.uvm was added on branch yamt-readahead on 2005-11-29 21:23:33 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 29 15:45:28 2005 UTC (17 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3
Branch point for: yamt-readahead
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

read-ahead statistics.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Nov 27 22:18:41 2005 UTC (17 years, 6 months ago) by thorpej
Branch: MAIN

Move UVM files to files.uvm

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>