The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.49 / (download) - annotate - [select for diffs], Sun Feb 6 20:20:19 2022 UTC (12 months ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

fix various typos in comments, log messages and documentation.
mainly s/aparently/apparently/ and s/implmented/implemented/.

Revision 1.45.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:45 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.45.6.2: +1 -1 lines
Diff to previous 1.45.6.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

update from HEAD

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:21 2017 UTC (6 years ago) by skrll
Branch: nick-nhusb
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD

Revision 1.47.10.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:27 2017 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

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

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 22 14:47:59 2016 UTC (6 years, 1 month ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

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

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.45.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:26 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.45.6.1: +9 -11 lines
Diff to previous 1.45.6.1 (colored) to branchpoint 1.45 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:10 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44.2.2: +9 -11 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head.

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

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

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:27 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.46: +9 -11 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Mon Mar 24 18:50:31 2014 UTC (8 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, 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, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.46: +9 -11 lines
Diff to previous 1.46 (colored)

- remove unused
- use cpu_{g,s}etmodel

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:01 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.45: +9 -3 lines
Diff to previous 1.45 (colored)

resync with head

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:58 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.44.2.1: +9 -3 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jan 7 16:58:09 2013 UTC (10 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.45: +9 -3 lines
Diff to previous 1.45 (colored)

switch to __USE_TOPDOWN_VM.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:57 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

sync with head

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:19 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

merge to -current.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jan 31 22:47:08 2012 UTC (11 years ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

unbreak the sun2 pmap

Revision 1.43.10.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:44 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.43: +6 -15 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:09 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.43: +6 -15 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with head

Revision 1.43.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:55 2011 UTC (11 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.43: +6 -15 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 3 17:03:52 2011 UTC (11 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.43: +6 -15 lines
Diff to previous 1.43 (colored)

- remove simple_lock(9) and use atomic_ops(3) to account pmap reference count,
  perrequest from rmind@
- while here no need to export struct pmap on sun2/sun3/sun3x

No particular problem for a week on hp300 and sun3x kernels with disabled
tcp_vtw which has been broken for a month on low memory machines.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sat Oct 30 08:41:11 2010 UTC (12 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.43: +9 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

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

Revision 1.34.20.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:03 2010 UTC (12 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.20.2: +18 -35 lines
Diff to previous 1.34.20.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Fri Dec 11 13:56:16 2009 UTC (13 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: uebayasi-xip, rmind-uvmplock, jruoho-x86intr, cherry-xenmp
Changes since 1.42: +17 -17 lines
Diff to previous 1.42 (colored)

Refactoring MD segment related definitions on m68k ports:
- move macro SEGSHIFT, NBSG, and SEGOFFSET from <machine/param.h>
  to <machine/pmap.h> where they should belong
- don't use m68k_round_seg() and m68k_trunc_seg() in sun2 pmap sources
  and instead define and use sun2_round_seg() and sun2_trunc_seg()
  since they are quite pmap implementation dependent

Revision 1.42 / (download) - annotate - [select for diffs], Sat Nov 21 04:16:52 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

Use lwp_getpcb() on sparc{64} and sun2/3 MD code, clean from struct user usage.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:47 2009 UTC (13 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:03 2009 UTC (13 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.39: +2 -18 lines
Diff to previous 1.39 (colored)

Remove uarea swap-out functionality:

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

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

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

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:39 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

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

Revision 1.34.20.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:59 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.20.1: +6 -5 lines
Diff to previous 1.34.20.1 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.36.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:48 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.36.8.1: +3 -3 lines
Diff to previous 1.36.8.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

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

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

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:56 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.36: +5 -4 lines
Diff to previous 1.36 (colored)

Sync with HEAD.

Revision 1.34.16.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:33 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.34.16.1: +3 -2 lines
Diff to previous 1.34.16.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Sync with HEAD.

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:33 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.36: +5 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

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

Revision 1.38 / (download) - annotate - [select for diffs], Wed Dec 10 11:10:19 2008 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base
Branch point for: jym-xensuspend
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Make kernel_pmap_ptr a const.  Requested by steve_martin.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Dec 9 20:45:45 2008 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.36: +5 -4 lines
Diff to previous 1.36 (colored)

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

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

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

Revision 1.34.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:45 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.34: +7 -14 lines
Diff to previous 1.34 (colored)

Sync with HEAD.

Revision 1.34.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:54 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.34: +7 -14 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

sync with head.

Revision 1.34.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:17 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34: +7 -14 lines
Diff to previous 1.34 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:37 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, 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, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, haad-dm
Changes since 1.35: +2 -9 lines
Diff to previous 1.35 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.35 / (download) - annotate - [select for diffs], Sun Apr 27 15:56:37 2008 UTC (14 years, 9 months ago) by tsutsui
Branch: MAIN
Changes since 1.34: +7 -7 lines
Diff to previous 1.34 (colored)

Make compile with debug options.

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:22:58 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:43 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:30 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.2.2: +7 -11 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:02:46 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.32: +6 -10 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.31.4.2 / (download) - annotate - [select for diffs], Sun May 27 14:26:52 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.31.4.1: +6 -10 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with head.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:37 2007 UTC (15 years, 8 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.32: +6 -10 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Update to HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 18 10:18:24 2007 UTC (15 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.32: +6 -10 lines
Diff to previous 1.32 (colored)

Adapt sun68k ports to yamt-idlelwp.
Tested on TME (sun2 and sun3) and 3/80 (sun3x).

Revision 1.29.16.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:02 2007 UTC (15 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.29.16.1: +3 -3 lines
Diff to previous 1.29.16.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:07 2007 UTC (15 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:28 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: ppcoea-renovation, mjf-ufs-trans
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.29.16.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:18 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.29: +51 -51 lines
Diff to previous 1.29 (colored)

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

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:32 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27.2.1: +51 -51 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 22 16:46:48 2007 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: vmlocking
Changes since 1.30: +33 -33 lines
Diff to previous 1.30 (colored)

TRUE -> true, FALSE -> false

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:53 2007 UTC (15 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +20 -20 lines
Diff to previous 1.29 (colored)

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

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:59 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:57:05 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.28.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:05 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.28.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:49 2006 UTC (16 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head - hopefully this will work

Revision 1.28.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:30 2006 UTC (16 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Mar 15 18:12:03 2006 UTC (16 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

adapt to uvm_fault() interface cleanup: kill the useless 3rd argument

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

merge ktrace-lwp.

Revision 1.23.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:38 2005 UTC (17 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.5: +8 -2 lines
Diff to previous 1.23.2.5 (colored) next main 1.24 (colored)

Sync with HEAD. Here we go again...

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Wed Jun 8 11:34:46 2005 UTC (17 years, 8 months ago) by tron
Branch: netbsd-2
CVS Tags: 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
Changes since 1.24: +7 -1 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up revision 1.27 (requested by chs in ticket #1980):
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Wed Jun 8 11:32:47 2005 UTC (17 years, 8 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.24: +7 -1 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pull up revision 1.27 (requested by chs in ticket #1980):
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 12:17:03 2005 UTC (17 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.25: +8 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up revision 1.27 (requested by chs in ticket #424):
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.27 / (download) - annotate - [select for diffs], Sun May 29 15:57:01 2005 UTC (17 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.26: +8 -2 lines
Diff to previous 1.26 (colored)

in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.24.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:25 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.24: +315 -423 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with -current

Revision 1.23.2.5 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:41 2005 UTC (17 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.4: +3 -3 lines
Diff to previous 1.23.2.4 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:35 2005 UTC (17 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Jan 31 12:22:05 2005 UTC (18 years ago) by yamt
Branch: yamt-km
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

convert arch/sun2 to new apis.

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Mon Jan 24 08:34:34 2005 UTC (18 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.3: +314 -422 lines
Diff to previous 1.23.2.3 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 22 15:36:09 2005 UTC (18 years ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, netbsd-3-base
Branch point for: yamt-km, netbsd-3
Changes since 1.24: +314 -422 lines
Diff to previous 1.24 (colored)

de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:23:07 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.2: +2 -2 lines
Diff to previous 1.23.2.2 (colored)

Fix the sync with head I botched.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:41:28 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23.2.1: +0 -0 lines
Diff to previous 1.23.2.1 (colored)

Sync with HEAD.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:49 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 15 03:36:13 2003 UTC (19 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base, 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-2-RELEASE, netbsd-2-0-1-RELEASE, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-2-0, netbsd-2, kent-audio2
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

__KERNEL_RCSID()

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:44 2003 UTC (19 years, 7 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 10 21:10:41 2003 UTC (19 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +14 -0 lines
Diff to previous 1.21 (colored)

Back out the following chagne:
    http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html

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

Fixes PR kern/21517.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 8 18:13:25 2003 UTC (19 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +1 -15 lines
Diff to previous 1.20 (colored)

Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

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

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

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Apr 1 15:47:49 2003 UTC (19 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +30 -29 lines
Diff to previous 1.19 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jan 18 06:58:35 2003 UTC (20 years ago) by thorpej
Branch: MAIN
Changes since 1.18: +11 -13 lines
Diff to previous 1.18 (colored)

Merge the nathanw_sa branch.

Revision 1.15.4.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:40:15 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.15.4.6: +5 -5 lines
Diff to previous 1.15.4.6 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Catch up to -current.

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:36:56 2002 UTC (20 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.13.2.3: +5 -5 lines
Diff to previous 1.13.2.3 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:53 2002 UTC (20 years, 4 months ago) by provos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.17: +5 -5 lines
Diff to previous 1.17 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.15.4.6 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:51 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.4.5: +1 -2 lines
Diff to previous 1.15.4.5 (colored) to branchpoint 1.15 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.15.4.5 / (download) - annotate - [select for diffs], Mon Jun 24 22:08:24 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.4.4: +6 -6 lines
Diff to previous 1.15.4.4 (colored) to branchpoint 1.15 (colored)

Curproc->curlwp renaming.

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

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

Revision 1.15.4.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:43:21 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.4.3: +2 -2 lines
Diff to previous 1.15.4.3 (colored) to branchpoint 1.15 (colored)

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

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:04 2002 UTC (20 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.13.2.2: +2 -2 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored)

Catch up with -current.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:35 2002 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:49:40 2002 UTC (21 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.13.2.1: +419 -352 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

Sync kqueue branch with -current.

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Tue Jan 8 00:28:13 2002 UTC (21 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.15.4.2: +419 -336 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Nov 30 18:22:51 2001 UTC (21 years, 2 months ago) by fredette
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.15: +419 -336 lines
Diff to previous 1.15 (colored)

Catch-up to revision 1.135 of the sun3 pmap.  This revision
corresponds tightly to that one.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:45:50 2001 UTC (21 years, 2 months ago) by scw
Branch: nathanw_sa
Changes since 1.15.4.1: +3926 -0 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

MD Scheduler Activation bits for Sun2.

XXX: I can't even compile-test this since the Sun2 config files
XXX: are borked both on the nathanw_sa branch and in -current ...

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:42:43 2001 UTC (21 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.13: +2 -18 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Catch up with -current.

Revision 1.15.4.1, Sat Sep 15 20:36:35 2001 UTC (21 years, 4 months ago) by scw
Branch: nathanw_sa
Changes since 1.15: +0 -3927 lines
FILE REMOVED

file pmap.c was added on branch nathanw_sa on 2001-11-18 19:45:50 +0000

Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 15 20:36:35 2001 UTC (21 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, post-chs-ubcperf
Branch point for: nathanw_sa
Changes since 1.14: +1 -17 lines
Diff to previous 1.14 (colored)

a whole bunch of changes to improve performance and robustness under load:

 - remove special treatment of pager_map mappings in pmaps.  this is
   required now, since I've removed the globals that expose the address range.
   pager_map now uses pmap_kenter_pa() instead of pmap_enter(), so there's
   no longer any need to special-case it.
 - eliminate struct uvm_vnode by moving its fields into struct vnode.
 - rewrite the pageout path.  the pager is now responsible for handling the
   high-level requests instead of only getting control after a bunch of work
   has already been done on its behalf.  this will allow us to UBCify LFS,
   which needs tighter control over its pages than other filesystems do.
   writing a page to disk no longer requires making it read-only, which
   allows us to write wired pages without causing all kinds of havoc.
 - use a new PG_PAGEOUT flag to indicate that a page should be freed
   on behalf of the pagedaemon when it's unlocked.  this flag is very similar
   to PG_RELEASED, but unlike PG_RELEASED, PG_PAGEOUT can be cleared if the
   pageout fails due to eg. an indirect-block buffer being locked.
   this allows us to remove the "version" field from struct vm_page,
   and together with shrinking "loan_count" from 32 bits to 16,
   struct vm_page is now 4 bytes smaller.
 - no longer use PG_RELEASED for swap-backed pages.  if the page is busy
   because it's being paged out, we can't release the swap slot to be
   reallocated until that write is complete, but unlike with vnodes we
   don't keep a count of in-progress writes so there's no good way to
   know when the write is done.  instead, when we need to free a busy
   swap-backed page, just sleep until we can get it busy ourselves.
 - implement a fast-path for extending writes which allows us to avoid
   zeroing new pages.  this substantially reduces cpu usage.
 - encapsulate the data used by the genfs code in a struct genfs_node,
   which must be the first element of the filesystem-specific vnode data
   for filesystems which use genfs_{get,put}pages().
 - eliminate many of the UVM pagerops, since they aren't needed anymore
   now that the pager "put" operation is a higher-level operation.
 - enhance the genfs code to allow NFS to use the genfs_{get,put}pages
   instead of a modified copy.
 - clean up struct vnode by removing all the fields that used to be used by
   the vfs_cluster.c code (which we don't use anymore with UBC).
 - remove kmem_object and mb_object since they were useless.
   instead of allocating pages to these objects, we now just allocate
   pages with no object.  such pages are mapped in the kernel until they
   are freed, so we can use the mapping to find the page to free it.
   this allows us to remove splvm() protection in several places.

The sum of all these changes improves write throughput on my
decstation 5000/200 to within 1% of the rate of NetBSD 1.5
and reduces the elapsed time for "make release" of a NetBSD 1.5
source tree on my 128MB pc to 10% less than a 1.5 kernel took.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:46 2001 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Update the kqueue branch to HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:40 2001 UTC (21 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

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

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

Reviewed by Jason.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 27 03:41:27 2001 UTC (21 years, 7 months ago) by fredette
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.12: +6 -5 lines
Diff to previous 1.12 (colored)

Don't unmap the PROM's first four physical/virtual pages
inside pmap_bootstrap, instead we will wait until we have
installed our vector table.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 19 12:59:17 2001 UTC (21 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

`accessible' only has one `a'.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 2 18:09:22 2001 UTC (21 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

replace vm_map{,_entry}_t with struct vm_map{,_entry} *.

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 26 21:27:16 2001 UTC (21 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.9: +1 -4 lines
Diff to previous 1.9 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 14 15:07:23 2001 UTC (21 years, 9 months ago) by fredette
Branch: MAIN
Changes since 1.8: +41 -49 lines
Diff to previous 1.8 (colored)

One bonus of moving to ELF is that the boot loader on the sun2
now loads the kernel into physical memory at the linked address.
So we link the kernel a little lower virtually, but the bootloader
actually will load it higher in physical memory than before.
This allows us to quadruple the size of the msgbuf to 8K, and
we also shuffle around tmp_vpages and the temporary stack.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 25 17:35:02 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.7: +1 -30 lines
Diff to previous 1.7 (colored)

Garbage-collect pmap_page_index().

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:13 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

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

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

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Mon Apr 23 09:42:10 2001 UTC (21 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.2: +1 -28 lines
Diff to previous 1.4.2.2 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 22 23:42:17 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.5: +1 -15 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 21 23:51:22 2001 UTC (21 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +1 -14 lines
Diff to previous 1.4 (colored)

#define away pmap_update() in <machine/pmap.h> so that no function
call overhead is incurred as we start sprinkling pmap_update() calls
throughout the source tree (no pmaps currently defer operations, but
we are adding the infrastructure to allow them to do so).

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Apr 21 17:54:57 2001 UTC (21 years, 9 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4.2.1: +4008 -0 lines
Diff to previous 1.4.2.1 (colored)

Sync with HEAD

Revision 1.4.2.1, Tue Apr 10 12:39:56 2001 UTC (21 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.4: +0 -4008 lines
FILE REMOVED

file pmap.c was added on branch thorpej_scsipi on 2001-04-21 17:54:57 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 10 12:39:56 2001 UTC (21 years, 10 months ago) by fredette
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Fixed has_context to return true on the kernel pmap,
which always has context zero.  This was causing panics
under DIAGNOSTIC.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 6 14:52:19 2001 UTC (21 years, 10 months ago) by fredette
Branch: MAIN
Changes since 1.2: +46 -26 lines
Diff to previous 1.2 (colored)

Now include machine/promlib.h instead of machine/mon.h, and
use the new prom_ functions instead of the old mon_ functions.
Added the internal _pmap_extract_pmeg function, and removed
some old Sun3 cache-related code.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 28 14:15:11 2001 UTC (21 years, 10 months ago) by fredette
Branch: MAIN
Changes since 1.1: +32 -35 lines
Diff to previous 1.1 (colored)

Brought up-to-date with revision 1.124 of the Sun3 pmap.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 28 13:47:58 2001 UTC (21 years, 10 months ago) by fredette
Branch: MAIN

Added.

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




CVSweb <webmaster@jp.NetBSD.org>