The NetBSD Project

CVS log for src/sys/arch/vax/vax/pmap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.195.2.3 / (download) - annotate - [select for diffs], Sat Dec 23 13:08:50 2023 UTC (3 months, 3 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Changes since 1.195.2.2: +4 -3 lines
Diff to previous 1.195.2.2 (colored) to branchpoint 1.195 (colored) next main 1.196 (colored) to selected 1.141.2.3 (colored)

Pull up following revision(s) (requested by mrg in ticket #516):

	sys/arch/vax/vax/pmap.c: revision 1.199

fix locking botch: use mutex_spin_exit(), not _exit(), for PMAP_UNLOCK.
fixes LOCKDEBUG issue in first attempt to unlock it.

also call PMAP_UNLOCK in one non-fatal out of memory case.

Revision 1.195.2.2 / (download) - annotate - [select for diffs], Sat Dec 23 13:06:43 2023 UTC (3 months, 3 weeks ago) by martin
Branch: netbsd-10
Changes since 1.195.2.1: +5 -2 lines
Diff to previous 1.195.2.1 (colored) to branchpoint 1.195 (colored) to selected 1.141.2.3 (colored)

Pull up following revision(s) (requested by thorpej in ticket #515):

	sys/arch/vax/vax/pmap.c: revision 1.200

rmspace(): when a PT page is put back onto the free list, invalidate
it's VA in the TB.

rmptep(): Add a comment that the no TIBS is needed for newly-freed PT
pages here because all of the callers perform a TBIA.

Revision 1.201 / (download) - annotate - [select for diffs], Fri Dec 22 19:14:57 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.200: +3 -2 lines
Diff to previous 1.200 (colored) to selected 1.141.2.3 (colored)

pmap_is_modified(): If we fall into the slow path and encounter a modified
page during PV list walk, set PG_M in the pvh_attrs to avoid falling into
the slow path again.

Revision 1.200 / (download) - annotate - [select for diffs], Fri Dec 22 17:55:49 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.199: +5 -2 lines
Diff to previous 1.199 (colored) to selected 1.141.2.3 (colored)

rmspace(): when a PT page is put back onto the free list, invalidate
it's VA in the TB.

rmptep(): Add a comment that the no TIBS is needed for newly-freed PT
pages here because all of the callers perform a TBIA.

Revision 1.199 / (download) - annotate - [select for diffs], Thu Dec 21 09:09:43 2023 UTC (3 months, 4 weeks ago) by mrg
Branch: MAIN
Changes since 1.198: +4 -3 lines
Diff to previous 1.198 (colored) to selected 1.141.2.3 (colored)

fix locking botch: use mutex_spin_exit(), not _exit(), for PMAP_UNLOCK.

fixes LOCKDEBUG issue in first attempt to unlock it.

also call PMAP_UNLOCK in one non-fatal out of memory case.

XXX: pullup-10

Revision 1.198 / (download) - annotate - [select for diffs], Tue Oct 17 10:22:07 2023 UTC (6 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.197: +37 -36 lines
Diff to previous 1.197 (colored) to selected 1.141.2.3 (colored)

vax/pmap.c: Sort includes.  Nix traliing whitespace.

No functional change intended.

Revision 1.197 / (download) - annotate - [select for diffs], Mon Oct 16 17:04:38 2023 UTC (6 months ago) by martin
Branch: MAIN
Changes since 1.196: +3 -2 lines
Diff to previous 1.196 (colored) to selected 1.141.2.3 (colored)

This now needs <sys/syncobj.h> to compile.

Revision 1.185.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 19:12:09 2023 UTC (9 months, 4 weeks ago) by martin
Branch: netbsd-8
Changes since 1.185: +11 -2 lines
Diff to previous 1.185 (colored) next main 1.186 (colored) to selected 1.141.2.3 (colored)

Pull up following revision(s) (requested by abs in ticket #1829):

	sys/arch/vax/vax/pmap.c: revision 1.196
	sys/arch/vax/include/trap.h: revision 1.25

Change CASMAGIC to 0xFEDABABE so that it cannot accidentally end up in
valid kernel memory.  Due to the VARM accesses above S0 should always
give a ptelen trap.

Bug found by Kalvis Duckmanton.


Ensure that the kernel do not try to allocate a S0 segment larger than 1G,
since the hardware prohibits that.

Revision 1.186.6.1 / (download) - annotate - [select for diffs], Wed Jun 21 19:10:28 2023 UTC (9 months, 4 weeks ago) by martin
Branch: netbsd-9
Changes since 1.186: +11 -2 lines
Diff to previous 1.186 (colored) next main 1.187 (colored) to selected 1.141.2.3 (colored)

Pull up following revision(s) (requested by abs in ticket #1648):

	sys/arch/vax/vax/pmap.c: revision 1.196
	sys/arch/vax/include/trap.h: revision 1.25

Change CASMAGIC to 0xFEDABABE so that it cannot accidentally end up in
valid kernel memory.  Due to the VARM accesses above S0 should always
give a ptelen trap.

Bug found by Kalvis Duckmanton.


Ensure that the kernel do not try to allocate a S0 segment larger than 1G,
since the hardware prohibits that.

Revision 1.195.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 19:09:07 2023 UTC (9 months, 4 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC1
Changes since 1.195: +11 -2 lines
Diff to previous 1.195 (colored) to selected 1.141.2.3 (colored)

Pull up following revision(s) (requested by abs in ticket #201):

	sys/arch/vax/vax/pmap.c: revision 1.196
	sys/arch/vax/include/trap.h: revision 1.25

Change CASMAGIC to 0xFEDABABE so that it cannot accidentally end up in
valid kernel memory.  Due to the VARM accesses above S0 should always
give a ptelen trap.

Bug found by Kalvis Duckmanton.


Ensure that the kernel do not try to allocate a S0 segment larger than 1G,
since the hardware prohibits that.

Revision 1.196 / (download) - annotate - [select for diffs], Sun Mar 26 12:21:09 2023 UTC (12 months, 3 weeks ago) by ragge
Branch: MAIN
Changes since 1.195: +11 -2 lines
Diff to previous 1.195 (colored) to selected 1.141.2.3 (colored)

Ensure that the kernel do not try to allocate a S0 segment larger than 1G,
since the hardware prohibits that.

Revision 1.195 / (download) - annotate - [select for diffs], Sun Dec 11 18:02:40 2022 UTC (16 months, 1 week ago) by oster
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.194: +4 -4 lines
Diff to previous 1.194 (colored) to selected 1.141.2.3 (colored)


Support save/restore of AST levels in the PCB for context switching.

Code written by ragge@ , tested by oster@.

Revision 1.194 / (download) - annotate - [select for diffs], Fri Feb 11 17:26:55 2022 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.193: +3 -4 lines
Diff to previous 1.193 (colored) to selected 1.141.2.3 (colored)

vax: Remove a vestige from before the device_t/softc split.

Verified MicroVAX 4000/96 still boots.

cpu0 at mainbus0: KA49, NVAX, 10KB L1 cache, 256KB L2 cache

Revision 1.193 / (download) - annotate - [select for diffs], Tue Oct 12 08:36:28 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.192: +5 -5 lines
Diff to previous 1.192 (colored) to selected 1.141.2.3 (colored)

fix various typos, mainly in comments.

Revision 1.192 / (download) - annotate - [select for diffs], Mon Aug 2 12:56:23 2021 UTC (2 years, 8 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2
Changes since 1.191: +3 -3 lines
Diff to previous 1.191 (colored) to selected 1.141.2.3 (colored)

fix various typos in comments and log messages.

Revision 1.191 / (download) - annotate - [select for diffs], Sat May 23 23:42:41 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.190: +4 -4 lines
Diff to previous 1.190 (colored) to selected 1.141.2.3 (colored)

Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.186.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:10 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.186.2.1: +0 -2 lines
Diff to previous 1.186.2.1 (colored) to branchpoint 1.186 (colored) next main 1.187 (colored) to selected 1.141.2.3 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.186.2.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:56 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.186: +72 -105 lines
Diff to previous 1.186 (colored) to selected 1.141.2.3 (colored)

Merge changes from current as of 20200406

Revision 1.190 / (download) - annotate - [select for diffs], Sat Mar 21 18:47:54 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.189: +72 -105 lines
Diff to previous 1.189 (colored) to selected 1.141.2.3 (colored)

PR port-vax/55094: vax pmap needs locking adjustments

Make the adjustments noted in the PR and don't call uvm_wait() or do
WAITOK ever - UVM takes care of that.

Revision 1.187.2.2 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:32 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.187.2.1: +3 -3 lines
Diff to previous 1.187.2.1 (colored) to branchpoint 1.187 (colored) next main 1.188 (colored) to selected 1.141.2.3 (colored)

Sync with head.

Revision 1.189 / (download) - annotate - [select for diffs], Sat Feb 15 18:12:14 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.188: +3 -3 lines
Diff to previous 1.188 (colored) to selected 1.141.2.3 (colored)

- Move the LW_RUNNING flag back into l_pflag: updating l_flag without lock
  in softint_dispatch() is risky.  May help with the "softint screwup"
  panic.

- Correct the memory barriers around zombies switching into oblivion.

Revision 1.187.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:27 2020 UTC (4 years, 3 months ago) by ad
Branch: ad-namecache
Changes since 1.187: +3 -3 lines
Diff to previous 1.187 (colored) to selected 1.141.2.3 (colored)

Sync with head.

Revision 1.188 / (download) - annotate - [select for diffs], Wed Jan 8 17:38:42 2020 UTC (4 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.187: +3 -3 lines
Diff to previous 1.187 (colored) to selected 1.141.2.3 (colored)

Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:

- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
  calling cpu_switchto().  It's not safe to let other actors mess with the
  LWP (in particular l->l_cpu) while it's still context switching.  This
  removes l->l_ctxswtch.

- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since
  it's now covered by the LWP's lock.

- Ditch lwp_exit_switchaway() and just call mi_switch() instead.  Everything
  is in cache anyway so it wasn't buying much by trying to avoid saving old
  state.  This means cpu_switchto() will never be called with prevlwp ==
  NULL.

- Remove some KERNEL_LOCK handling which hasn't been needed for years.

Revision 1.187 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:33 2019 UTC (4 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.186: +2 -4 lines
Diff to previous 1.186 (colored) to selected 1.141.2.3 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.185.8.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:14 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.185: +22 -12 lines
Diff to previous 1.185 (colored) next main 1.186 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.186 / (download) - annotate - [select for diffs], Fri Mar 30 08:34:35 2018 UTC (6 years ago) by ragge
Branch: MAIN
CVS Tags: phil-wifi-base, 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, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, 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, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, netbsd-9
Changes since 1.185: +22 -12 lines
Diff to previous 1.185 (colored) to selected 1.141.2.3 (colored)

Allow allocation of PTE space to fail in pmap_enter if PMAP_CANFAIL is set.
This fixes the panic part of PR port-vax/28379.

Revision 1.182.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:48 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.182: +8 -11 lines
Diff to previous 1.182 (colored) next main 1.183 (colored) to selected 1.141.2.3 (colored)

update from HEAD

Revision 1.182.24.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:55 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.182.24.1: +2 -7 lines
Diff to previous 1.182.24.1 (colored) to branchpoint 1.182 (colored) next main 1.183 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD

Revision 1.185 / (download) - annotate - [select for diffs], Mon May 22 16:53:05 2017 UTC (6 years, 10 months ago) by ragge
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.184: +2 -7 lines
Diff to previous 1.184 (colored) to selected 1.141.2.3 (colored)

Update copyright notice for Ludd (remove clause 3 & 4).

Revision 1.182.24.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:22 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.182: +8 -6 lines
Diff to previous 1.182 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD

Revision 1.182.28.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:27 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.182: +8 -6 lines
Diff to previous 1.182 (colored) next main 1.183 (colored) to selected 1.141.2.3 (colored)

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

Revision 1.184 / (download) - annotate - [select for diffs], Fri Dec 23 07:15:28 2016 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.183: +7 -5 lines
Diff to previous 1.183 (colored) to selected 1.141.2.3 (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.183 / (download) - annotate - [select for diffs], Thu Dec 22 14:48:00 2016 UTC (7 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.182: +3 -3 lines
Diff to previous 1.182 (colored) to selected 1.141.2.3 (colored)

switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.180.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:01 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.180: +7 -5 lines
Diff to previous 1.180 (colored) next main 1.181 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.180.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:29 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.180: +7 -5 lines
Diff to previous 1.180 (colored) next main 1.181 (colored) to selected 1.141.2.3 (colored)

merge to -current.

Revision 1.182 / (download) - annotate - [select for diffs], Thu Feb 2 18:59:44 2012 UTC (12 years, 2 months ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, 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, localcount-20160914, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Changes since 1.181: +9 -2 lines
Diff to previous 1.181 (colored) to selected 1.141.2.3 (colored)

- bringing kmeminit_nkmempages back and revert pmaps that called this early
- use nkmempages to scale the kmem_arena
- reducing diff to pre kmem/vmem change
   (NKMEMPAGES_MAX_DEFAULT will need adjusting on some archs)

Revision 1.181 / (download) - annotate - [select for diffs], Thu Feb 2 14:30:13 2012 UTC (12 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.180: +6 -11 lines
Diff to previous 1.180 (colored) to selected 1.141.2.3 (colored)

Fix the initial sizing of the system page table / address space.

Revision 1.179.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:59 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.179: +81 -115 lines
Diff to previous 1.179 (colored) next main 1.180 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.175.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:21 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.175.4.2: +79 -113 lines
Diff to previous 1.175.4.2 (colored) to branchpoint 1.175 (colored) next main 1.176 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.180 / (download) - annotate - [select for diffs], Tue May 24 23:30:30 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.179: +81 -115 lines
Diff to previous 1.179 (colored) to selected 1.141.2.3 (colored)

Remove pmap's simple_lock; switch to atomic ops
Change pvtable simple_lock to mutex
Switch to kmem (goodbye malloc).

Revision 1.175.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:19 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.175.4.1: +11 -18 lines
Diff to previous 1.175.4.1 (colored) to branchpoint 1.175 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.179 / (download) - annotate - [select for diffs], Tue Dec 14 23:44:49 2010 UTC (13 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.178: +7 -14 lines
Diff to previous 1.178 (colored) to selected 1.141.2.3 (colored)

Cleanups includes.  Change <machine/XXX.h> to <sys/XXX.h>
Remove unneeded includes.

Revision 1.178 / (download) - annotate - [select for diffs], Wed Nov 10 09:27:24 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6
Changes since 1.177: +3 -3 lines
Diff to previous 1.177 (colored) to selected 1.141.2.3 (colored)

Use more VM_PHYSMEM_*() accessors.  No functional changes.

Revision 1.177 / (download) - annotate - [select for diffs], Sat Nov 6 11:46:03 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base5
Changes since 1.176: +3 -3 lines
Diff to previous 1.176 (colored) to selected 1.141.2.3 (colored)

Machine dependent code is considered as part of UVM.  Include
internal API header.

Revision 1.175.2.4 / (download) - annotate - [select for diffs], Sat Oct 30 08:41:12 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.175.2.3: +7 -0 lines
Diff to previous 1.175.2.3 (colored) to branchpoint 1.175 (colored) next main 1.176 (colored) to selected 1.141.2.3 (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.175.2.3 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:26 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.175.2.2: +1 -1 lines
Diff to previous 1.175.2.2 (colored) to branchpoint 1.175 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.160.2.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:52 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.160.2.2: +3 -3 lines
Diff to previous 1.160.2.2 (colored) to branchpoint 1.160 (colored) next main 1.161 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.175.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:28 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.175: +3 -3 lines
Diff to previous 1.175 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.176 / (download) - annotate - [select for diffs], Thu Jul 1 19:50:12 2010 UTC (13 years, 9 months ago) by ragge
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.175: +3 -3 lines
Diff to previous 1.175 (colored) to selected 1.141.2.3 (colored)

A big bunch of bugfixes from Johnny Billquist. Highlights:
- Makes the VAX8600 work as expected (500kg of hardware :-)
- Fix a hard-tracked bug causing VAXen to hang at splhigh.

Revision 1.175.2.2 / (download) - annotate - [select for diffs], Thu May 27 14:47:30 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.175.2.1: +1 -1 lines
Diff to previous 1.175.2.1 (colored) to branchpoint 1.175 (colored) to selected 1.141.2.3 (colored)

Fix build.

Revision 1.175.2.1 / (download) - annotate - [select for diffs], Wed Apr 28 08:31:07 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.175: +5 -5 lines
Diff to previous 1.175 (colored) to selected 1.141.2.3 (colored)

Always use struct vm_physseg *vm_physmem_ptrs[] in MD code.

Revision 1.160.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:06 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.160.2.1: +29 -56 lines
Diff to previous 1.160.2.1 (colored) to branchpoint 1.160 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.175 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:14 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.174: +4 -5 lines
Diff to previous 1.174 (colored) to selected 1.141.2.3 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.174 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:23 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.173: +4 -6 lines
Diff to previous 1.173 (colored) to selected 1.141.2.3 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.173 / (download) - annotate - [select for diffs], Sat Nov 21 04:45:39 2009 UTC (14 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.172: +4 -4 lines
Diff to previous 1.172 (colored) to selected 1.141.2.3 (colored)

- Use lwp_getpcb() on VAX, clean from struct user usage.
- Include sys/user.h in MD proc.h .

Revision 1.172 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:48 2009 UTC (14 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.171: +3 -3 lines
Diff to previous 1.171 (colored) to selected 1.141.2.3 (colored)

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

Revision 1.171 / (download) - annotate - [select for diffs], Mon Oct 26 19:16:58 2009 UTC (14 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.170: +4 -4 lines
Diff to previous 1.170 (colored) to selected 1.141.2.3 (colored)

kill extra whitespaces
reviewed by tsutsui@

Revision 1.170 / (download) - annotate - [select for diffs], Sun Oct 25 09:25:10 2009 UTC (14 years, 5 months ago) by he
Branch: MAIN
Changes since 1.169: +3 -3 lines
Diff to previous 1.169 (colored) to selected 1.141.2.3 (colored)

Correct the previous by adding an obviously overlooked
"struct pmap *pm" argument declaration to pmap_vax_swappable().

Revision 1.169 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:04 2009 UTC (14 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.168: +22 -46 lines
Diff to previous 1.168 (colored) to selected 1.141.2.3 (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.164.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:41 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.164: +15 -14 lines
Diff to previous 1.164 (colored) next main 1.165 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

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

Revision 1.160.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:05 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.160: +21 -19 lines
Diff to previous 1.160 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.160.10.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:54 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.160.10.2: +14 -14 lines
Diff to previous 1.160.10.2 (colored) to branchpoint 1.160 (colored) next main 1.161 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.168 / (download) - annotate - [select for diffs], Tue Apr 21 21:30:00 2009 UTC (15 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.167: +3 -3 lines
Diff to previous 1.167 (colored) to selected 1.141.2.3 (colored)

change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@

Revision 1.167 / (download) - annotate - [select for diffs], Wed Mar 18 17:06:48 2009 UTC (15 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.166: +4 -4 lines
Diff to previous 1.166 (colored) to selected 1.141.2.3 (colored)

bcopy -> memcpy

Revision 1.166 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:16 2009 UTC (15 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.165: +11 -11 lines
Diff to previous 1.165 (colored) to selected 1.141.2.3 (colored)

bzero -> memset

Revision 1.160.10.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:36 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.160.10.1: +3 -2 lines
Diff to previous 1.160.10.1 (colored) to branchpoint 1.160 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.165 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:03 2009 UTC (15 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.164: +3 -2 lines
Diff to previous 1.164 (colored) to selected 1.141.2.3 (colored)

Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h"
in all kernel sources that use the MODULAR option.
Proposed in tech-kern on 18 Jan 2009.

Revision 1.160.10.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:02 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.160: +8 -7 lines
Diff to previous 1.160 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.155.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:36 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.155.6.2: +6 -5 lines
Diff to previous 1.155.6.2 (colored) to branchpoint 1.155 (colored) next main 1.156 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.164 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:32 2008 UTC (15 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.163: +4 -4 lines
Diff to previous 1.163 (colored) to selected 1.141.2.3 (colored)

kill MALLOC and FREE macros.

Revision 1.160.8.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:34 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.160: +6 -5 lines
Diff to previous 1.160 (colored) next main 1.161 (colored) to selected 1.141.2.3 (colored)

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

Revision 1.163 / (download) - annotate - [select for diffs], Wed Dec 10 11:10:20 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.162: +3 -3 lines
Diff to previous 1.162 (colored) to selected 1.141.2.3 (colored)

Make kernel_pmap_ptr a const.  Requested by steve_martin.

Revision 1.162 / (download) - annotate - [select for diffs], Tue Dec 9 20:45:46 2008 UTC (15 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.161: +4 -3 lines
Diff to previous 1.161 (colored) to selected 1.141.2.3 (colored)

Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module.  pmap_kernel()
remains as the syntactic sugar.

Bonus cosmetics round: move all the pmap_t pointer typedefs into
uvm_pmap.h.

Thanks to Greg Oster for providing cpu muscle for doing test builds.

Revision 1.161 / (download) - annotate - [select for diffs], Wed Nov 12 12:36:09 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp2-base, ad-audiomp2
Changes since 1.160: +4 -4 lines
Diff to previous 1.160 (colored) to selected 1.141.2.3 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.155.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:48 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.155.6.1: +2 -2 lines
Diff to previous 1.155.6.1 (colored) to branchpoint 1.155 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.159.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:00 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.159: +4 -4 lines
Diff to previous 1.159 (colored) next main 1.160 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.160 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:27 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, haad-dm
Changes since 1.159: +4 -4 lines
Diff to previous 1.159 (colored) to selected 1.141.2.3 (colored)

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.155.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:29 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.155: +104 -100 lines
Diff to previous 1.155 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.155.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:07 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.155: +104 -100 lines
Diff to previous 1.155 (colored) next main 1.156 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.150.10.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:27 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.150.10.1: +106 -100 lines
Diff to previous 1.150.10.1 (colored) to branchpoint 1.150 (colored) next main 1.151 (colored) to selected 1.141.2.3 (colored)

sync with HEAD

Revision 1.134.16.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:33 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134.16.7: +22 -30 lines
Diff to previous 1.134.16.7 (colored) to branchpoint 1.134 (colored) next main 1.135 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.159 / (download) - annotate - [select for diffs], Sat Mar 15 18:42:06 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.158: +3 -2 lines
Diff to previous 1.158 (colored) to selected 1.141.2.3 (colored)

After a process in swapped in, refresh the pcb's paddr.

Revision 1.158 / (download) - annotate - [select for diffs], Tue Mar 11 05:34:03 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.157: +21 -30 lines
Diff to previous 1.157 (colored) to selected 1.141.2.3 (colored)

Rototill the vax code.  Switch to devicet/PRIV_ALLOC.  Cleanup vax autoconf
code.  Move to prototype definitions.  staticfy, constify, avoid casting.
Use device_* accessors.

Revision 1.134.16.7 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:26 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134.16.6: +85 -71 lines
Diff to previous 1.134.16.6 (colored) to branchpoint 1.134 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.157 / (download) - annotate - [select for diffs], Sat Feb 23 05:48:14 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.156: +18 -16 lines
Diff to previous 1.156 (colored) to selected 1.141.2.3 (colored)

A number of performance changes:
Change internal register SSP to contain curlwp insread curcpu().  This
shrinks the GENERIC by 2KB.
Add rwlock stubs (rw_enter, rw_exit, rw_tryenter).
Simplify simple lock code for uniprocessors.
Do SPL raise/lower in cpu_handle_ipi instead of simple_locks.

Revision 1.156 / (download) - annotate - [select for diffs], Fri Feb 22 08:46:48 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.155: +68 -58 lines
Diff to previous 1.155 (colored) to selected 1.141.2.3 (colored)

Fix a bug in the pmap pcb tracking code.  While here, rewrite it to simplier.
Use a field in the pcb itself (since it's basically free) and keep track of
what pmap "owns" a pcb (for consistency checking).  use M_ZERO as appropriate.

Revision 1.155 / (download) - annotate - [select for diffs], Wed Feb 20 16:37:52 2008 UTC (16 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.154: +3 -2 lines
Diff to previous 1.154 (colored) to selected 1.141.2.3 (colored)

Make NetBSD/vax work again.  Add support for __HAVE_FAST_SOFTINTS.
Add a few small optimizations.

Revision 1.154 / (download) - annotate - [select for diffs], Tue Feb 19 22:18:03 2008 UTC (16 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.153: +3 -2 lines
Diff to previous 1.153 (colored) to selected 1.141.2.3 (colored)

ci_curlwp must be set to &lwp0 very early in the boot.  Now we get further
into the kernel before dying.

Revision 1.152.2.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:16 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.152: +3 -3 lines
Diff to previous 1.152 (colored) next main 1.153 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.134.16.6 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:46 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134.16.5: +3 -3 lines
Diff to previous 1.134.16.5 (colored) to branchpoint 1.134 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.153 / (download) - annotate - [select for diffs], Sun Feb 3 08:37:41 2008 UTC (16 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.152: +3 -3 lines
Diff to previous 1.152 (colored) to selected 1.141.2.3 (colored)

misc type cleanups

Revision 1.147.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:39:51 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.147.2.2: +3 -3 lines
Diff to previous 1.147.2.2 (colored) next main 1.148 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.150.14.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:10 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored) next main 1.151 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD

Revision 1.150.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:14 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored) to selected 1.141.2.3 (colored)

sync with HEAD

Revision 1.150.8.1 / (download) - annotate - [select for diffs], Sun Oct 28 20:10:57 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.150: +3 -3 lines
Diff to previous 1.150 (colored) next main 1.151 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.134.16.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:51 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134.16.4: +3 -3 lines
Diff to previous 1.134.16.4 (colored) to branchpoint 1.134 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.152 / (download) - annotate - [select for diffs], Thu Oct 25 13:03:05 2007 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: 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, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.151: +3 -3 lines
Diff to previous 1.151 (colored) to selected 1.141.2.3 (colored)

defparam PAGER_MAP_SIZE.

Revision 1.151 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:59 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.150: +2 -2 lines
Diff to previous 1.150 (colored) to selected 1.141.2.3 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.134.16.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:59 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134.16.3: +27 -24 lines
Diff to previous 1.134.16.3 (colored) to branchpoint 1.134 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.148.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:02:59 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.148: +19 -18 lines
Diff to previous 1.148 (colored) next main 1.149 (colored) to selected 1.141.2.3 (colored)

Sync with head.

Revision 1.147.2.2 / (download) - annotate - [select for diffs], Sun May 27 14:26:57 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.147.2.1: +19 -18 lines
Diff to previous 1.147.2.1 (colored) to selected 1.141.2.3 (colored)

Sync with head.

Revision 1.149.4.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:41 2007 UTC (16 years, 11 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.149: +5 -6 lines
Diff to previous 1.149 (colored) next main 1.150 (colored) to selected 1.141.2.3 (colored)

Update to HEAD.

Revision 1.150 / (download) - annotate - [select for diffs], Thu May 17 14:51:34 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.149: +5 -6 lines
Diff to previous 1.149 (colored) to selected 1.141.2.3 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.141.2.5 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:10 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.141.2.4: +16 -14 lines
Diff to previous 1.141.2.4 (colored) next main 1.142 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.139.2.1 / (download) - annotate - [select for diffs], Thu Apr 12 19:46:12 2007 UTC (17 years ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.139: +16 -14 lines
Diff to previous 1.139 (colored) next main 1.140 (colored) to selected 1.141.2.3 (colored)

Pull up following revision(s) (requested by mhitch in ticket #569):
	sys/arch/vax/vax/pmap.c: revision 1.149
Workaround a gcc 4.1 issue.  don't use s.m = s2.m = s3.m = ...
assign them individually.

Revision 1.149 / (download) - annotate - [select for diffs], Wed Apr 11 02:22:36 2007 UTC (17 years ago) by matt
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Branch point for: ppcoea-renovation
Changes since 1.148: +16 -14 lines
Diff to previous 1.148 (colored) to selected 1.141.2.3 (colored)

Workaround a gcc 4.1 issue.  don't use s.m = s2.m = s3.m = ...
assign them individually.

Revision 1.141.2.4 / (download) - annotate - [select for diffs], Sat Apr 7 17:24:34 2007 UTC (17 years ago) by matt
Branch: yamt-idlelwp
Changes since 1.141.2.3: +5 -6 lines
Diff to previous 1.141.2.3 (colored)

Remove ci_exit, remove idlepcb and exitstack.

Revision 1.147.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:10 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.147: +5 -3 lines
Diff to previous 1.147 (colored) to selected 1.141.2.3 (colored)

Sync with head.

Revision 1.141.2.3 / (download) - annotate - [selected], Mon Mar 12 05:51:19 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.141.2.2: +11 -9 lines
Diff to previous 1.141.2.2 (colored)

Sync with HEAD.

Revision 1.148 / (download) - annotate - [select for diffs], Mon Mar 12 02:22:43 2007 UTC (17 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.147: +5 -3 lines
Diff to previous 1.147 (colored) to selected 1.141.2.3 (colored)

Shrink VAX kmutex from 12 bytes to 8.  Fix various LOCKDEBUG/DIAGNOSTIC
problems.

Revision 1.147 / (download) - annotate - [select for diffs], Fri Mar 9 14:11:22 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
Branch point for: vmlocking
Changes since 1.146: +4 -4 lines
Diff to previous 1.146 (colored) to selected 1.141.2.3 (colored)

- Make the proclist_lock a mutex. The write:read ratio is unfavourable,
  and mutexes are cheaper use than RW locks.
- LOCK_ASSERT -> KASSERT in some places.
- Hold proclist_lock/kernel_lock longer in a couple of places.

Revision 1.146 / (download) - annotate - [select for diffs], Sun Mar 4 19:21:55 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.145: +3 -3 lines
Diff to previous 1.145 (colored) to selected 1.141.2.3 (colored)

Fix caddr_t fallout.

Revision 1.145 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:02 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.144: +6 -6 lines
Diff to previous 1.144 (colored) to selected 1.141.2.3 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.141.2.2 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:22 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.141.2.1: +1852 -0 lines
Diff to previous 1.141.2.1 (colored) to selected 1.141.2.3 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.134.16.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:42 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134.16.2: +34 -28 lines
Diff to previous 1.134.16.2 (colored) to branchpoint 1.134 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.144 / (download) - annotate - [select for diffs], Thu Feb 22 06:51:30 2007 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.143: +12 -12 lines
Diff to previous 1.143 (colored) to selected 1.141.2.3 (colored)

TRUE -> true, FALSE -> false

Revision 1.143 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:55 2007 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.142: +7 -7 lines
Diff to previous 1.142 (colored) to selected 1.141.2.3 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.142 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:40 2007 UTC (17 years, 2 months ago) by pavel
Branch: MAIN
Changes since 1.141: +3 -3 lines
Diff to previous 1.141 (colored) to selected 1.141.2.3 (colored)

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.

Revision 1.141.2.1, Sat Feb 17 05:34:07 2007 UTC (17 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.141: +0 -1852 lines
FILE REMOVED

file pmap.c was added on branch yamt-idlelwp on 2007-02-27 16:53:22 +0000

Revision 1.141 / (download) - annotate - [select for diffs], Sat Feb 17 05:34:07 2007 UTC (17 years, 2 months ago) by matt
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.140: +3 -2 lines
Diff to previous 1.140 (colored) to selected 1.141.2.3 (colored)

Add an implementation for krwlock_t.  Initialize ci_mtx_count to 1 (biased).
Fix a few buglets in the kmutex_t implementation.

Revision 1.140 / (download) - annotate - [select for diffs], Fri Feb 16 01:34:04 2007 UTC (17 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.139: +19 -14 lines
Diff to previous 1.139 (colored) to selected 1.141.2.3 (colored)

Partially adapt the VAX port to the newlock2 changes.  These are untested
but they do at least compile.

Revision 1.134.16.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:14 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134.16.1: +9 -5 lines
Diff to previous 1.134.16.1 (colored) to branchpoint 1.134 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.138.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:37 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.138: +8 -4 lines
Diff to previous 1.138 (colored) next main 1.139 (colored) to selected 1.141.2.3 (colored)

Sync with head.

Revision 1.138.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:16 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.138: +8 -4 lines
Diff to previous 1.138 (colored) next main 1.139 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.139 / (download) - annotate - [select for diffs], Mon Oct 2 02:59:38 2006 UTC (17 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.138: +8 -4 lines
Diff to previous 1.138 (colored) to selected 1.141.2.3 (colored)

remove details of the kernel malloc() implementation from header files:
 - change MALLOC() and FREE() to just call their function equivalents.
 - remove references to other malloc()-related constants.

Revision 1.135.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:23 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.135: +4 -4 lines
Diff to previous 1.135 (colored) next main 1.136 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.135.8.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:12 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.135.8.2: +3 -3 lines
Diff to previous 1.135.8.2 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored) to selected 1.141.2.3 (colored)

sync with head

Revision 1.137.6.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:05 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored) next main 1.138 (colored) to selected 1.141.2.3 (colored)

Merge from HEAD.

Revision 1.138 / (download) - annotate - [select for diffs], Sat Jul 8 00:27:30 2006 UTC (17 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.137: +3 -3 lines
Diff to previous 1.137 (colored) to selected 1.141.2.3 (colored)

Don't bcopy to 0 because gcc4 doesn't like.  Instead use a structure copy
to 0 to do the equivalent thing.  XXX this is evil.

Revision 1.134.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:57:34 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.134: +3 -3 lines
Diff to previous 1.134 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.135.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:08 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored) next main 1.136 (colored) to selected 1.141.2.3 (colored)

Sync with head.

Revision 1.135.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:57 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored) next main 1.136 (colored) to selected 1.141.2.3 (colored)

sync with head - hopefully this will work

Revision 1.135.8.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:33 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.135.8.1: +3 -3 lines
Diff to previous 1.135.8.1 (colored) to branchpoint 1.135 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.137 / (download) - annotate - [select for diffs], Wed Mar 15 22:39:28 2006 UTC (18 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: gdamore-uart
Changes since 1.136: +3 -3 lines
Diff to previous 1.136 (colored) to selected 1.141.2.3 (colored)

Fix typo in lhs cast removal.

Revision 1.135.8.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:03 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored) to selected 1.141.2.3 (colored)

sync with head.

Revision 1.136 / (download) - annotate - [select for diffs], Sun Mar 12 17:14:41 2006 UTC (18 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored) to selected 1.141.2.3 (colored)

Fix various places where assignment happen to casted lvalues.
(t)v = foo; is not legal C.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:36 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored) to selected 1.141.2.3 (colored)

merge ktrace-lwp.

Revision 1.127.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:23:58 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.127.2.2: +2 -2 lines
Diff to previous 1.127.2.2 (colored) next main 1.128 (colored) to selected 1.141.2.3 (colored)

Fix the sync with head I botched.

Revision 1.127.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:13 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.127.2.1: +0 -0 lines
Diff to previous 1.127.2.1 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.127.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:42:36 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.127: +21 -17 lines
Diff to previous 1.127 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD

Revision 1.134 / (download) - annotate - [select for diffs], Fri Mar 19 20:17:51 2004 UTC (20 years, 1 month ago) by matt
Branch: 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.133: +3 -2 lines
Diff to previous 1.133 (colored) to selected 1.141.2.3 (colored)

Add CPU_INFO_INTERATOR/FOREACH support.

Revision 1.133 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:20 2004 UTC (20 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.132: +5 -5 lines
Diff to previous 1.132 (colored) to selected 1.141.2.3 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.132 / (download) - annotate - [select for diffs], Tue Dec 30 12:33:19 2003 UTC (20 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.131: +7 -11 lines
Diff to previous 1.131 (colored) to selected 1.141.2.3 (colored)

Replace the traditional buffer memory management -- based on fixed per buffer
virtual memory reservation and a private pool of memory pages -- by a scheme
based on memory pools.

This allows better utilization of memory because buffers can now be allocated
with a granularity finer than the system's native page size (useful for
filesystems with e.g. 1k or 2k fragment sizes).  It also avoids fragmentation
of virtual to physical memory mappings (due to the former fixed virtual
address reservation) resulting in better utilization of MMU resources on some
platforms.  Finally, the scheme is more flexible by allowing run-time decisions
on the amount of memory to be used for buffers.

On the other hand, the effectiveness of the LRU queue for buffer recycling
may be somewhat reduced compared to the traditional method since, due to the
nature of the pool based memory allocation, the actual least recently used
buffer may release its memory to a pool different from the one needed by a
newly allocated buffer. However, this effect will kick in only if the
system is under memory pressure.

Revision 1.131 / (download) - annotate - [select for diffs], Sun Dec 14 19:39:24 2003 UTC (20 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.130: +2 -6 lines
Diff to previous 1.130 (colored) to selected 1.141.2.3 (colored)

TOPDOWN_VM is now mandatory on vax.

Revision 1.130 / (download) - annotate - [select for diffs], Thu Nov 6 00:32:27 2003 UTC (20 years, 5 months ago) by he
Branch: MAIN
Changes since 1.129: +4 -2 lines
Diff to previous 1.129 (colored) to selected 1.141.2.3 (colored)

Add a default: branch with a panic() to the switch statement to
handle "impossible" segment types, so that the compiler can know
that 'pt' has been initialized after the switch statement.

Revision 1.129 / (download) - annotate - [select for diffs], Sun Oct 19 14:58:22 2003 UTC (20 years, 6 months ago) by ragge
Branch: MAIN
Changes since 1.128: +8 -2 lines
Diff to previous 1.128 (colored) to selected 1.141.2.3 (colored)

Avoid the pvtable when devices are mapped. Fixes panics when unmapping
framebuffers.  Set aside space in kernel map for framebuffer on VS4k.

Revision 1.128 / (download) - annotate - [select for diffs], Tue Jul 15 02:15:05 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.127: +4 -1 lines
Diff to previous 1.127 (colored) to selected 1.141.2.3 (colored)

__KERNEL_RCSID()

Revision 1.127 / (download) - annotate - [select for diffs], Sat May 10 21:10:43 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.126: +16 -5 lines
Diff to previous 1.126 (colored) to selected 1.141.2.3 (colored)

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.126 / (download) - annotate - [select for diffs], Thu May 8 18:13:27 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.125: +6 -17 lines
Diff to previous 1.125 (colored) to selected 1.141.2.3 (colored)

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.125 / (download) - annotate - [select for diffs], Tue Apr 1 15:22:53 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.124: +6 -6 lines
Diff to previous 1.124 (colored) to selected 1.141.2.3 (colored)

Use PAGE_SIZE rather than NBPG.
XXX Except in one place, which will require more work.

Revision 1.124 / (download) - annotate - [select for diffs], Sun Mar 2 22:19:04 2003 UTC (21 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.123: +193 -153 lines
Diff to previous 1.123 (colored) to selected 1.141.2.3 (colored)

Change the pmap to use 512-byte pages as user page table pages instead of
PAGE_SIZE pages (4k). An average small program uses ~6 4k pages (24k),
while the same program only uses ~20 512 byte pages (10k), so it will be
a small memory usage improvement. The large improvement will be the upcoming
ability to share page table pages between processes for shared libraries.

Remaining: should be able to give back ptp pages to the system.

Revision 1.123 / (download) - annotate - [select for diffs], Wed Feb 26 21:54:35 2003 UTC (21 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.122: +7 -3 lines
Diff to previous 1.122 (colored) to selected 1.141.2.3 (colored)

Enable USE_TOPDOWN_VM. This also makes it possible to use large address
spaces, so bump MAXDSIZ to 1GB.

Revision 1.122 / (download) - annotate - [select for diffs], Sun Feb 2 01:50:04 2003 UTC (21 years, 2 months ago) by erh
Branch: MAIN
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored) to selected 1.141.2.3 (colored)

D'oh!  Remove unused local variable too.

Revision 1.121 / (download) - annotate - [select for diffs], Sat Feb 1 21:05:08 2003 UTC (21 years, 2 months ago) by erh
Branch: MAIN
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored) to selected 1.141.2.3 (colored)

Remove references to nswbuf.  It is entirely unused.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Jan 31 05:24:31 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.119: +2 -3 lines
Diff to previous 1.119 (colored) to selected 1.141.2.3 (colored)

Use M_VMPMAP instead of M_HTABLE.

Revision 1.119 / (download) - annotate - [select for diffs], Sat Jan 18 07:10:35 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.118: +43 -41 lines
Diff to previous 1.118 (colored) to selected 1.141.2.3 (colored)

Merge the nathanw_sa branch.

Revision 1.108.4.11 / (download) - annotate - [select for diffs], Mon Dec 30 18:34:58 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.108.4.10: +2 -2 lines
Diff to previous 1.108.4.10 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored) to selected 1.141.2.3 (colored)

Make this compile again.

Revision 1.108.4.10 / (download) - annotate - [select for diffs], Wed Dec 11 06:12:43 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.108.4.9: +8 -7 lines
Diff to previous 1.108.4.9 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Dec 1 21:20:32 2002 UTC (21 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.117: +6 -4 lines
Diff to previous 1.117 (colored) to selected 1.141.2.3 (colored)

Fix inconsistencies in various definitions of avail_*, virtual_*, and
proc0paddr.

Revision 1.108.4.9 / (download) - annotate - [select for diffs], Sat Oct 5 07:28:48 2002 UTC (21 years, 6 months ago) by gmcgarry
Branch: nathanw_sa
Changes since 1.108.4.8: +28 -27 lines
Diff to previous 1.108.4.8 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

LWPify pmap_rmproc().  The comment says it is based on uvm_swapout_threads().
Brought the same LWP changes across from there.

Revision 1.104.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:42:24 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.104.2.5: +4 -4 lines
Diff to previous 1.104.2.5 (colored) next main 1.105 (colored) to selected 1.141.2.3 (colored)

sync kqueue branch with HEAD

Revision 1.113.2.2 / (download) - annotate - [select for diffs], Sat Aug 31 14:52:49 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.113.2.1: +4 -4 lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored) to selected 1.141.2.3 (colored)

catch up with -current.

Revision 1.108.4.8 / (download) - annotate - [select for diffs], Tue Aug 27 23:46:04 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.4.7: +3 -3 lines
Diff to previous 1.108.4.7 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Catch up to -current.

Revision 1.117 / (download) - annotate - [select for diffs], Sun Aug 25 20:21:44 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.116: +3 -3 lines
Diff to previous 1.116 (colored) to selected 1.141.2.3 (colored)

Make nbuf, nswbuf, and bufpages unsigned.  Make all operations on these
variables unsigned, and update places where their values are printed.

Revision 1.108.4.7 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:01 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.4.6: +2 -2 lines
Diff to previous 1.108.4.6 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Catch up to -current.

Revision 1.113.4.3 / (download) - annotate - [select for diffs], Mon Jul 29 14:28:09 2002 UTC (21 years, 8 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.113.4.2: +1 -1 lines
Diff to previous 1.113.4.2 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored) to selected 1.141.2.3 (colored)

Pull up revision 1.116 (requested by ragge in ticket #542):
Increase the interrupt stack, to avoid problems reported on port-vax by
Olaf Seibert. (IPSec takes much stack space).

Revision 1.116 / (download) - annotate - [select for diffs], Thu Jul 25 10:44:25 2002 UTC (21 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.115: +2 -2 lines
Diff to previous 1.115 (colored) to selected 1.141.2.3 (colored)

Increase the interrupt stack, to avoid problems reported on port-vax by
Olaf Seibert. (IPSec takes much stack space).

Revision 1.113.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 01:41:03 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.113: +14 -2 lines
Diff to previous 1.113 (colored) to selected 1.141.2.3 (colored)

catch up with -current.

Revision 1.108.4.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:08:56 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.4.5: +14 -12 lines
Diff to previous 1.108.4.5 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.104.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:43:08 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.104.2.4: +149 -308 lines
Diff to previous 1.104.2.4 (colored) to selected 1.141.2.3 (colored)

catch up with -current on kqueue branch

Revision 1.108.4.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:42:22 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.4.4: +14 -2 lines
Diff to previous 1.108.4.4 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Catch up to -current.

Revision 1.113.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 17:09:11 2002 UTC (21 years, 10 months ago) by tv
Branch: netbsd-1-6
Changes since 1.113.4.1: +2 -2 lines
Diff to previous 1.113.4.1 (colored) to branchpoint 1.113 (colored) to selected 1.141.2.3 (colored)

Pull up revision 1.115 (requested by ragge in ticket #229):
Must multiply the pte count with its size when copying ptes when the P1
region is expanded. Fixes bug reported by Matt Thomas on port-vax.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Jun 9 21:57:08 2002 UTC (21 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored) to selected 1.141.2.3 (colored)

Must multiply the pte count with its size when copying ptes when the P1
region is expanded. Fixes bug reported by Matt Thomas on port-vax.

Revision 1.113.4.1 / (download) - annotate - [select for diffs], Fri Jun 7 19:30:09 2002 UTC (21 years, 10 months ago) by thorpej
Branch: netbsd-1-6
Changes since 1.113: +13 -1 lines
Diff to previous 1.113 (colored) to selected 1.141.2.3 (colored)

pullup-1-6 ticket #192:

syssrc/sys/arch/vax/vax/pmap.c 1.114

Original log message:

Pipes and swap disks takes a not insignificant amount of KVA, so therefore
it must be used in KVA calculation.

Revision 1.114 / (download) - annotate - [select for diffs], Thu Jun 6 12:28:44 2002 UTC (21 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.113: +13 -1 lines
Diff to previous 1.113 (colored) to selected 1.141.2.3 (colored)

Pipes and swap disks takes a not insignificant amount of KVA, so therefore
it must be used in KVA calculation.

Revision 1.108.4.4 / (download) - annotate - [select for diffs], Wed Apr 17 00:04:42 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.4.3: +9 -8 lines
Diff to previous 1.108.4.3 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Catch up to -current.

Revision 1.113 / (download) - annotate - [select for diffs], Thu Apr 4 16:40:15 2002 UTC (22 years ago) by ragge
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.112: +3 -4 lines
Diff to previous 1.112 (colored) to selected 1.141.2.3 (colored)

Fix crash problems reported by mrg and bouyer in separate mails.

Revision 1.112 / (download) - annotate - [select for diffs], Tue Apr 2 09:47:34 2002 UTC (22 years ago) by ragge
Branch: MAIN
Changes since 1.111: +7 -5 lines
Diff to previous 1.111 (colored) to selected 1.141.2.3 (colored)

Check that each region is inuse before freeing their related extent.
This fixes (hopefully) PR#16164.

Revision 1.108.4.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:43:32 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.108.4.2: +682 -433 lines
Diff to previous 1.108.4.2 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.108.4.2 / (download) - annotate - [select for diffs], Fri Mar 29 23:22:44 2002 UTC (22 years ago) by ragge
Branch: nathanw_sa
Changes since 1.108.4.1: +1529 -0 lines
Diff to previous 1.108.4.1 (colored) to branchpoint 1.108 (colored) to selected 1.141.2.3 (colored)

Initial nathanw_sa kernel support for vax.

Revision 1.111 / (download) - annotate - [select for diffs], Thu Mar 21 22:08:08 2002 UTC (22 years, 1 month ago) by ragge
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.110: +132 -304 lines
Diff to previous 1.110 (colored) to selected 1.141.2.3 (colored)

Inline functions that mostly do not need to be called.  Partly
rearrange/change the code to be able to avoid some inefficient functions.
Profiling shows that the time spent in pmap now is decreased by 20%. (!)

Revision 1.104.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:17 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.104.2.3: +677 -256 lines
Diff to previous 1.104.2.3 (colored) to selected 1.141.2.3 (colored)

Catch up with -current.

Revision 1.110 / (download) - annotate - [select for diffs], Sun Mar 10 22:32:31 2002 UTC (22 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.109: +666 -250 lines
Diff to previous 1.109 (colored) to selected 1.141.2.3 (colored)

Major update of the vax pmap:
	- Reinstall the "dynamic page table length" that was removed some
	  years ago.
	- Limit the user page table submap to max 5% of available memory.
	- Free the page table space when a process is swapped out.
	- If the UPT submap runs out of space, throw away pmap mappings
	  using the same algorithm as for swapping processes.

As a result of this, 4MB machines are useable again and it's even possible
to compile a kernel for 2MB machines (but it will be slow... :-)

Still to do:
	- Multiprocessor fixes.
	- More profiling.

Revision 1.109 / (download) - annotate - [select for diffs], Fri Mar 1 23:55:10 2002 UTC (22 years, 1 month ago) by ragge
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.108: +17 -12 lines
Diff to previous 1.108 (colored) to selected 1.141.2.3 (colored)

usrptsize was not correct calculated, fixed.
Add space to system page table for the UVM kernel area.
This fixes the KVM usage problem that Manuel Bouyer reported a while ago.

Revision 1.104.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:50:07 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.104.2.2: +39 -15 lines
Diff to previous 1.104.2.2 (colored) to selected 1.141.2.3 (colored)

Sync kqueue branch with -current.

Revision 1.82.2.4 / (download) - annotate - [select for diffs], Mon Nov 12 22:01:50 2001 UTC (22 years, 5 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.82.2.3: +6 -5 lines
Diff to previous 1.82.2.3 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.141.2.3 (colored)

Apply patch (requested by ragge):
  Handle remapping of pages entered by pmap_kenter_pa() properly.
  Fixes PR#12231.

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:43:02 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.105: +40 -16 lines
Diff to previous 1.105 (colored) next main 1.106 (colored) to selected 1.141.2.3 (colored)

Catch up with -current.

Revision 1.108.4.1, Sun Sep 30 17:12:08 2001 UTC (22 years, 6 months ago) by ragge
Branch: nathanw_sa
Changes since 1.108: +0 -1529 lines
FILE REMOVED

file pmap.c was added on branch nathanw_sa on 2002-03-29 23:22:44 +0000

Revision 1.108 / (download) - annotate - [select for diffs], Sun Sep 30 17:12:08 2001 UTC (22 years, 6 months ago) by ragge
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.107: +5 -4 lines
Diff to previous 1.107 (colored) to selected 1.141.2.3 (colored)

Check if page to be remapped in pmap_enter() is entered by pmap_kenter_pa(),
to decide whether to remove the previous mapping from pv_table or not.
Should fix PR#12231.

Revision 1.107 / (download) - annotate - [select for diffs], Mon Sep 24 01:48:16 2001 UTC (22 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.106: +36 -13 lines
Diff to previous 1.106 (colored) to selected 1.141.2.3 (colored)

implement pmap_wired_count().

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:08 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.104.2.1: +2 -2 lines
Diff to previous 1.104.2.1 (colored) to selected 1.141.2.3 (colored)

Update the kqueue branch to HEAD.

Revision 1.106 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:30 2001 UTC (22 years, 7 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.141.2.3 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:03 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored) to selected 1.141.2.3 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.105 / (download) - annotate - [select for diffs], Sun Aug 5 06:14:22 2001 UTC (22 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored) to selected 1.141.2.3 (colored)

Don't substract KERNBASE, xor it to clear.   The former causes GNU ld to
bitch about a signed overflow and this code is only done once, incurring
an extra instruction isn't going to matter much in the long run.

Revision 1.104 / (download) - annotate - [select for diffs], Sat Jun 30 12:54:34 2001 UTC (22 years, 9 months ago) by ragge
Branch: MAIN
Branch point for: kqueue
Changes since 1.103: +59 -21 lines
Diff to previous 1.103 (colored) to selected 1.141.2.3 (colored)

Do more intelligent calculation of KVM size. This reduces the amount of
pre-allocated physical memory significantly.
A 11/750, for example, get 2MB more free (of 14MB), about 12%.

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:39:05 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.93.2.1: +170 -130 lines
Diff to previous 1.93.2.1 (colored) next main 1.94 (colored) to selected 1.141.2.3 (colored)

Catch up to -current.

Revision 1.103 / (download) - annotate - [select for diffs], Thu Jun 7 05:29:13 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.102: +24 -6 lines
Diff to previous 1.102 (colored) to selected 1.141.2.3 (colored)

implement pmap_clear_modify() correctly.

Revision 1.102 / (download) - annotate - [select for diffs], Wed Jun 6 06:23:13 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.101: +4 -3 lines
Diff to previous 1.101 (colored) to selected 1.141.2.3 (colored)

make this compile without DEBUG.

Revision 1.101 / (download) - annotate - [select for diffs], Mon Jun 4 15:36:00 2001 UTC (22 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.100: +130 -67 lines
Diff to previous 1.100 (colored) to selected 1.141.2.3 (colored)

The beginning of pmap locks. While here, some cleaning and KNF.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:15 2001 UTC (23 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored) to selected 1.141.2.3 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Apr 23 23:58:09 2001 UTC (23 years ago) by thorpej
Branch: MAIN
Changes since 1.98: +1 -18 lines
Diff to previous 1.98 (colored) to selected 1.141.2.3 (colored)

Garbage-collect pmap_bootstrap_alloc(); nothing uses it.

Revision 1.71.2.7 / (download) - annotate - [select for diffs], Mon Apr 23 09:42:14 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.71.2.6: +12 -38 lines
Diff to previous 1.71.2.6 (colored) next main 1.72 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Apr 22 23:42:18 2001 UTC (23 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.97: +1 -34 lines
Diff to previous 1.97 (colored) to selected 1.141.2.3 (colored)

Remove pmap_kenter_pgs().  It was never really adopted by
anything, and the interface itself wasn't as flexible as
callers would have probably liked.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Apr 22 17:22:58 2001 UTC (23 years ago) by thorpej
Branch: MAIN
Changes since 1.96: +12 -5 lines
Diff to previous 1.96 (colored) to selected 1.141.2.3 (colored)

Make pmap_virtual_space() a required pmap function, even on platforms
which have pmap_steal_memory().  This is to reduce the API differences
between pmaps that implement pmap_steal_memory() and pmaps which do
not.

Note that pmap_steal_memory() needs to adjust *vstartp and/or
*vendp only if it used addresses within the range provided to UVM
via the pmap_virtual_space() call.  I.e. it is not necessary to do
so in any current pmap_steal_memory() implementation.

Revision 1.71.2.6 / (download) - annotate - [select for diffs], Sat Apr 21 17:55:01 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.71.2.5: +16 -12 lines
Diff to previous 1.71.2.5 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD

Revision 1.96 / (download) - annotate - [select for diffs], Thu Apr 12 06:07:42 2001 UTC (23 years ago) by thorpej
Branch: MAIN
Changes since 1.95: +7 -7 lines
Diff to previous 1.95 (colored) to selected 1.141.2.3 (colored)

splimp -> splvm

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:55:21 2001 UTC (23 years ago) by nathanw
Changes since 1.93: +15 -11 lines
Diff to previous 1.93 (colored) to selected 1.141.2.3 (colored)

Catch up with -current.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Apr 1 19:18:42 2001 UTC (23 years ago) by ragge
Branch: MAIN
Changes since 1.94: +10 -6 lines
Diff to previous 1.94 (colored) to selected 1.141.2.3 (colored)

Be sure that all kernel stack pages are valid after swapin. Fixes PR#12520.

Revision 1.71.2.5 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:43 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.71.2.4: +6 -6 lines
Diff to previous 1.71.2.4 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.94 / (download) - annotate - [select for diffs], Thu Mar 15 06:10:52 2001 UTC (23 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.93: +6 -6 lines
Diff to previous 1.93 (colored) to selected 1.141.2.3 (colored)

eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>

Revision 1.71.2.4 / (download) - annotate - [select for diffs], Mon Mar 12 13:29:46 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.71.2.3: +6 -2 lines
Diff to previous 1.71.2.3 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Feb 11 19:25:55 2001 UTC (23 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.92: +6 -2 lines
Diff to previous 1.92 (colored) to selected 1.141.2.3 (colored)

Check page reference in pmap_clear_reference(). Fixes vax hang problem
with ubc, tested by Chuck Silvers.

Revision 1.71.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:17 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.71.2.2: +52 -6 lines
Diff to previous 1.71.2.2 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD

Revision 1.92 / (download) - annotate - [select for diffs], Sun Dec 31 11:16:55 2000 UTC (23 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.91: +53 -7 lines
Diff to previous 1.91 (colored) to selected 1.141.2.3 (colored)

Do not touch pv_table when mapping/unmapping I/O registers. This caused
mmap() of framebuffers to give unpredictable faults.

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:02:15 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.71.2.1: +28 -32 lines
Diff to previous 1.71.2.1 (colored) to selected 1.141.2.3 (colored)

Sync with HEAD.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Nov 21 06:14:40 2000 UTC (23 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.90: +9 -6 lines
Diff to previous 1.90 (colored) to selected 1.141.2.3 (colored)

two changes to pmap_enter():
 - allow entry of the same mapping that's already there.
   this can happen with UBC.
 - if PMAP_CANFAIL, return failure rather than sleeping
   when we fail to allocate a ptp.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Nov 21 05:49:08 2000 UTC (23 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.89: +16 -26 lines
Diff to previous 1.89 (colored) to selected 1.141.2.3 (colored)

eliminate TRUNC_PAGE() and ROUND_PAGE() in favor of their
lowercase counterparts.  also, a little misc cleanup.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:33:27 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.71: +94 -41 lines
Diff to previous 1.71 (colored) to selected 1.141.2.3 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.82.2.3 / (download) - annotate - [select for diffs], Wed Nov 1 22:29:14 2000 UTC (23 years, 5 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2
Changes since 1.82.2.2: +7 -5 lines
Diff to previous 1.82.2.2 (colored) to branchpoint 1.82 (colored) to selected 1.141.2.3 (colored)

Pullup 1.89 by patch [ragge]:
If a process is locked into memory with mlockall() (like ntpd is)
pmap_enter() will get called trying to wire an already wired page again
if sysctl() is called. To avoid a panic the "wired" check is moved after
the double-mapping check.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Oct 31 20:15:09 2000 UTC (23 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.88: +10 -7 lines
Diff to previous 1.88 (colored) to selected 1.141.2.3 (colored)

If a process is locked into memory with mlockall() (like ntpd is)
pmap_enter() will get called trying to wire an already wired page again
if sysctl() is called. To avoid a panic the "wired" check is moved after
the double-mapping check.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Aug 27 17:14:44 2000 UTC (23 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.87: +3 -1 lines
Diff to previous 1.87 (colored) to selected 1.141.2.3 (colored)

Make the pmap: enter on myself panic conditional under DIAGNOSTIC

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Sun Aug 27 15:25:03 2000 UTC (23 years, 7 months ago) by ragge
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-BETA
Changes since 1.82.2.1: +4 -3 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) to selected 1.141.2.3 (colored)

Pull up revision 1.87 (requested by ragge):

Wiring of a page were done at the wrong place, so pages in kernel space
never got the wired bit set. This caused panics if a swapped out process
was swapped in again and the kernel stack had not yet been unmapped.
While here, add a forgotten lock initializer.

Revision 1.87 / (download) - annotate - [select for diffs], Sun Aug 27 14:14:50 2000 UTC (23 years, 7 months ago) by ragge
Branch: MAIN
Changes since 1.86: +4 -3 lines
Diff to previous 1.86 (colored) to selected 1.141.2.3 (colored)

Wiring of a page were done at the wrong place, so pages in kernel space
never got the wired bit set. This caused panics if a swapped out process
was swapped in again and the kernel stack had not yet been unmapped.
While here, add a forgotten lock initializer.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Sun Aug 13 08:46:32 2000 UTC (23 years, 8 months ago) by ragge
Branch: netbsd-1-5
Changes since 1.82: +38 -16 lines
Diff to previous 1.82 (colored) to selected 1.141.2.3 (colored)

Pull up revisions (requested by ragge):
pmap.c 1.85-1.86
pmap.h 1.40

Remove some unneccessary TBIA's. Keep track of wired pages.
Fix PR#8503 (refcount error).

Revision 1.86 / (download) - annotate - [select for diffs], Tue Aug 8 19:06:52 2000 UTC (23 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.85: +35 -13 lines
Diff to previous 1.85 (colored) to selected 1.141.2.3 (colored)

Remove some unneccessary TBIA's. Keep track of wired pages.
Fix PR#8503 (refcount error).

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jul 19 21:08:06 2000 UTC (23 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.84: +5 -5 lines
Diff to previous 1.84 (colored) to selected 1.141.2.3 (colored)

Do mtpr(0, PR_TBIA), not mtpr(1, PR_TBIA). This has worked on all CPUs
except for KA88.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Jun 29 07:14:33 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.141.2.3 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:06 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.82: +1 -3 lines
Diff to previous 1.82 (colored) to selected 1.141.2.3 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:05:27 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.79: +27 -5 lines
Diff to previous 1.79 (colored) next main 1.80 (colored) to selected 1.141.2.3 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Jun 11 07:50:11 2000 UTC (23 years, 10 months ago) by ragge
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.81: +4 -2 lines
Diff to previous 1.81 (colored) to selected 1.141.2.3 (colored)

Allow printf's from slave CPUs by stealing the v_putc function.
Easier than expected because the printout lock is hold in the higher levels.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jun 10 14:59:38 2000 UTC (23 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.80: +5 -2 lines
Diff to previous 1.80 (colored) to selected 1.141.2.3 (colored)

Code to spin up other CPUs on a VAX 8200 system.
Haven't solved the printf() problem yet, though.

Revision 1.80 / (download) - annotate - [select for diffs], Mon May 29 20:00:55 2000 UTC (23 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.79: +22 -5 lines
Diff to previous 1.79 (colored) to selected 1.141.2.3 (colored)

Use the cpu_info struct to store cpu-specific data in the same way in
both uniprocessor and multiprocessor environments. Use the otherwise
unused internal CPU register SSP to store the cpu_info pointer.
The macros curcpu(), curproc, cpu_number() and need_resched() are now the
same in both uniprocessor and multiprocessor environments.

Revision 1.79 / (download) - annotate - [select for diffs], Sat May 20 13:38:58 2000 UTC (23 years, 11 months ago) by ragge
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.78: +5 -2 lines
Diff to previous 1.78 (colored) to selected 1.141.2.3 (colored)

Changes to use the RPB for different tasks. Much simpler now to find the
boot device.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Apr 16 09:42:22 2000 UTC (24 years ago) by ragge
Branch: MAIN
Changes since 1.77: +5 -5 lines
Diff to previous 1.77 (colored) to selected 1.141.2.3 (colored)

Be a little bit more generous with TBIA.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Apr 2 20:39:18 2000 UTC (24 years ago) by thorpej
Branch: MAIN
Changes since 1.76: +6 -5 lines
Diff to previous 1.76 (colored) to selected 1.141.2.3 (colored)

Instead of checking vm_physmem[<physseg>].pgs to determine if
uvm_page_init() has completed, add a boolean uvm.page_init_done,
and test against that.  Use this same boolean (rather than
pmap_initialized) in pmap_growkernel() to determine if we are
being called via uvm_page_init() to grow the kernel address space.

This fixes a problem on some i386 configurations where pmap_init()
itself was needing to have the kernel page table grown, and since
pmap_initialized was not yet set to TRUE, pmap_growkernel() was
choosing the wrong code path.

Fix tested by Havard Eidnes.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Mar 26 20:42:38 2000 UTC (24 years ago) by kleink
Branch: MAIN
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored) to selected 1.141.2.3 (colored)

Merge parts of chs-ubc2 into the trunk:
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
  make them type-generic, which is necessary i.e. to operate on file offsets
  without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
  integral type (paddr_t, vaddr_t).

Originally done by Chuck Silvers, updated by myself.

Revision 1.61.2.3 / (download) - annotate - [select for diffs], Wed Mar 1 12:46:37 2000 UTC (24 years, 1 month ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.61.2.2: +5 -5 lines
Diff to previous 1.61.2.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.141.2.3 (colored)

Apply patch (requested by toddpw):
  Fix bugs in support for VaxStation 2000 and 3100, vax pmap, and
  the NCR scsi driver.

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Mon Jan 31 19:22:56 2000 UTC (24 years, 2 months ago) by he
Branch: netbsd-1-4
Changes since 1.61.2.1: +10 -4 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) to selected 1.141.2.3 (colored)

Apply patch (requested by ragge):
  Fix a problem when the system goes out of free pages.

Revision 1.71.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:13 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.71: +17 -13 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.141.2.3 (colored)

Pull up to last week's -current.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Dec 11 17:51:35 1999 UTC (24 years, 4 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Changes since 1.74: +2 -1 lines
Diff to previous 1.74 (colored) to selected 1.141.2.3 (colored)

CL* discarding.
Move physmem setting to pmap_bootstrap().
Fix security problem in process_write_regs(), found by Klaus Klein.

Revision 1.61.6.1 / (download) - annotate - [select for diffs], Tue Nov 30 13:33:04 1999 UTC (24 years, 4 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.61: +232 -161 lines
Diff to previous 1.61 (colored) next main 1.62 (colored) to selected 1.141.2.3 (colored)

bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:39:52 1999 UTC (24 years, 5 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.71: +16 -13 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.141.2.3 (colored)

Sync with -current

Revision 1.74 / (download) - annotate - [select for diffs], Sat Nov 13 21:32:25 1999 UTC (24 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.73: +3 -1 lines
Diff to previous 1.73 (colored) to selected 1.141.2.3 (colored)

adapt to jason new pmap_enter change

Revision 1.73 / (download) - annotate - [select for diffs], Sat Nov 13 00:32:20 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.72: +13 -12 lines
Diff to previous 1.72 (colored) to selected 1.141.2.3 (colored)

Update for pmap_enter() API change.  No functional difference.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Oct 27 16:37:54 1999 UTC (24 years, 5 months ago) by ragge
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.141.2.3 (colored)

Avoid calling cninit() too early.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Sep 12 01:17:29 1999 UTC (24 years, 7 months ago) by chs
Branch: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.70: +1 -3 lines
Diff to previous 1.70 (colored) to selected 1.141.2.3 (colored)

eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.61.4.3 / (download) - annotate - [select for diffs], Mon Aug 2 21:47:20 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.61.4.2: +306 -159 lines
Diff to previous 1.61.4.2 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.141.2.3 (colored)

Update from trunk.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Aug 1 13:48:06 1999 UTC (24 years, 8 months ago) by ragge
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.69: +183 -133 lines
Diff to previous 1.69 (colored) to selected 1.141.2.3 (colored)

A bunch of changes:
- Free pte pages not in use anymore.
- Inline pmap_extract().
- Fix annoying page reference/modify bug. Fixes PR#7858 & PR#7859.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Mon Jul 12 19:24:42 1999 UTC (24 years, 9 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH001
Changes since 1.61: +232 -161 lines
Diff to previous 1.61 (colored) to selected 1.141.2.3 (colored)

pullup via patch (ragge): fix critical paging/swapping problems

Revision 1.69 / (download) - annotate - [select for diffs], Sat Jul 10 22:04:59 1999 UTC (24 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.68: +150 -58 lines
Diff to previous 1.68 (colored) to selected 1.141.2.3 (colored)

Rewrite the page table entry routines. Don't take a pte invalid fault for
missing pte's, instead map in pte entries in pmap_enter(). The user ptes
is no more handled by the VM system. All this made swapping start working
on VAX again.
Still to do:
- Keep refcount per pte page, so that those pages get free'd when the
  process is swapped out. Right now they are only free'd when the pmap
  is destroyed.

Many thanks to Chuck Silvers for all help finding the deadlock problems.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Jul 8 18:11:02 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +12 -7 lines
Diff to previous 1.67 (colored) to selected 1.141.2.3 (colored)

Change the pmap_extract() interface to:
	boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.

Revision 1.61.4.2 / (download) - annotate - [select for diffs], Thu Jul 1 23:27:19 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.61.4.1: +48 -23 lines
Diff to previous 1.61.4.1 (colored) to branchpoint 1.61 (colored) to selected 1.141.2.3 (colored)

Sync w/ -current.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Jun 30 19:31:33 1999 UTC (24 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.66: +48 -23 lines
Diff to previous 1.66 (colored) to selected 1.141.2.3 (colored)

Use pmap_steal_memory() for early memory allocation.

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:03:46 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.61: +103 -96 lines
Diff to previous 1.61 (colored) to selected 1.141.2.3 (colored)

Sync w/ -current.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jun 6 19:09:50 1999 UTC (24 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.65: +12 -7 lines
Diff to previous 1.65 (colored) to selected 1.141.2.3 (colored)

Page tables must be pageable (where did this disappear?)
Fix a PGOFSET -> VAX_PGOFSET miss.
Stylistic cleanup.

Revision 1.65 / (download) - annotate - [select for diffs], Wed May 26 19:16:35 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) to selected 1.141.2.3 (colored)

Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.

Revision 1.64 / (download) - annotate - [select for diffs], Sun May 23 23:03:44 1999 UTC (24 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.63: +40 -35 lines
Diff to previous 1.63 (colored) to selected 1.141.2.3 (colored)

Rewrite the "emulate page reference bits" code to avoid a bunch of
pv_lists traversal and unneccessary page faults.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Apr 17 17:02:50 1999 UTC (25 years ago) by ragge
Branch: MAIN
Changes since 1.62: +3 -14 lines
Diff to previous 1.62 (colored) to selected 1.141.2.3 (colored)

Only allocate QDSS memory if there is a QDSS as console.
QDSS should also work on KA650 now. (untested)

Revision 1.62 / (download) - annotate - [select for diffs], Sat Apr 17 00:01:19 1999 UTC (25 years ago) by ragge
Branch: MAIN
Changes since 1.61: +53 -45 lines
Diff to previous 1.61 (colored) to selected 1.141.2.3 (colored)

Use "access_type" in pmap_enter() more intelligent.
Allocate device register space bigger than the logical page size
from the kernel map, thus decreasing the pre-allocated page table memory.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:38 1999 UTC (25 years ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, kame_14_19990705, kame_14_19990628
Branch point for: netbsd-1-4, kame, chs-ubc2
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored) to selected 1.141.2.3 (colored)

Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:17 1999 UTC (25 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.59: +1 -37 lines
Diff to previous 1.59 (colored) to selected 1.141.2.3 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Feb 2 18:37:21 1999 UTC (25 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.58: +8 -2 lines
Diff to previous 1.58 (colored) to selected 1.141.2.3 (colored)

Another giant change: Allocate register space dynamic instead of compiled-in.
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Jan 19 22:57:47 1999 UTC (25 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.57: +5 -5 lines
Diff to previous 1.57 (colored) to selected 1.141.2.3 (colored)

Fix some void pointers.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Jan 19 21:04:49 1999 UTC (25 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.56: +37 -13 lines
Diff to previous 1.56 (colored) to selected 1.141.2.3 (colored)

Allocate (almost) all interrupt vectors dynamically. Simplifies much
work when adding support for new machines and devices.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jan 1 21:43:19 1999 UTC (25 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.55: +76 -81 lines
Diff to previous 1.55 (colored) to selected 1.141.2.3 (colored)

Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".

The CL* macros should probably go away totally, there is no reason
at all to keep them.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Dec 19 20:03:23 1998 UTC (25 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.141.2.3 (colored)

A "return 1" should be "return 0". Caused machine to crash as soon as
it started paging.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Nov 29 14:55:05 1998 UTC (25 years, 4 months ago) by ragge
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.53: +137 -79 lines
Diff to previous 1.53 (colored) to selected 1.141.2.3 (colored)

- Save R/M bits after a page is unmapped.
- Keep track of mapping count (for statistics).
- vm_offset_t -> vaddr_t/paddr_t.
- Move away counting of available memory.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Aug 21 13:46:38 1998 UTC (25 years, 8 months ago) by ragge
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.52: +93 -35 lines
Diff to previous 1.52 (colored) to selected 1.141.2.3 (colored)

VAX logical page size increased to 4k.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jul 18 20:35:14 1998 UTC (25 years, 9 months ago) by ragge
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.51: +82 -52 lines
Diff to previous 1.51 (colored) to selected 1.141.2.3 (colored)

Fix PMAP_NEW and make it the default.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jul 8 04:43:23 1998 UTC (25 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored) to selected 1.141.2.3 (colored)

Define one page free list, and put all pages on it.

Revision 1.50 / (download) - annotate - [select for diffs], Sat May 23 19:18:59 1998 UTC (25 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.49: +1 -3 lines
Diff to previous 1.49 (colored) to selected 1.141.2.3 (colored)

Remove a forgotten debug printout.

Revision 1.49 / (download) - annotate - [select for diffs], Tue May 19 19:00:19 1998 UTC (25 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored) to selected 1.141.2.3 (colored)

It is no longer necessary for pmap_pinit() and pmap_release() to be
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).

Revision 1.48 / (download) - annotate - [select for diffs], Sun May 3 13:02:23 1998 UTC (25 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.47: +188 -34 lines
Diff to previous 1.47 (colored) to selected 1.141.2.3 (colored)

Remove the ancient kernel-stack area at top of P1 region. Make PMAP_NEW
almost work. Also Wall cleaning.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Mar 21 10:02:41 1998 UTC (26 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.46: +21 -1 lines
Diff to previous 1.46 (colored) to selected 1.141.2.3 (colored)

Add support for QDSS graphic console. Code originated from 4.4BSD,
ported to NetBSD by Boris Gjenero <bgjenero@undergrad.math.uwaterloo.ca>

Revision 1.46 / (download) - annotate - [select for diffs], Mon Mar 2 17:00:01 1998 UTC (26 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.45: +72 -23 lines
Diff to previous 1.45 (colored) to selected 1.141.2.3 (colored)

Support for UVM on VAXen.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 31 12:17:34 1998 UTC (26 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.44: +41 -1 lines
Diff to previous 1.44 (colored) to selected 1.141.2.3 (colored)

Re-implement page reference bit emulation by using the (otherwise unused)
valid bit. This is faster than the "unmap all" solution that were described
in that Mach paper _and_ it eliminates the need for checking the wired bit.
As a result of this; swapping started working again on vax :-)

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jan 27 17:35:03 1998 UTC (26 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.43: +13 -4 lines
Diff to previous 1.43 (colored) to selected 1.141.2.3 (colored)

Fix to make vfork work on machines with separated PCB/mtpr PTE registers.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 18 22:07:52 1998 UTC (26 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.42: +6 -1 lines
Diff to previous 1.42 (colored) to selected 1.141.2.3 (colored)

Fix page size initialisation.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Jan 3 00:34:02 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +84 -25 lines
Diff to previous 1.41 (colored) to selected 1.141.2.3 (colored)

- Adjust so that access to the PCB is not required in most pmap functions.
  Store the page {0,1} base and length registers in the pmap structure,
  and implement pmap_activate(), which stores them in the PCB (for the
  hardware's use).
- Re-implement pmap_pinit(); allocate the PTEs here, not in cpu_fork().

Revision 1.41 / (download) - annotate - [select for diffs], Tue Nov 4 22:59:20 1997 UTC (26 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.141.2.3 (colored)

Move some interrupt routines out to assembler.
Optimize (slightly) pmap_clear_modify.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Nov 2 14:25:23 1997 UTC (26 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.39: +264 -624 lines
Diff to previous 1.39 (colored) to selected 1.141.2.3 (colored)

Major rewriting, optimization and simplifying of the pmap code:

- Map in all physical memory first in system space. This reduces
  pmap_copy_page() and pmap_zero_page to 3 resp. 2 instructions.
- Have fized position user page tables. Makes the pv_table smaller
  and all reverse references faster (and simpler).
- Remove the wiring code. Nobody doesn't even know what a DR32 is anymore.
- Simulate page reference bit by setting page invalid, as suggested by
  Rich Draves in a paper for 1991 Mach Usenix Symposium.

This reduced the time spent in the pmap module to between 70-75% of
the previous; and made process startup _much_ faster.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Oct 19 14:32:42 1997 UTC (26 years, 6 months ago) by ragge
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.38: +13 -5 lines
Diff to previous 1.38 (colored) to selected 1.141.2.3 (colored)

Add a sometimes needed round_page().
Always flush TLB when messing around with system mapping.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Sep 22 06:32:58 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.141.2.3 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Sep 19 13:55:51 1997 UTC (26 years, 7 months ago) by leo
Branch: MAIN
CVS Tags: marc-pcmcia-base
Changes since 1.37: +4 -3 lines
Diff to previous 1.37 (colored) to selected 1.141.2.3 (colored)

Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 25 21:54:48 1997 UTC (26 years, 9 months ago) by ragge
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.36: +9 -10 lines
Diff to previous 1.36 (colored) to selected 1.141.2.3 (colored)

Fixed bug causing machines with a memory size not a multiple of 16k
to crash. This is true on many MicroVAXen.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jul 6 22:38:24 1997 UTC (26 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.35: +11 -11 lines
Diff to previous 1.35 (colored) to selected 1.141.2.3 (colored)

Remove __VM_PMAP_HACK.

Revision 1.35 / (download) - annotate - [select for diffs], Sat Mar 22 12:50:56 1997 UTC (27 years, 1 month ago) by ragge
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.34: +14 -30 lines
Diff to previous 1.34 (colored) to selected 1.141.2.3 (colored)

Clean up DZ console routines. Use memory size from boot (if provided).

Revision 1.34 / (download) - annotate - [select for diffs], Sat Mar 15 16:36:17 1997 UTC (27 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.33: +5 -1 lines
Diff to previous 1.33 (colored) to selected 1.141.2.3 (colored)

Clean up console autoconfiguration so that the VAXstation DZ11-like
console work.

Revision 1.30.6.1 / (download) - annotate - [select for diffs], Wed Mar 12 21:20:44 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.30: +25 -14 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.141.2.3 (colored)

Merge in changes from Trunk

Revision 1.33 / (download) - annotate - [select for diffs], Wed Feb 26 18:38:21 1997 UTC (27 years, 1 month ago) by ragge
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored) to selected 1.141.2.3 (colored)

Patches to make VS2000 to work. From Ari Suutari.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 19 10:04:25 1997 UTC (27 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored) to selected 1.141.2.3 (colored)

Basic change to cpu-config code. This will make support of new
cpu types much easier.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 12 17:53:01 1997 UTC (27 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.30: +20 -13 lines
Diff to previous 1.30 (colored) to selected 1.141.2.3 (colored)

Walk a step closer to more intelligent User PTE handling.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 13 03:35:57 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.29: +26 -26 lines
Diff to previous 1.29 (colored) to selected 1.141.2.3 (colored)

backout previous kprintf change

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 11 01:51:29 1996 UTC (27 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.28: +26 -26 lines
Diff to previous 1.28 (colored) to selected 1.141.2.3 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 20 18:20:42 1996 UTC (27 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.27: +125 -62 lines
Diff to previous 1.27 (colored) to selected 1.141.2.3 (colored)

Locore changes for VS and VAX8200.

Revision 1.27 / (download) - annotate - [select for diffs], Sun May 19 16:44:20 1996 UTC (27 years, 11 months ago) by ragge
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.141.2.3 (colored)

Fixed all (proto)type errors. Fixes PR 2377.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 8 18:32:53 1996 UTC (28 years ago) by ragge
Branch: MAIN
Changes since 1.25: +22 -18 lines
Diff to previous 1.25 (colored) to selected 1.141.2.3 (colored)

Added prototypes to everything. Made all files compile with -Wall.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 17 22:49:55 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.24: +18 -19 lines
Diff to previous 1.24 (colored) to selected 1.141.2.3 (colored)

Do not have debugging enabled by default.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Mar 7 23:22:53 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.23: +3 -4 lines
Diff to previous 1.23 (colored) to selected 1.141.2.3 (colored)

Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 2 13:45:45 1996 UTC (28 years, 1 month ago) by ragge
Branch: MAIN
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored) to selected 1.141.2.3 (colored)

Support for VAX 11/780 - 11/785 system types added.
There are no support (yet) for the RX01 console floppy,
even if it is actually needed to create boot floppies.
(The arff utility is also missing, so...)

Revision 1.22 / (download) - annotate - [select for diffs], Sun Feb 11 13:41:35 1996 UTC (28 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.21: +80 -72 lines
Diff to previous 1.21 (colored) to selected 1.141.2.3 (colored)

Fix things that -O2 broke. Cleanup.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 2 23:12:34 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +14 -12 lines
Diff to previous 1.20 (colored) to selected 1.141.2.3 (colored)

Fix type errors.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 2 18:09:02 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.19: +19 -19 lines
Diff to previous 1.19 (colored) to selected 1.141.2.3 (colored)

Fix #includes.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 13 18:50:20 1995 UTC (28 years, 4 months ago) by ragge
Branch: MAIN
Changes since 1.18: +13 -15 lines
Diff to previous 1.18 (colored) to selected 1.141.2.3 (colored)

CPU dependent code moved out of cpu independent modules.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 10 18:52:54 1995 UTC (28 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.17: +212 -175 lines
Diff to previous 1.17 (colored) to selected 1.141.2.3 (colored)

Major rewriting of pmap_bootstrap; CPU dependent allocations moved
to related file.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 22 04:34:17 1995 UTC (28 years, 8 months ago) by ragge
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.16: +72 -82 lines
Diff to previous 1.16 (colored) to selected 1.141.2.3 (colored)

Fixed USRPTSIZE trouble. Cleaned up.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 21 03:27:05 1995 UTC (28 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.15: +7 -3 lines
Diff to previous 1.15 (colored) to selected 1.141.2.3 (colored)

Bug fix: Must have user readability of kernel text on Microvax
even when using DDB.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 5 08:36:37 1995 UTC (28 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.14: +6 -1 lines
Diff to previous 1.14 (colored) to selected 1.141.2.3 (colored)

DDB needs writable kernel text.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 16 15:36:47 1995 UTC (28 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored) to selected 1.141.2.3 (colored)

rudimentary DDB support.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 5 16:27:07 1995 UTC (28 years, 10 months ago) by ragge
Branch: MAIN
Changes since 1.12: +8 -4 lines
Diff to previous 1.12 (colored) to selected 1.141.2.3 (colored)

Enabled auto reboot. Fixed bug in conf.c. Started use of rpb.
Detecting kernel stack overflow. Removed local mapping of
sigtramp code. Frob kernel stack pages in cpu_swapin().
Cleaned up some code and changed to KNF.

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 6 00:08:31 1995 UTC (28 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.11: +16 -13 lines
Diff to previous 1.11 (colored) to selected 1.141.2.3 (colored)

Kernel message buffer implemented.

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 5 10:47:39 1995 UTC (28 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.10: +13 -145 lines
Diff to previous 1.10 (colored) to selected 1.141.2.3 (colored)

Removed kernel stack relocation and double-mapping.
Speeded up fork() significantly.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 10 12:42:39 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.9: +3 -4 lines
Diff to previous 1.9 (colored) to selected 1.141.2.3 (colored)

Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 10 03:54:27 1995 UTC (29 years ago) by mycroft
Branch: MAIN
Changes since 1.8: +30 -30 lines
Diff to previous 1.8 (colored) to selected 1.141.2.3 (colored)

v_cmap --> vmmap

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 30 21:25:28 1995 UTC (29 years ago) by ragge
Branch: MAIN
Changes since 1.7: +129 -24 lines
Diff to previous 1.7 (colored) to selected 1.141.2.3 (colored)

Speed-up of pmap and trap.
Fixes due to uVAX support.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 23 17:53:58 1995 UTC (29 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.6: +63 -58 lines
Diff to previous 1.6 (colored) to selected 1.141.2.3 (colored)

Support for uVAXII, new tmscp driver added.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 13 00:46:14 1995 UTC (29 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.5: +141 -154 lines
Diff to previous 1.5 (colored) to selected 1.141.2.3 (colored)

Zillions of bugfixes. Obsolete files taken away. New style config
fixed. Inline assembler commonly used.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 25 19:09:59 1994 UTC (29 years, 5 months ago) by ragge
Branch: MAIN
Changes since 1.4: +361 -250 lines
Diff to previous 1.4 (colored) to selected 1.141.2.3 (colored)

Lots of fixes and updates.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 26 08:03:22 1994 UTC (29 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored) to selected 1.141.2.3 (colored)

new RCS ID format.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 8 15:48:14 1994 UTC (29 years, 6 months ago) by ragge
Branch: MAIN
Changes since 1.2: +240 -286 lines
Diff to previous 1.2 (colored) to selected 1.141.2.3 (colored)

Lots of bug fixes; clock and mem files new.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Aug 16 23:47:36 1994 UTC (29 years, 8 months ago) by ragge
Branch: netbsd-1-0
Changes since 1.2.2.1: +882 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.141.2.3 (colored)

Lots of bug fixes. Generic console support added. Major changes in machdep.c.
pmap.c now supports user process mapping. Page faults handles correctly.

Revision 1.2.2.1, Tue Aug 16 23:47:35 1994 UTC (29 years, 8 months ago) by ragge
Branch: netbsd-1-0
Changes since 1.2: +0 -882 lines
FILE REMOVED

file pmap.c was added on branch netbsd-1-0 on 1994-08-16 23:47:36 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 16 23:47:35 1994 UTC (29 years, 8 months ago) by ragge
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Branch point for: netbsd-1-0
Changes since 1.1: +432 -353 lines
Diff to previous 1.1 (colored) to selected 1.141.2.3 (colored)

Lots of bug fixes. Generic console support added. Major changes in machdep.c.
pmap.c now supports user process mapping. Page faults handles correctly.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 2 20:22:09 1994 UTC (29 years, 8 months ago) by ragge
Branch: MAIN
Diff to selected 1.141.2.3 (colored)

Initial VAX port merging.

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>