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


Keyword substitution: kv
Default branch: MAIN


Revision 1.195.2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 23 13:08:50 2023 UTC (11 months, 1 week ago) by martin
Branches: 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
Diff to: previous 1.195.2.2: preferred, colored; branchpoint 1.195: preferred, colored; next MAIN 1.196: preferred, colored
Changes since revision 1.195.2.2: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 23 13:06:43 2023 UTC (11 months, 1 week ago) by martin
Branches: netbsd-10
Diff to: previous 1.195.2.1: preferred, colored; branchpoint 1.195: preferred, colored
Changes since revision 1.195.2.1: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 22 19:14:57 2023 UTC (11 months, 1 week ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 22 17:55:49 2023 UTC (11 months, 1 week ago) by thorpej
Branches: MAIN
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 21 09:09:43 2023 UTC (11 months, 2 weeks ago) by mrg
Branches: MAIN
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 17 10:22:07 2023 UTC (13 months, 2 weeks ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +37 -36 lines
vax/pmap.c: Sort includes.  Nix traliing whitespace.

No functional change intended.

Revision 1.197: download - view: text, markup, annotated - select for diffs
Mon Oct 16 17:04:38 2023 UTC (13 months, 2 weeks ago) by martin
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +3 -2 lines
This now needs <sys/syncobj.h> to compile.

Revision 1.185.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 19:12:09 2023 UTC (17 months, 2 weeks ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.185: preferred, colored; next MAIN 1.186: preferred, colored
Changes since revision 1.185: +11 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 19:10:28 2023 UTC (17 months, 2 weeks ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.186: preferred, colored; next MAIN 1.187: preferred, colored
Changes since revision 1.186: +11 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 19:09:07 2023 UTC (17 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RC1
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +11 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 26 12:21:09 2023 UTC (20 months, 1 week ago) by ragge
Branches: MAIN
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +11 -2 lines
Ensure that the kernel do not try to allocate a S0 segment larger than 1G,
since the hardware prohibits that.

Revision 1.195: download - view: text, markup, annotated - select for diffs
Sun Dec 11 18:02:40 2022 UTC (23 months, 3 weeks ago) by oster
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +4 -4 lines

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

Code written by ragge@ , tested by oster@.

Revision 1.194: download - view: text, markup, annotated - select for diffs
Fri Feb 11 17:26:55 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 12 08:36:28 2021 UTC (3 years, 1 month ago) by andvar
Branches: MAIN
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +5 -5 lines
fix various typos, mainly in comments.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Mon Aug 2 12:56:23 2021 UTC (3 years, 4 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-futex2-base, thorpej-futex2
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +3 -3 lines
fix various typos in comments and log messages.

Revision 1.191: download - view: text, markup, annotated - select for diffs
Sat May 23 23:42:41 2020 UTC (4 years, 6 months ago) by ad
Branches: 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
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:10 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.186.2.1: preferred, colored; branchpoint 1.186: preferred, colored; next MAIN 1.187: preferred, colored
Changes since revision 1.186.2.1: +0 -2 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.186.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:56 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +72 -105 lines
Merge changes from current as of 20200406

Revision 1.190: download - view: text, markup, annotated - select for diffs
Sat Mar 21 18:47:54 2020 UTC (4 years, 8 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +72 -105 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:32 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.187.2.1: preferred, colored; branchpoint 1.187: preferred, colored; next MAIN 1.188: preferred, colored
Changes since revision 1.187.2.1: +3 -3 lines
Sync with head.

Revision 1.189: download - view: text, markup, annotated - select for diffs
Sat Feb 15 18:12:14 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +3 -3 lines
- 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 - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:27 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +3 -3 lines
Sync with head.

Revision 1.188: download - view: text, markup, annotated - select for diffs
Wed Jan 8 17:38:42 2020 UTC (4 years, 10 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:33 2019 UTC (5 years ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +2 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:14 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.185: preferred, colored; next MAIN 1.186: preferred, colored
Changes since revision 1.185: +22 -12 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.186: download - view: text, markup, annotated - select for diffs
Fri Mar 30 08:34:35 2018 UTC (6 years, 8 months ago) by ragge
Branches: 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
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +22 -12 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:48 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.182: preferred, colored; next MAIN 1.183: preferred, colored
Changes since revision 1.182: +8 -11 lines
update from HEAD

Revision 1.182.24.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:55 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.182.24.1: preferred, colored; branchpoint 1.182: preferred, colored; next MAIN 1.183: preferred, colored
Changes since revision 1.182.24.1: +2 -7 lines
Sync with HEAD

Revision 1.185: download - view: text, markup, annotated - select for diffs
Mon May 22 16:53:05 2017 UTC (7 years, 6 months ago) by ragge
Branches: 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
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +2 -7 lines
Update copyright notice for Ludd (remove clause 3 & 4).

Revision 1.182.24.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:22 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +8 -6 lines
Sync with HEAD

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

Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri Dec 23 07:15:28 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: 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
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +7 -5 lines
"Make NetBSD great again!"

Introduce uvm_hotplug(9) to the kernel.

Many thanks, in no particular order to:

TNF, for funding the project.

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

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

Revision 1.183: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:48:00 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:01 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180: +7 -5 lines
sync with head

Revision 1.180.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:33:29 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180: +7 -5 lines
merge to -current.

Revision 1.182: download - view: text, markup, annotated - select for diffs
Thu Feb 2 18:59:44 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +9 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Feb 2 14:30:13 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +6 -11 lines
Fix the initial sizing of the system page table / address space.

Revision 1.179.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:59 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.179: preferred, colored; next MAIN 1.180: preferred, colored
Changes since revision 1.179: +81 -115 lines
Sync with HEAD.

Revision 1.175.4.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:21 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.175.4.2: preferred, colored; branchpoint 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175.4.2: +79 -113 lines
sync with head

Revision 1.180: download - view: text, markup, annotated - select for diffs
Tue May 24 23:30:30 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +81 -115 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 5 20:52:19 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.175.4.1: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.4.1: +11 -18 lines
sync with head

Revision 1.179: download - view: text, markup, annotated - select for diffs
Tue Dec 14 23:44:49 2010 UTC (13 years, 11 months ago) by matt
Branches: 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
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +7 -14 lines
Cleanups includes.  Change <machine/XXX.h> to <sys/XXX.h>
Remove unneeded includes.

Revision 1.178: download - view: text, markup, annotated - select for diffs
Wed Nov 10 09:27:24 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +3 -3 lines
Use more VM_PHYSMEM_*() accessors.  No functional changes.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Sat Nov 6 11:46:03 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base5
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -3 lines
Machine dependent code is considered as part of UVM.  Include
internal API header.

Revision 1.175.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 30 08:41:12 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.175.2.3: preferred, colored; branchpoint 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175.2.3: +7 -0 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 17 06:45:26 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.175.2.2: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.2: +1 -1 lines
Sync with HEAD.

Revision 1.160.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:52 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.160.2.2: preferred, colored; branchpoint 1.160: preferred, colored; next MAIN 1.161: preferred, colored
Changes since revision 1.160.2.2: +3 -3 lines
sync with head.

Revision 1.175.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:28 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +3 -3 lines
sync with head

Revision 1.176: download - view: text, markup, annotated - select for diffs
Thu Jul 1 19:50:12 2010 UTC (14 years, 5 months ago) by ragge
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu May 27 14:47:30 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.175.2.1: preferred, colored; branchpoint 1.175: preferred, colored
Changes since revision 1.175.2.1: +1 -1 lines
Fix build.

Revision 1.175.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 28 08:31:07 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +5 -5 lines
Always use struct vm_physseg *vm_physmem_ptrs[] in MD code.

Revision 1.160.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:06 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.160.2.1: preferred, colored; branchpoint 1.160: preferred, colored
Changes since revision 1.160.2.1: +29 -56 lines
sync with head

Revision 1.175: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:14 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +4 -5 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:23 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +4 -6 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Sat Nov 21 04:45:39 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +4 -4 lines
- Use lwp_getpcb() on VAX, clean from struct user usage.
- Include sys/user.h in MD proc.h .

Revision 1.172: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:48 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 26 19:16:58 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +4 -4 lines
kill extra whitespaces
reviewed by tsutsui@

Revision 1.170: download - view: text, markup, annotated - select for diffs
Sun Oct 25 09:25:10 2009 UTC (15 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +3 -3 lines
Correct the previous by adding an obviously overlooked
"struct pmap *pm" argument declaration to pmap_vax_swappable().

Revision 1.169: download - view: text, markup, annotated - select for diffs
Wed Oct 21 21:12:04 2009 UTC (15 years, 1 month ago) by rmind
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +22 -46 lines
Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

Revision 1.164.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:41 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.164: preferred, colored; next MAIN 1.165: preferred, colored
Changes since revision 1.164: +15 -14 lines
Sync with HEAD.

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

Revision 1.160.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:05 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +21 -19 lines
sync with head.

Revision 1.160.10.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:54 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.160.10.2: preferred, colored; branchpoint 1.160: preferred, colored; next MAIN 1.161: preferred, colored
Changes since revision 1.160.10.2: +14 -14 lines
Sync with HEAD.

Revision 1.168: download - view: text, markup, annotated - select for diffs
Tue Apr 21 21:30:00 2009 UTC (15 years, 7 months ago) by cegger
Branches: 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
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +3 -3 lines
change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@

Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Mar 18 17:06:48 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +4 -4 lines
bcopy -> memcpy

Revision 1.166: download - view: text, markup, annotated - select for diffs
Wed Mar 18 16:00:16 2009 UTC (15 years, 8 months ago) by cegger
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +11 -11 lines
bzero -> memset

Revision 1.160.10.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:29:36 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.160.10.1: preferred, colored; branchpoint 1.160: preferred, colored
Changes since revision 1.160.10.1: +3 -2 lines
Sync with HEAD.

Revision 1.165: download - view: text, markup, annotated - select for diffs
Fri Feb 13 22:41:03 2009 UTC (15 years, 9 months ago) by apb
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:02 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +8 -7 lines
Sync with HEAD.

Revision 1.155.6.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:36 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.155.6.2: preferred, colored; branchpoint 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155.6.2: +6 -5 lines
Sync with HEAD.

Revision 1.164: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:32 2008 UTC (15 years, 11 months ago) by cegger
Branches: MAIN
CVS tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +4 -4 lines
kill MALLOC and FREE macros.

Revision 1.160.8.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:34 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.160: preferred, colored; next MAIN 1.161: preferred, colored
Changes since revision 1.160: +6 -5 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.163: download - view: text, markup, annotated - select for diffs
Wed Dec 10 11:10:20 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -3 lines
Make kernel_pmap_ptr a const.  Requested by steve_martin.

Revision 1.162: download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:45:46 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 12 12:36:09 2008 UTC (16 years ago) by ad
Branches: MAIN
CVS tags: ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +4 -4 lines
Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.155.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:48 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.155.6.1: preferred, colored; branchpoint 1.155: preferred, colored
Changes since revision 1.155.6.1: +2 -2 lines
Sync with HEAD.

Revision 1.159.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:00 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.159: preferred, colored; next MAIN 1.160: preferred, colored
Changes since revision 1.159: +4 -4 lines
sync with head.

Revision 1.160: download - view: text, markup, annotated - select for diffs
Thu Apr 24 15:35:27 2008 UTC (16 years, 7 months ago) by ad
Branches: 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
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:29 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +104 -100 lines
Sync with HEAD.

Revision 1.155.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:07 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155: +104 -100 lines
sync with head.

Revision 1.150.10.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:27 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.150.10.1: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.10.1: +106 -100 lines
sync with HEAD

Revision 1.134.16.8: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:33 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134.16.7: preferred, colored; branchpoint 1.134: preferred, colored; next MAIN 1.135: preferred, colored
Changes since revision 1.134.16.7: +22 -30 lines
sync with head.

Revision 1.159: download - view: text, markup, annotated - select for diffs
Sat Mar 15 18:42:06 2008 UTC (16 years, 8 months ago) by matt
Branches: 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
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +3 -2 lines
After a process in swapped in, refresh the pcb's paddr.

Revision 1.158: download - view: text, markup, annotated - select for diffs
Tue Mar 11 05:34:03 2008 UTC (16 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +21 -30 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:26 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134.16.6: preferred, colored; branchpoint 1.134: preferred, colored
Changes since revision 1.134.16.6: +85 -71 lines
sync with head.

Revision 1.157: download - view: text, markup, annotated - select for diffs
Sat Feb 23 05:48:14 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: hpcarm-cleanup-base
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +18 -16 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 22 08:46:48 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +68 -58 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 20 16:37:52 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +3 -2 lines
Make NetBSD/vax work again.  Add support for __HAVE_FAST_SOFTINTS.
Add a few small optimizations.

Revision 1.154: download - view: text, markup, annotated - select for diffs
Tue Feb 19 22:18:03 2008 UTC (16 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:16 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.152: preferred, colored; next MAIN 1.153: preferred, colored
Changes since revision 1.152: +3 -3 lines
Sync with HEAD.

Revision 1.134.16.6: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:22:46 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134.16.5: preferred, colored; branchpoint 1.134: preferred, colored
Changes since revision 1.134.16.5: +3 -3 lines
sync with head.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Sun Feb 3 08:37:41 2008 UTC (16 years, 10 months ago) by matt
Branches: MAIN
CVS tags: mjf-devfs-base
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +3 -3 lines
misc type cleanups

Revision 1.147.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:39:51 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.147.2.2: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.150.14.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:00:10 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150: +3 -3 lines
Sync with HEAD

Revision 1.150.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:23:14 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +3 -3 lines
sync with HEAD

Revision 1.150.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 28 20:10:57 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150: +3 -3 lines
Sync with HEAD.

Revision 1.134.16.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:28:51 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134.16.4: preferred, colored; branchpoint 1.134: preferred, colored
Changes since revision 1.134.16.4: +3 -3 lines
sync with head.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Thu Oct 25 13:03:05 2007 UTC (17 years, 1 month ago) by yamt
Branches: 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
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +3 -3 lines
defparam PAGER_MAP_SIZE.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:57:59 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 3 14:30:59 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134.16.3: preferred, colored; branchpoint 1.134: preferred, colored
Changes since revision 1.134.16.3: +27 -24 lines
sync with head.

Revision 1.148.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:02:59 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.148: preferred, colored; next MAIN 1.149: preferred, colored
Changes since revision 1.148: +19 -18 lines
Sync with head.

Revision 1.147.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:26:57 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.147.2.1: preferred, colored
Changes since revision 1.147.2.1: +19 -18 lines
Sync with head.

Revision 1.149.4.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:27:41 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.149: preferred, colored; next MAIN 1.150: preferred, colored
Changes since revision 1.149: +5 -6 lines
Update to HEAD.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:34 2007 UTC (17 years, 6 months ago) by yamt
Branches: 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
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +5 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:10 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.141.2.4: preferred, colored; next MAIN 1.142: preferred, colored
Changes since revision 1.141.2.4: +16 -14 lines
sync with head.

Revision 1.139.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 12 19:46:12 2007 UTC (17 years, 7 months ago) by bouyer
Branches: 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
Diff to: previous 1.139: preferred, colored; next MAIN 1.140: preferred, colored
Changes since revision 1.139: +16 -14 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 11 02:22:36 2007 UTC (17 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Branch point for: ppcoea-renovation
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +16 -14 lines
Workaround a gcc 4.1 issue.  don't use s.m = s2.m = s3.m = ...
assign them individually.

Revision 1.141.2.4: download - view: text, markup, annotated - select for diffs
Sat Apr 7 17:24:34 2007 UTC (17 years, 8 months ago) by matt
Branches: yamt-idlelwp
Diff to: previous 1.141.2.3: preferred, colored
Changes since revision 1.141.2.3: +5 -6 lines
Remove ci_exit, remove idlepcb and exitstack.

Revision 1.147.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:50:10 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +5 -3 lines
Sync with head.

Revision 1.141.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:51:19 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.141.2.2: preferred, colored
Changes since revision 1.141.2.2: +11 -9 lines
Sync with HEAD.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Mon Mar 12 02:22:43 2007 UTC (17 years, 8 months ago) by matt
Branches: MAIN
CVS tags: reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +5 -3 lines
Shrink VAX kmutex from 12 bytes to 8.  Fix various LOCKDEBUG/DIAGNOSTIC
problems.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Fri Mar 9 14:11:22 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +4 -4 lines
- 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 - view: text, markup, annotated - select for diffs
Sun Mar 4 19:21:55 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +3 -3 lines
Fix caddr_t fallout.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:02 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +6 -6 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:22 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.141.2.1: preferred, colored
Changes since revision 1.141.2.1: +1852 -0 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.134.16.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:42 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134.16.2: preferred, colored; branchpoint 1.134: preferred, colored
Changes since revision 1.134.16.2: +34 -28 lines
sync with head.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:51:30 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: ad-audiomp-base, ad-audiomp
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +12 -12 lines
TRUE -> true, FALSE -> false

Revision 1.143: download - view: text, markup, annotated - select for diffs
Wed Feb 21 22:59:55 2007 UTC (17 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +7 -7 lines
Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:31:40 2007 UTC (17 years, 9 months ago) by pavel
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -3 lines
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, 9 months ago) by yamt
Branches: yamt-idlelwp
FILE REMOVED
Changes since revision 1.141: +0 -1852 lines
file pmap.c was added on branch yamt-idlelwp on 2007-02-27 16:53:22 +0000

Revision 1.141: download - view: text, markup, annotated - select for diffs
Sat Feb 17 05:34:07 2007 UTC (17 years, 9 months ago) by matt
Branches: MAIN
Branch point for: yamt-idlelwp
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 16 01:34:04 2007 UTC (17 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +19 -14 lines
Partially adapt the VAX port to the newlock2 changes.  These are untested
but they do at least compile.

Revision 1.134.16.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:14 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134.16.1: preferred, colored; branchpoint 1.134: preferred, colored
Changes since revision 1.134.16.1: +9 -5 lines
sync with head.

Revision 1.138.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:37 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +8 -4 lines
Sync with head.

Revision 1.138.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:16 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.138: preferred, colored; next MAIN 1.139: preferred, colored
Changes since revision 1.138: +8 -4 lines
sync with head

Revision 1.139: download - view: text, markup, annotated - select for diffs
Mon Oct 2 02:59:38 2006 UTC (18 years, 2 months ago) by chs
Branches: 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
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +8 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 9 02:44:23 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +4 -4 lines
sync with head

Revision 1.135.8.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:12 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.135.8.2: preferred, colored; branchpoint 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135.8.2: +3 -3 lines
sync with head

Revision 1.137.6.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:05 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137: +3 -3 lines
Merge from HEAD.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Sat Jul 8 00:27:30 2006 UTC (18 years, 5 months ago) by matt
Branches: 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
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 14:57:34 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +3 -3 lines
sync with head.

Revision 1.135.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:08 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +3 -3 lines
Sync with head.

Revision 1.135.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:33:57 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.135: preferred, colored; next MAIN 1.136: preferred, colored
Changes since revision 1.135: +3 -3 lines
sync with head - hopefully this will work

Revision 1.135.8.2: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:33 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.135.8.1: preferred, colored; branchpoint 1.135: preferred, colored
Changes since revision 1.135.8.1: +3 -3 lines
sync with head.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Wed Mar 15 22:39:28 2006 UTC (18 years, 8 months ago) by matt
Branches: 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
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +3 -3 lines
Fix typo in lhs cast removal.

Revision 1.135.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:07:03 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3 lines
sync with head.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Sun Mar 12 17:14:41 2006 UTC (18 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pdpolicy-base2
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3 lines
Fix various places where assignment happen to casted lvalues.
(t)v = foo; is not legal C.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:36 2005 UTC (18 years, 11 months ago) by christos
Branches: 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
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +2 -2 lines
merge ktrace-lwp.

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

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

Revision 1.127.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:42:36 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +21 -17 lines
Sync with HEAD

Revision 1.134: download - view: text, markup, annotated - select for diffs
Fri Mar 19 20:17:51 2004 UTC (20 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -2 lines
Add CPU_INFO_INTERATOR/FOREACH support.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:20 2004 UTC (20 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +5 -5 lines
Uppercase CPU, plural is CPUs.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Dec 30 12:33:19 2003 UTC (20 years, 11 months ago) by pk
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +7 -11 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 14 19:39:24 2003 UTC (20 years, 11 months ago) by ragge
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +2 -6 lines
TOPDOWN_VM is now mandatory on vax.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Thu Nov 6 00:32:27 2003 UTC (21 years, 1 month ago) by he
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 19 14:58:22 2003 UTC (21 years, 1 month ago) by ragge
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +8 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 15 02:15:05 2003 UTC (21 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +4 -1 lines
__KERNEL_RCSID()

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

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

Fixes PR kern/21517.

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

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

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

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

Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Apr 1 15:22:53 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +6 -6 lines
Use PAGE_SIZE rather than NBPG.
XXX Except in one place, which will require more work.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Mar 2 22:19:04 2003 UTC (21 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +193 -153 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 26 21:54:35 2003 UTC (21 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +7 -3 lines
Enable USE_TOPDOWN_VM. This also makes it possible to use large address
spaces, so bump MAXDSIZ to 1GB.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Feb 2 01:50:04 2003 UTC (21 years, 10 months ago) by erh
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +2 -2 lines
D'oh!  Remove unused local variable too.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat Feb 1 21:05:08 2003 UTC (21 years, 10 months ago) by erh
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3 lines
Remove references to nswbuf.  It is entirely unused.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Jan 31 05:24:31 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +2 -3 lines
Use M_VMPMAP instead of M_HTABLE.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Sat Jan 18 07:10:35 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +43 -41 lines
Merge the nathanw_sa branch.

Revision 1.108.4.11: download - view: text, markup, annotated - select for diffs
Mon Dec 30 18:34:58 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.108.4.10: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.4.10: +2 -2 lines
Make this compile again.

Revision 1.108.4.10: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:12:43 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.108.4.9: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.9: +8 -7 lines
Sync with HEAD.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Dec 1 21:20:32 2002 UTC (22 years ago) by matt
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +6 -4 lines
Fix inconsistencies in various definitions of avail_*, virtual_*, and
proc0paddr.

Revision 1.108.4.9: download - view: text, markup, annotated - select for diffs
Sat Oct 5 07:28:48 2002 UTC (22 years, 2 months ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.108.4.8: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.8: +28 -27 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 08:42:24 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.104.2.5: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.5: +4 -4 lines
sync kqueue branch with HEAD

Revision 1.113.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 31 14:52:49 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.113.2.1: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.2.1: +4 -4 lines
catch up with -current.

Revision 1.108.4.8: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:46:04 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.108.4.7: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.7: +3 -3 lines
Catch up to -current.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Aug 25 20:21:44 2002 UTC (22 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:01 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.108.4.6: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.6: +2 -2 lines
Catch up to -current.

Revision 1.113.4.3: download - view: text, markup, annotated - select for diffs
Mon Jul 29 14:28:09 2002 UTC (22 years, 4 months ago) by lukem
Branches: 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
Diff to: previous 1.113.4.2: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.4.2: +1 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 25 10:44:25 2002 UTC (22 years, 4 months ago) by ragge
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 15 01:41:03 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +14 -2 lines
catch up with -current.

Revision 1.108.4.6: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:08:56 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.108.4.5: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.5: +14 -12 lines
Curproc->curlwp renaming.

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

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

Revision 1.104.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:43:08 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.104.2.4: preferred, colored
Changes since revision 1.104.2.4: +149 -308 lines
catch up with -current on kqueue branch

Revision 1.108.4.5: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:42:22 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.108.4.4: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.4: +14 -2 lines
Catch up to -current.

Revision 1.113.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 17:09:11 2002 UTC (22 years, 6 months ago) by tv
Branches: netbsd-1-6
Diff to: previous 1.113.4.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.4.1: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 9 21:57:08 2002 UTC (22 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Jun 7 19:30:09 2002 UTC (22 years, 6 months ago) by thorpej
Branches: netbsd-1-6
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +13 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 6 12:28:44 2002 UTC (22 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +13 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 17 00:04:42 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.108.4.3: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.3: +9 -8 lines
Catch up to -current.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Apr 4 16:40:15 2002 UTC (22 years, 8 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -4 lines
Fix crash problems reported by mrg and bouyer in separate mails.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Apr 2 09:47:34 2002 UTC (22 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +7 -5 lines
Check that each region is inuse before freeing their related extent.
This fixes (hopefully) PR#16164.

Revision 1.108.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:43:32 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.108.4.2: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.2: +682 -433 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.108.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 29 23:22:44 2002 UTC (22 years, 8 months ago) by ragge
Branches: nathanw_sa
Diff to: previous 1.108.4.1: preferred, colored; branchpoint 1.108: preferred, colored
Changes since revision 1.108.4.1: +1529 -0 lines
Initial nathanw_sa kernel support for vax.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Mar 21 22:08:08 2002 UTC (22 years, 8 months ago) by ragge
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +132 -304 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:17 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.104.2.3: preferred, colored
Changes since revision 1.104.2.3: +677 -256 lines
Catch up with -current.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Mar 10 22:32:31 2002 UTC (22 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +666 -250 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 1 23:55:10 2002 UTC (22 years, 9 months ago) by ragge
Branches: MAIN
CVS tags: newlock-base, newlock
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +17 -12 lines
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 - view: text, markup, annotated - select for diffs
Thu Jan 10 19:50:07 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.104.2.2: preferred, colored
Changes since revision 1.104.2.2: +39 -15 lines
Sync kqueue branch with -current.

Revision 1.82.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 12 22:01:50 2001 UTC (23 years ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.82.2.3: preferred, colored; branchpoint 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82.2.3: +6 -5 lines
Apply patch (requested by ragge):
  Handle remapping of pages entered by pmap_kenter_pa() properly.
  Fixes PR#12231.

Revision 1.105.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:02 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +40 -16 lines
Catch up with -current.

Revision 1.108.4.1
Sun Sep 30 17:12:08 2001 UTC (23 years, 2 months ago) by ragge
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.108: +0 -1529 lines
file pmap.c was added on branch nathanw_sa on 2002-03-29 23:22:44 +0000

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Sep 30 17:12:08 2001 UTC (23 years, 2 months ago) by ragge
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, ifpoll-base
Branch point for: nathanw_sa
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +5 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 24 01:48:16 2001 UTC (23 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +36 -13 lines
implement pmap_wired_count().

Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:08 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.104.2.1: preferred, colored
Changes since revision 1.104.2.1: +2 -2 lines
Update the kqueue branch to HEAD.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:30 2001 UTC (23 years, 2 months ago) by chris
Branches: MAIN
CVS tags: pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 25 06:16:03 2001 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
Merge Aug 24 -current into the kqueue branch.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Aug 5 06:14:22 2001 UTC (23 years, 4 months ago) by matt
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 30 12:54:34 2001 UTC (23 years, 5 months ago) by ragge
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +59 -21 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 21 19:39:05 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.93.2.1: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.1: +170 -130 lines
Catch up to -current.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Jun 7 05:29:13 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +24 -6 lines
implement pmap_clear_modify() correctly.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Jun 6 06:23:13 2001 UTC (23 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -3 lines
make this compile without DEBUG.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Jun 4 15:36:00 2001 UTC (23 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +130 -67 lines
The beginning of pmap locks. While here, some cleaning and KNF.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Tue Apr 24 04:31:15 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_beforemerge
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 23 23:58:09 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +1 -18 lines
Garbage-collect pmap_bootstrap_alloc(); nothing uses it.

Revision 1.71.2.7: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:42:14 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.6: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.6: +12 -38 lines
Sync with HEAD.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Apr 22 23:42:18 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -34 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 22 17:22:58 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +12 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 21 17:55:01 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.5: preferred, colored
Changes since revision 1.71.2.5: +16 -12 lines
Sync with HEAD

Revision 1.96: download - view: text, markup, annotated - select for diffs
Thu Apr 12 06:07:42 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +7 -7 lines
splimp -> splvm

Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:55:21 2001 UTC (23 years, 8 months ago) by nathanw
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +15 -11 lines
Catch up with -current.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Sun Apr 1 19:18:42 2001 UTC (23 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +10 -6 lines
Be sure that all kernel stack pages are valid after swapin. Fixes PR#12520.

Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:43 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.4: preferred, colored
Changes since revision 1.71.2.4: +6 -6 lines
Sync with HEAD.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Mar 15 06:10:52 2001 UTC (23 years, 8 months ago) by chs
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 12 13:29:46 2001 UTC (23 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.3: preferred, colored
Changes since revision 1.71.2.3: +6 -2 lines
Sync with HEAD.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:25:55 2001 UTC (23 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +6 -2 lines
Check page reference in pmap_clear_reference(). Fixes vax hang problem
with ubc, tested by Chuck Silvers.

Revision 1.71.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:17 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.2: preferred, colored
Changes since revision 1.71.2.2: +52 -6 lines
Sync with HEAD

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sun Dec 31 11:16:55 2000 UTC (23 years, 11 months ago) by ragge
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +53 -7 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 22 16:02:15 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71.2.1: preferred, colored
Changes since revision 1.71.2.1: +28 -32 lines
Sync with HEAD.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Tue Nov 21 06:14:40 2000 UTC (24 years ago) by chs
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +9 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 21 05:49:08 2000 UTC (24 years ago) by chs
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +16 -26 lines
eliminate TRUNC_PAGE() and ROUND_PAGE() in favor of their
lowercase counterparts.  also, a little misc cleanup.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:33:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +94 -41 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 1 22:29:14 2000 UTC (24 years, 1 month ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2
Diff to: previous 1.82.2.2: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.2.2: +7 -5 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 31 20:15:09 2000 UTC (24 years, 1 month ago) by ragge
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +10 -7 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 27 17:14:44 2000 UTC (24 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -1 lines
Make the pmap: enter on myself panic conditional under DIAGNOSTIC

Revision 1.82.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 27 15:25:03 2000 UTC (24 years, 3 months ago) by ragge
Branches: netbsd-1-5
CVS tags: netbsd-1-5-BETA
Diff to: previous 1.82.2.1: preferred, colored; branchpoint 1.82: preferred, colored
Changes since revision 1.82.2.1: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 27 14:14:50 2000 UTC (24 years, 3 months ago) by ragge
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 13 08:46:32 2000 UTC (24 years, 3 months ago) by ragge
Branches: netbsd-1-5
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +38 -16 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 8 19:06:52 2000 UTC (24 years, 4 months ago) by ragge
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +35 -13 lines
Remove some unneccessary TBIA's. Keep track of wired pages.
Fix PR#8503 (refcount error).

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Jul 19 21:08:06 2000 UTC (24 years, 4 months ago) by ragge
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +5 -5 lines
Do mtpr(0, PR_TBIA), not mtpr(1, PR_TBIA). This has worked on all CPUs
except for KA88.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Jun 29 07:14:33 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:06 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -3 lines
remove/move more mach vm header files:

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

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

Revision 1.79.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:05:27 2000 UTC (24 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.79: preferred, colored; next MAIN 1.80: preferred, colored
Changes since revision 1.79: +27 -5 lines
Sync w/ netbsd-1-5-base.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Jun 11 07:50:11 2000 UTC (24 years, 5 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Jun 10 14:59:38 2000 UTC (24 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +5 -2 lines
Code to spin up other CPUs on a VAX 8200 system.
Haven't solved the printf() problem yet, though.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon May 29 20:00:55 2000 UTC (24 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +22 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat May 20 13:38:58 2000 UTC (24 years, 6 months ago) by ragge
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -2 lines
Changes to use the RPB for different tasks. Much simpler now to find the
boot device.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Apr 16 09:42:22 2000 UTC (24 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -5 lines
Be a little bit more generous with TBIA.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Apr 2 20:39:18 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +6 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 26 20:42:38 2000 UTC (24 years, 8 months ago) by kleink
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 1 12:46:37 2000 UTC (24 years, 9 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Diff to: previous 1.61.2.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.2: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 31 19:22:56 2000 UTC (24 years, 10 months ago) by he
Branches: netbsd-1-4
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.1: +10 -4 lines
Apply patch (requested by ragge):
  Fix a problem when the system goes out of free pages.

Revision 1.71.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:13 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +17 -13 lines
Pull up to last week's -current.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Dec 11 17:51:35 1999 UTC (25 years ago) by ragge
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, chs-ubc2-newbase
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 30 13:33:04 1999 UTC (25 years ago) by itojun
Branches: kame
CVS tags: kame_141_19991130
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +232 -161 lines
bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

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

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

Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:39:52 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +16 -13 lines
Sync with -current

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Nov 13 21:32:25 1999 UTC (25 years ago) by matt
Branches: MAIN
CVS tags: fvdl-softdep-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -1 lines
adapt to jason new pmap_enter change

Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat Nov 13 00:32:20 1999 UTC (25 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +13 -12 lines
Update for pmap_enter() API change.  No functional difference.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Oct 27 16:37:54 1999 UTC (25 years, 1 month ago) by ragge
Branches: MAIN
CVS tags: comdex-fall-1999-base, comdex-fall-1999
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -2 lines
Avoid calling cninit() too early.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Sep 12 01:17:29 1999 UTC (25 years, 2 months ago) by chs
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -3 lines
eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.61.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:47:20 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.61.4.2: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.4.2: +306 -159 lines
Update from trunk.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Aug 1 13:48:06 1999 UTC (25 years, 4 months ago) by ragge
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +183 -133 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 12 19:24:42 1999 UTC (25 years, 4 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH001
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +232 -161 lines
pullup via patch (ragge): fix critical paging/swapping problems

Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat Jul 10 22:04:59 1999 UTC (25 years, 5 months ago) by ragge
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +150 -58 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 8 18:11:02 1999 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -7 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 1 23:27:19 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.61.4.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.4.1: +48 -23 lines
Sync w/ -current.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Jun 30 19:31:33 1999 UTC (25 years, 5 months ago) by ragge
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +48 -23 lines
Use pmap_steal_memory() for early memory allocation.

Revision 1.61.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:03:46 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +103 -96 lines
Sync w/ -current.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Jun 6 19:09:50 1999 UTC (25 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +12 -7 lines
Page tables must be pageable (where did this disappear?)
Fix a PGOFSET -> VAX_PGOFSET miss.
Stylistic cleanup.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed May 26 19:16:35 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun May 23 23:03:44 1999 UTC (25 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +40 -35 lines
Rewrite the "emulate page reference bits" code to avoid a bunch of
pv_lists traversal and unneccessary page faults.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:02:50 1999 UTC (25 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -14 lines
Only allocate QDSS memory if there is a QDSS as console.
QDSS should also work on KA650 now. (untested)

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Apr 17 00:01:19 1999 UTC (25 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +53 -45 lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 26 23:41:38 1999 UTC (25 years, 8 months ago) by mycroft
Branches: 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:17 1999 UTC (25 years, 8 months ago) by mrg
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -37 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 2 18:37:21 1999 UTC (25 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +8 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 19 22:57:47 1999 UTC (25 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -5 lines
Fix some void pointers.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Jan 19 21:04:49 1999 UTC (25 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +37 -13 lines
Allocate (almost) all interrupt vectors dynamically. Simplifies much
work when adding support for new machines and devices.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Jan 1 21:43:19 1999 UTC (25 years, 11 months ago) by ragge
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +76 -81 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 19 20:03:23 1998 UTC (25 years, 11 months ago) by ragge
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
A "return 1" should be "return 0". Caused machine to crash as soon as
it started paging.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Nov 29 14:55:05 1998 UTC (26 years ago) by ragge
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +137 -79 lines
- 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 - view: text, markup, annotated - select for diffs
Fri Aug 21 13:46:38 1998 UTC (26 years, 3 months ago) by ragge
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +93 -35 lines
VAX logical page size increased to 4k.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Jul 18 20:35:14 1998 UTC (26 years, 4 months ago) by ragge
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +82 -52 lines
Fix PMAP_NEW and make it the default.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Jul 8 04:43:23 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -2 lines
Define one page free list, and put all pages on it.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat May 23 19:18:59 1998 UTC (26 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -3 lines
Remove a forgotten debug printout.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue May 19 19:00:19 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun May 3 13:02:23 1998 UTC (26 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +188 -34 lines
Remove the ancient kernel-stack area at top of P1 region. Make PMAP_NEW
almost work. Also Wall cleaning.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Mar 21 10:02:41 1998 UTC (26 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +21 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Mar 2 17:00:01 1998 UTC (26 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +72 -23 lines
Support for UVM on VAXen.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jan 31 12:17:34 1998 UTC (26 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +41 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 27 17:35:03 1998 UTC (26 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +13 -4 lines
Fix to make vfork work on machines with separated PCB/mtpr PTE registers.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jan 18 22:07:52 1998 UTC (26 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -1 lines
Fix page size initialisation.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jan 3 00:34:02 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +84 -25 lines
- 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 - view: text, markup, annotated - select for diffs
Tue Nov 4 22:59:20 1997 UTC (27 years, 1 month ago) by ragge
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
Move some interrupt routines out to assembler.
Optimize (slightly) pmap_clear_modify.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Nov 2 14:25:23 1997 UTC (27 years, 1 month ago) by ragge
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +264 -624 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 19 14:32:42 1997 UTC (27 years, 1 month ago) by ragge
Branches: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +13 -5 lines
Add a sometimes needed round_page().
Always flush TLB when messing around with system mapping.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 22 06:32:58 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +4 -3 lines
Update marc-pcmcia branch from trunk.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Sep 19 13:55:51 1997 UTC (27 years, 2 months ago) by leo
Branches: MAIN
CVS tags: marc-pcmcia-base
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Jul 25 21:54:48 1997 UTC (27 years, 4 months ago) by ragge
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -10 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 6 22:38:24 1997 UTC (27 years, 5 months ago) by ragge
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +11 -11 lines
Remove __VM_PMAP_HACK.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Mar 22 12:50:56 1997 UTC (27 years, 8 months ago) by ragge
Branches: MAIN
CVS tags: bouyer-scsipi
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +14 -30 lines
Clean up DZ console routines. Use memory size from boot (if provided).

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Mar 15 16:36:17 1997 UTC (27 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +5 -1 lines
Clean up console autoconfiguration so that the VAXstation DZ11-like
console work.

Revision 1.30.6.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:20:44 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +25 -14 lines
Merge in changes from Trunk

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Feb 26 18:38:21 1997 UTC (27 years, 9 months ago) by ragge
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -1 lines
Patches to make VS2000 to work. From Ari Suutari.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Feb 19 10:04:25 1997 UTC (27 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
Basic change to cpu-config code. This will make support of new
cpu types much easier.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Feb 12 17:53:01 1997 UTC (27 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +20 -13 lines
Walk a step closer to more intelligent User PTE handling.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Oct 13 03:35:57 1996 UTC (28 years, 1 month ago) by christos
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +26 -26 lines
backout previous kprintf change

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Oct 11 01:51:29 1996 UTC (28 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +26 -26 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jul 20 18:20:42 1996 UTC (28 years, 4 months ago) by ragge
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +125 -62 lines
Locore changes for VS and VAX8200.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun May 19 16:44:20 1996 UTC (28 years, 6 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Fixed all (proto)type errors. Fixes PR 2377.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Apr 8 18:32:53 1996 UTC (28 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +22 -18 lines
Added prototypes to everything. Made all files compile with -Wall.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 17 22:49:55 1996 UTC (28 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +18 -19 lines
Do not have debugging enabled by default.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Mar 7 23:22:53 1996 UTC (28 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 2 13:45:45 1996 UTC (28 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 11 13:41:35 1996 UTC (28 years, 10 months ago) by ragge
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +80 -72 lines
Fix things that -O2 broke. Cleanup.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Feb 2 23:12:34 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +14 -12 lines
Fix type errors.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Feb 2 18:09:02 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +19 -19 lines
Fix #includes.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Dec 13 18:50:20 1995 UTC (28 years, 11 months ago) by ragge
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +13 -15 lines
CPU dependent code moved out of cpu independent modules.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Nov 10 18:52:54 1995 UTC (29 years, 1 month ago) by ragge
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +212 -175 lines
Major rewriting of pmap_bootstrap; CPU dependent allocations moved
to related file.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Aug 22 04:34:17 1995 UTC (29 years, 3 months ago) by ragge
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +72 -82 lines
Fixed USRPTSIZE trouble. Cleaned up.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Aug 21 03:27:05 1995 UTC (29 years, 3 months ago) by ragge
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -3 lines
Bug fix: Must have user readability of kernel text on Microvax
even when using DDB.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jul 5 08:36:37 1995 UTC (29 years, 5 months ago) by ragge
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -1 lines
DDB needs writable kernel text.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jun 16 15:36:47 1995 UTC (29 years, 5 months ago) by ragge
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -7 lines
rudimentary DDB support.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jun 5 16:27:07 1995 UTC (29 years, 6 months ago) by ragge
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat May 6 00:08:31 1995 UTC (29 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +16 -13 lines
Kernel message buffer implemented.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 5 10:47:39 1995 UTC (29 years, 7 months ago) by ragge
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +13 -145 lines
Removed kernel stack relocation and double-mapping.
Speeded up fork() significantly.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 10 12:42:39 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -4 lines
Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Apr 10 03:54:27 1995 UTC (29 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +30 -30 lines
v_cmap --> vmmap

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 30 21:25:28 1995 UTC (29 years, 8 months ago) by ragge
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +129 -24 lines
Speed-up of pmap and trap.
Fixes due to uVAX support.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Feb 23 17:53:58 1995 UTC (29 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +63 -58 lines
Support for uVAXII, new tmscp driver added.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Feb 13 00:46:14 1995 UTC (29 years, 9 months ago) by ragge
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +141 -154 lines
Zillions of bugfixes. Obsolete files taken away. New style config
fixed. Inline assembler commonly used.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 25 19:09:59 1994 UTC (30 years ago) by ragge
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +361 -250 lines
Lots of fixes and updates.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Oct 26 08:03:22 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -3 lines
new RCS ID format.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Oct 8 15:48:14 1994 UTC (30 years, 2 months ago) by ragge
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +240 -286 lines
Lots of bug fixes; clock and mem files new.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 16 23:47:36 1994 UTC (30 years, 3 months ago) by ragge
Branches: netbsd-1-0
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +882 -0 lines
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 (30 years, 3 months ago) by ragge
Branches: netbsd-1-0
FILE REMOVED
Changes since revision 1.2: +0 -882 lines
file pmap.c was added on branch netbsd-1-0 on 1994-08-16 23:47:36 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 16 23:47:35 1994 UTC (30 years, 3 months ago) by ragge
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +432 -353 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 2 20:22:09 1994 UTC (30 years, 4 months ago) by ragge
Branches: MAIN
Initial VAX port merging.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>