The NetBSD Project

CVS log for src/sys/arch/i386/include/pmap.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.129 / (download) - annotate - [select for diffs], Sat Aug 20 23:49:31 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.128: +1 -2 lines
Diff to previous 1.128 (colored) to selected 1.19 (colored)

x86: Move definition of struct pmap to pmap_private.h.

This makes pmap_resident_count and pmap_wired_count out-of-line
functions instead of inline.  No functional change intended
otherwise.

Revision 1.128 / (download) - annotate - [select for diffs], Sat Aug 20 23:48:50 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.127: +1 -400 lines
Diff to previous 1.127 (colored) to selected 1.19 (colored)

x86: Split most of pmap.h into pmap_private.h or vmparam.h.

This way pmap.h only contains the MD definition of the MI pmap(9)
API, which loads of things in the kernel rely on, so changing x86
pmap internals no longer requires recompiling the entire kernel every
time.

Callers needing these internals must now use machine/pmap_private.h.
Note: This is not x86/pmap_private.h because it contains three parts:

1. CPU-specific (different for i386/amd64) definitions used by...

2. common definitions, including Xenisms like xpmap_ptetomach,
   further used by...

3. more CPU-specific inlines for pmap_pte_* operations

So {amd64,i386}/pmap_private.h defines 1, includes x86/pmap_private.h
for 2, and then defines 3.  Maybe we should split that out into a new
pmap_pte.h to reduce this trouble.

No functional change intended, other than that some .c files must
include machine/pmap_private.h when previously uvm/uvm_pmap.h
polluted the namespace with pmap internals.

Note: This migrates part of i386/pmap.h into i386/vmparam.h --
specifically the parts that are needed for several constants defined
in vmparam.h:

VM_MAXUSER_ADDRESS
VM_MAX_ADDRESS
VM_MAX_KERNEL_ADDRESS
VM_MIN_KERNEL_ADDRESS

Since i386 needs PDP_SIZE in vmparam.h, I added it there on amd64
too, just to keep things parallel.

Revision 1.127 / (download) - annotate - [select for diffs], Sat Aug 20 23:18:20 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.126: +1 -12 lines
Diff to previous 1.126 (colored) to selected 1.19 (colored)

x86: Move struct vm_page_md to common x86/pmap.h.

Revision 1.126 / (download) - annotate - [select for diffs], Sun Jul 19 13:55:09 2020 UTC (3 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.125: +1 -2 lines
Diff to previous 1.125 (colored) to selected 1.19 (colored)

don't include opt_user_ldt.h when it is not needed

Revision 1.125 / (download) - annotate - [select for diffs], Fri May 15 22:17:45 2020 UTC (3 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.124: +2 -5 lines
Diff to previous 1.124 (colored) to selected 1.19 (colored)

Revert previous after thinking about it.  It was wrong, don't need to use
an atomic to clear a PTE or set initial version unless the circumstances
call for it.

Revision 1.118.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:40 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.118.16.1: +5 -2 lines
Diff to previous 1.118.16.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored) to selected 1.19 (colored)

Merge changes from current as of 20200406

Revision 1.124 / (download) - annotate - [select for diffs], Tue Mar 17 18:17:07 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.123: +5 -2 lines
Diff to previous 1.123 (colored) to selected 1.19 (colored)

Always set PTEs using atomics.  There are too many assumptions to go wrong.

Revision 1.118.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:20 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.118: +22 -27 lines
Diff to previous 1.118 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.123 / (download) - annotate - [select for diffs], Sat Mar 9 09:09:56 2019 UTC (5 years ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.122: +13 -9 lines
Diff to previous 1.122 (colored) to selected 1.19 (colored)

New software PTE bits.

Revision 1.122 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (5 years, 1 month ago) by cherry
Branch: MAIN
Changes since 1.121: +8 -8 lines
Diff to previous 1.121 (colored) to selected 1.19 (colored)

We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.

Revision 1.118.14.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:25 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.118.14.1: +3 -2 lines
Diff to previous 1.118.14.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored) to selected 1.19 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.121 / (download) - annotate - [select for diffs], Mon Nov 19 20:44:51 2018 UTC (5 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored) to selected 1.19 (colored)

Introduce pl_pi, will be used soon.

Revision 1.120 / (download) - annotate - [select for diffs], Mon Nov 19 20:28:01 2018 UTC (5 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored) to selected 1.19 (colored)

Rename 'mask' -> 'frame', we will use the real 'mask' soon.

Revision 1.118.14.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:34 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.118: +1 -11 lines
Diff to previous 1.118 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.119 / (download) - annotate - [select for diffs], Wed Jul 25 11:47:07 2018 UTC (5 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.118: +1 -11 lines
Diff to previous 1.118 (colored) to selected 1.19 (colored)

Remove NPTECL, unused.

Revision 1.115.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:18 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.115.2.2: +0 -1 lines
Diff to previous 1.115.2.2 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored) to selected 1.19 (colored)

update from HEAD

Revision 1.117.8.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:01 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.117: +1 -2 lines
Diff to previous 1.117 (colored) next main 1.118 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.117.4.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:28 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.117: +1 -2 lines
Diff to previous 1.117 (colored) next main 1.118 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.118 / (download) - annotate - [select for diffs], Mon Sep 19 20:46:55 2016 UTC (7 years, 6 months ago) by maya
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.117: +1 -2 lines
Diff to previous 1.117 (colored) to selected 1.19 (colored)

move function prototype to x86, so it is available to amd64 too

Revision 1.115.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:06 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.115.2.1: +1 -0 lines
Diff to previous 1.115.2.1 (colored) to branchpoint 1.115 (colored) to selected 1.19 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.116.10.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:59 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored) next main 1.117 (colored) to selected 1.19 (colored)

Rebase.

Revision 1.110.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:52 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.110.2.2: +3 -1 lines
Diff to previous 1.110.2.2 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored) to selected 1.19 (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.116.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:12 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored) next main 1.117 (colored) to selected 1.19 (colored)

sync with head

Revision 1.117 / (download) - annotate - [select for diffs], Mon Apr 21 19:12:11 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, 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.116: +2 -1 lines
Diff to previous 1.116 (colored) to selected 1.19 (colored)

forward decl for struct pcb.

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:06 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored) to selected 1.19 (colored)

resync from head

Revision 1.116 / (download) - annotate - [select for diffs], Mon Mar 18 16:32:32 2013 UTC (11 years ago) by para
Branch: MAIN
CVS Tags: 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-earlyentropy, rmind-smpnet
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored) to selected 1.19 (colored)

i386 pmap.h got a forward declarition for vm_map from systm.h
insert a forward declaration

Revision 1.110.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:29 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.110.2.1: +37 -65 lines
Diff to previous 1.110.2.1 (colored) to branchpoint 1.110 (colored) to selected 1.19 (colored)

sync with head

Revision 1.112.4.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:30 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.112.4.1: +22 -55 lines
Diff to previous 1.112.4.1 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored) to selected 1.19 (colored)

sync to -current.

Revision 1.115 / (download) - annotate - [select for diffs], Sun Feb 19 10:39:06 2012 UTC (12 years, 1 month ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.114: +22 -55 lines
Diff to previous 1.114 (colored) to selected 1.19 (colored)

Removing remaining references to the alternate PTE space. Modify documentation appropriately

Revision 1.112.4.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:22 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.112: +16 -11 lines
Diff to previous 1.112 (colored) to selected 1.19 (colored)

merge to -current.

Revision 1.114 / (download) - annotate - [select for diffs], Thu Jan 19 22:00:57 2012 UTC (12 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base2
Changes since 1.113: +3 -3 lines
Diff to previous 1.113 (colored) to selected 1.19 (colored)

pmap_pte_set() is not supposed to be atomic, so only raise IPL, no need to
take pte_lock

Revision 1.113 / (download) - annotate - [select for diffs], Mon Jan 9 13:04:13 2012 UTC (12 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.112: +18 -13 lines
Diff to previous 1.112 (colored) to selected 1.19 (colored)

Make cross-cpu pte access MP safe.
XXX: review cases of use of pmap_set_pte() vs direct use of xpq_queue_pte_update()

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:41 2011 UTC (12 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.110: +2 -21 lines
Diff to previous 1.110 (colored) to selected 1.19 (colored)

sync with head

Revision 1.112 / (download) - annotate - [select for diffs], Sun Nov 6 15:18:18 2011 UTC (12 years, 4 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.111: +2 -9 lines
Diff to previous 1.111 (colored) to selected 1.19 (colored)

[merging from cherry-xenmp] make pmap_kernel() shadow PMD per-cpu and MP aware.

Revision 1.111 / (download) - annotate - [select for diffs], Sun Nov 6 11:40:46 2011 UTC (12 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.110: +1 -13 lines
Diff to previous 1.110 (colored) to selected 1.19 (colored)

[merging from cherry-xenmp] Make the xen MMU op queue locking api private. Implement per-cpu queues.

Revision 1.109.2.3 / (download) - annotate - [select for diffs], Tue Sep 20 18:57:51 2011 UTC (12 years, 6 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.109.2.2: +1 -13 lines
Diff to previous 1.109.2.2 (colored) to branchpoint 1.109 (colored) next main 1.110 (colored) to selected 1.19 (colored)

Remove the "xpq lock", since we have per-cpu mmu queues now. This may need further testing. Also add some preliminary locking around queue-ops in the network backend driver

Revision 1.103.8.4 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:25 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.103.8.3: +13 -1 lines
Diff to previous 1.103.8.3 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored) to selected 1.19 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.109.2.2 / (download) - annotate - [select for diffs], Sat Aug 20 19:22:46 2011 UTC (12 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.109.2.1: +2 -9 lines
Diff to previous 1.109.2.1 (colored) to branchpoint 1.109 (colored) to selected 1.19 (colored)

PAE MP support (preliminary), amd64 per-cpu L4 model redesigned, i386 pmap_pa_start/end fixup

Revision 1.110 / (download) - annotate - [select for diffs], Sat Aug 13 12:09:38 2011 UTC (12 years, 7 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-pagecache
Changes since 1.109: +13 -1 lines
Diff to previous 1.109 (colored) to selected 1.19 (colored)

Add locking around ops to the hypervisor MMU "queue".

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Sun Jul 31 20:49:11 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.109: +13 -1 lines
Diff to previous 1.109 (colored) to selected 1.19 (colored)

grow MP support for i386. boots to single user

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:50 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.108: +1 -8 lines
Diff to previous 1.108 (colored) next main 1.109 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.103.8.3 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:43 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.103.8.2: +1 -8 lines
Diff to previous 1.103.8.2 (colored) to branchpoint 1.103 (colored) to selected 1.19 (colored)

Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.

Revision 1.105.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:50:41 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.105: +76 -41 lines
Diff to previous 1.105 (colored) next main 1.106 (colored) to selected 1.19 (colored)

sync with head

Revision 1.108.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:26 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.108: +1 -8 lines
Diff to previous 1.108 (colored) next main 1.109 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.109 / (download) - annotate - [select for diffs], Tue Feb 1 20:09:08 2011 UTC (13 years, 1 month ago) by chuck
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: cherry-xenmp
Changes since 1.108: +1 -8 lines
Diff to previous 1.108 (colored) to selected 1.19 (colored)

udpate license clauses on my code to match the new-style BSD licenses.
based on diff that rmind@ sent me.

no functional change with this commit.

Revision 1.103.8.2 / (download) - annotate - [select for diffs], Mon Jan 10 00:37:30 2011 UTC (13 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.103.8.1: +12 -1 lines
Diff to previous 1.103.8.1 (colored) to branchpoint 1.103 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.103.14.3 / (download) - annotate - [select for diffs], Tue Nov 16 02:50:13 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.103.14.2: +11 -0 lines
Diff to previous 1.103.14.2 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.108 / (download) - annotate - [select for diffs], Sun Nov 14 13:33:21 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base6, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.107: +12 -1 lines
Diff to previous 1.107 (colored) to selected 1.19 (colored)

Move struct vm_page_md definition from vmparam.h to pmap.h, because
it's used only by pmap.  vmparam.h has definitions for wider
audience.

All GENERIC kernels build tested, except ia64.

powerpc/include/booke/vmparam.h has one too, but it has no pmap.h,
so it's left as is.

Revision 1.103.8.1 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:02 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.103: +66 -39 lines
Diff to previous 1.103 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.103.14.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:38 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.103.14.1: +64 -33 lines
Diff to previous 1.103.14.1 (colored) to branchpoint 1.103 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.102.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:12 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.102.10.2: +65 -34 lines
Diff to previous 1.102.10.2 (colored) to branchpoint 1.102 (colored) next main 1.103 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.107 / (download) - annotate - [select for diffs], Sat Jul 24 00:45:55 2010 UTC (13 years, 8 months ago) by jym
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.106: +64 -32 lines
Diff to previous 1.106 (colored) to selected 1.19 (colored)

Welcome PAE inside i386 current.

This patch is inspired by work previously done by Jeremy Morse, ported by me
to -current, merged with the work previously done for port-xen, together with
additionals fixes and improvements.

PAE option is disabled by default in GENERIC (but will be enabled in ALL in
the next few days).

In quick, PAE switches the CPU to a mode where physical addresses become
36 bits (64 GiB). Virtual address space remains at 32 bits (4 GiB). To cope
with the increased size of the physical address, they are manipulated as
64 bits variables by kernel and MMU.

When supported by the CPU, it also allows the use of the NX/XD bit that
provides no-execution right enforcement on a per physical page basis.

Notes:

- reworked locore.S

- introduce cpu_load_pmap(), used to switch pmap for the curcpu. Due to the
different handling of pmap mappings with PAE vs !PAE, Xen vs native, details
are hidden within this function. This helps calling it from assembly,
as some features, like BIOS calls, switch to pmap_kernel before mapping
trampoline code in low memory.

- some changes in bioscall and kvm86_call, to reflect the above.

- the L3 is "pinned" per-CPU, and is only manipulated by a
reduced set of functions within pmap. To track the L3, I added two
elements to struct cpu_info, namely ci_l3_pdirpa (PA of the L3), and
ci_l3_pdir (the L3 VA). Rest of the code considers that it runs "just
like" a normal i386, except that the L2 is 4 pages long (PTP_LEVELS is
still 2).

- similar to the ci_pae_l3_pdir{,pa} variables, amd64's xen_current_user_pgd
becomes an element of cpu_info (slowly paving the way for MP world).

- bootinfo_source struct declaration is modified, to cope with paddr_t size
change with PAE (it is not correct to assume that bs_addr is a paddr_t when
compiled with PAE - it should remain 32 bits). bs_addrs is now a
void * array (in bootloader's code under i386/stand/, the bs_addrs
is a physaddr_t, which is an unsigned long).

- fixes in multiboot code (same reason as bootinfo): paddr_t size
change. I used Elf32_* types, use RELOC() where necessary, and move the
memcpy() functions out of the if/else if (I do not expect sym and str tables
to overlap with ELF).

- 64 bits atomic functions for pmap

- all pmap_pdirpa access are now done through the pmap_pdirpa macro. It
hides the L3/L2 stuff from PAE, as well as the pm_pdirpa change in
struct pmap (it now becomes a PDP_SIZE array, with or without PAE).

- manipulation of recursive mappings ( PDIR_SLOT_{,A}PTEs ) is done via
loops on PDP_SIZE.

See also http://mail-index.netbsd.org/port-i386/2010/07/17/msg002062.html

No objection raised on port-i386@ and port-xen@R for about a week.

XXX kvm(3) will be fixed in another patch to properly handle both PAE and !PAE
kernel dumps (VA => PA macros are slightly different, and need proper 64 bits
PA support in kvm_i386).

XXX Mixing PAE and !PAE modules may lead to unwanted/unexpected results. This
cannot be solved easily, and needs lots of thinking before being declared
safe (paddr_t/bus_addr_t size handling, PD/PT macros abstractions).

Revision 1.106 / (download) - annotate - [select for diffs], Thu Jul 15 18:58:40 2010 UTC (13 years, 8 months ago) by jym
Branch: MAIN
Changes since 1.105: +2 -3 lines
Diff to previous 1.105 (colored) to selected 1.19 (colored)

Purely cosmetic: move L2_SLOT_KERNBASE out of the PAE #ifdef/#endif block.

Revision 1.103.14.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:30 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.103: +3 -7 lines
Diff to previous 1.103 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.102.10.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:29 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.102.10.1: +3 -7 lines
Diff to previous 1.102.10.1 (colored) to branchpoint 1.102 (colored) to selected 1.19 (colored)

sync with head

Revision 1.105 / (download) - annotate - [select for diffs], Mon Mar 1 00:55:33 2010 UTC (14 years, 1 month ago) by jym
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.104: +2 -6 lines
Diff to previous 1.104 (colored) to selected 1.19 (colored)

Use PDP_SIZE for NTOPLEVEL_PDES (number of top level PDEs) instead of
#ifdef'ing PAE.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Feb 9 22:51:13 2010 UTC (14 years, 1 month ago) by jym
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.19 (colored)

Fix typos in comments.

Revision 1.102.10.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:17 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.102.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:04 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.102: +1 -1 lines
Diff to previous 1.102 (colored) next main 1.103 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.102.16.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:14 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored) next main 1.103 (colored) to selected 1.19 (colored)

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

Revision 1.103 / (download) - annotate - [select for diffs], Sun Oct 26 06:57:30 2008 UTC (15 years, 5 months ago) by mrg
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, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, 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, jymxensuspend-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, jym-xensuspend
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored) to selected 1.19 (colored)

- use _I386_FOO_H for multi-include protection
- use <i386/foo.h> in a couple of places

Revision 1.89.22.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:07 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.89.22.2: +153 -12 lines
Diff to previous 1.89.22.2 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.19 (colored)

sync with HEAD

Revision 1.94.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:40 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.94.2.1: +153 -12 lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.82.12.7 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:08 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.82.12.6: +72 -17 lines
Diff to previous 1.82.12.6 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.102 / (download) - annotate - [select for diffs], Wed Jan 23 19:46:44 2008 UTC (16 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, mjf-devfs2, haad-dm
Changes since 1.101: +72 -17 lines
Diff to previous 1.101 (colored) to selected 1.19 (colored)

Merge the bouyer-xeni386 branch. This brings in PAE support to NetBSD xeni386
(domU only). PAE support is enabled by 'options PAE', see the new XEN3PAE_DOMU
and INSTALL_XEN3PAE_DOMU kernel config files.

See the comments in arch/i386/include/{pte.h,pmap.h} to see how it works.
In short, we still handle it as a 2-level MMU, with the second level page
directory being 4 pages in size. pmap switching is done by switching the
L2 pages in the L3 entries, instead of loading %cr3. This is almost required
by Xen, which handle the last L2 page (the one mapping 0xc0000000 - 0xffffffff)
in a very special way. But this approach should also work for native PAE
support if ever supported (in fact, the pmap should almost suport native
PAE, what's missing is bootstrap code in locore.S).

Revision 1.82.12.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:37:08 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.82.12.5: +89 -3 lines
Diff to previous 1.82.12.5 (colored) to branchpoint 1.82 (colored) to selected 1.19 (colored)

sync with head

Revision 1.97.6.9 / (download) - annotate - [select for diffs], Sun Jan 20 18:42:39 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.8: +3 -3 lines
Diff to previous 1.97.6.8 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored) to selected 1.19 (colored)

Sync with HEAD: make first argument of pmap_pte_cas() volatile.

Revision 1.101 / (download) - annotate - [select for diffs], Sun Jan 20 18:41:48 2008 UTC (16 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored) to selected 1.19 (colored)

Make first argument of Xen's pmap_pte_cas() volatile, fix a warning
building pmap.c.

Revision 1.97.6.8 / (download) - annotate - [select for diffs], Sat Jan 19 14:08:09 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.7: +2 -2 lines
Diff to previous 1.97.6.7 (colored) to branchpoint 1.97 (colored) to selected 1.19 (colored)

Make things build again after sync with HEAD

Revision 1.97.6.7 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:22 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.6: +16 -1 lines
Diff to previous 1.97.6.6 (colored) to branchpoint 1.97 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.97.6.6 / (download) - annotate - [select for diffs], Fri Jan 18 21:32:27 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.5: +14 -1 lines
Diff to previous 1.97.6.5 (colored) to branchpoint 1.97 (colored) to selected 1.19 (colored)

Fix APDP handling. A XEN i386PAE kernel now boots multiuser

Revision 1.97.6.5 / (download) - annotate - [select for diffs], Thu Jan 17 19:15:23 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.4: +13 -3 lines
Diff to previous 1.97.6.4 (colored) to branchpoint 1.97 (colored) to selected 1.19 (colored)

- Fix L2_SLOT_APTE value (not sure how I got this value but it was definitively
  wrong)
- Use global variable for the PAE L3 page adresses, so that pmap.c can get it
  from the bootstrap code
- Extent the size of our virtual PDP from 3 to 4 pages, so that pmap->pm_pdir[]
  is contigous for the whole VA range. The last page is a shadow of
  the kernel's real PDP (L3[3]).
- make pm_pdirpa an array of 4 paddr_t if using PAE. introduce a
  pmap_pdirpa macro to get the physical address of a given PD entry.
- fix pmap_map_pte

The kernel now boots single-user. fsck will cause a kernel fault in
pmap_pdes_invalid() on exit.

Revision 1.97.6.4 / (download) - annotate - [select for diffs], Tue Jan 15 22:15:57 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.3: +6 -4 lines
Diff to previous 1.97.6.3 (colored) to branchpoint 1.97 (colored) to selected 1.19 (colored)

Snapshot of work in progress: an Xen i386PAE kernel boots and start init
on a amd64 dom0, but panics when init forks.
This code needs a lot of cleanup, and the pmap handling is minimal to
allow init to start. It's a proof of concept of how PAE on Xen can work.

For PAE guest, the Xen MMU handling differs in some significant way
from the i386 or amd64 Xen.
The L3 page has only 4 entries, the last one mapping 0xc0000000->0xffffffff
(which happens to be our kenrel VM range, that's cool). The L2 page
pointed to by this last entry is handled specially by Xen because it
contains some Xen private mapping, including a recursive mapping. So this
page can only be pointed to by exactly one L3 entry, and nothing else
(it can't be part of a recursive mapping for example). In addition, it
would waste too much VA space to do recursive mapping at the L3 level.

We do pmap switching at the L# level, instead of doing it though %cr3.
%cr3 is static, as is L3[3] which contains only kenrel mappings.
pmap_load() does pmap switching though the first 3 entries for L3.

PTE mapping is done though 4 contigous L2 entries; the last one pointing
to a shadow of L3[3]. This way we can consider we have a 2-level VM system,
but with the L2 being 4 pages in size instead of one. The plx_i()
macros can be used with it to access the PTE without changes.

This can be reused as is for native PAE support (without the L3[3] shadow
which wouldn't be needed here)

Revision 1.97.6.3 / (download) - annotate - [select for diffs], Sun Jan 13 19:02:05 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.2: +35 -14 lines
Diff to previous 1.97.6.2 (colored) to branchpoint 1.97 (colored) to selected 1.19 (colored)

Update system macros for PAE. Because the L3 page directory has only 4 entries,
and because of the way Xen handles it, it's better to have it has static as
possible. So we claim to have only 2 levels, with level 2 being a
"super" PD of 4 pages. pmap switches will be handled by changing the
L3 entries instead of %cr3. Only the first 3 entries will have to be changed,
the last one mapping KVA space only.

Revision 1.97.6.2 / (download) - annotate - [select for diffs], Sun Jan 13 11:26:57 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.97.6.1: +9 -6 lines
Diff to previous 1.97.6.1 (colored) to branchpoint 1.97 (colored) to selected 1.19 (colored)

Work in progress on xeni386 PAE support:
Make xeni386 build with a 64bit paddr_t. For this vaddr_t vs paddr_t vs
pointers usages had to be clarified.
If 'options PAE' is present in a Xen3 kernel, switch paddr_t, pd_entry_t
and pt_entry_t to 64bits, and add the PAE entry in the __xen_guest ELF section.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jan 13 07:05:42 2008 UTC (16 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: bouyer-xeni386-base
Changes since 1.99: +16 -1 lines
Diff to previous 1.99 (colored) to selected 1.19 (colored)

add pmap_pte_cas.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jan 12 18:16:20 2008 UTC (16 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.98: +1 -7 lines
Diff to previous 1.98 (colored) to selected 1.19 (colored)

Xen doesn't need NKPTP_MIN/NKPTP_MAX any more.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:15 2008 UTC (16 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.97: +80 -3 lines
Diff to previous 1.97 (colored) to selected 1.19 (colored)

Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the
branch is still active and will see i386PAE support developement).
Sumary of changes:
- switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c
  pmap bootstrap.
- merge back most of xen/i386/ to i386/i386
- change the build to reduce diffs between i386 and amd64 in file locations
- remove include files that were identical to the i386/amd64 counterparts,
  the build will find them via the xen-ma/machine link.

Revision 1.89.22.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:42 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.89.22.1: +13 -7 lines
Diff to previous 1.89.22.1 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

sync with HEAD

Revision 1.97.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 23:02:56 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.97: +80 -3 lines
Diff to previous 1.97 (colored) to selected 1.19 (colored)

Switch i386 to x86/x86/pmap.c

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:12 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.94: +13 -7 lines
Diff to previous 1.94 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.82.12.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:25:03 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.82.12.4: +13 -7 lines
Diff to previous 1.82.12.4 (colored) to branchpoint 1.82 (colored) to selected 1.19 (colored)

sync with head

Revision 1.89.4.8 / (download) - annotate - [select for diffs], Mon Dec 3 18:36:52 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.89.4.7: +13 -7 lines
Diff to previous 1.89.4.7 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.89.20.6 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:04 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.89.20.5: +9 -7 lines
Diff to previous 1.89.20.5 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.97 / (download) - annotate - [select for diffs], Wed Nov 28 16:44:46 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.96: +1 -3 lines
Diff to previous 1.96 (colored) to selected 1.19 (colored)

Remove remaining CPUCLASS_386 tests.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Nov 28 16:28:44 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.95: +9 -5 lines
Diff to previous 1.95 (colored) to selected 1.19 (colored)

Use the new atomic ops.

Revision 1.89.20.5 / (download) - annotate - [select for diffs], Tue Nov 27 19:35:40 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.89.20.4: +6 -2 lines
Diff to previous 1.89.20.4 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:46 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.94: +6 -2 lines
Diff to previous 1.94 (colored) to selected 1.19 (colored)

Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.

Revision 1.89.22.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:17:43 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.89: +96 -330 lines
Diff to previous 1.89 (colored) to selected 1.19 (colored)

sync with HEAD

Revision 1.82.12.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:45 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.82.12.3: +91 -344 lines
Diff to previous 1.82.12.3 (colored) to branchpoint 1.82 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.89.20.4 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:38 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.89.20.3: +89 -345 lines
Diff to previous 1.89.20.3 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.91.2.3 / (download) - annotate - [select for diffs], Fri Oct 26 13:46:51 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.91.2.2: +4 -1 lines
Diff to previous 1.91.2.2 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored) to selected 1.19 (colored)

Make amd64, i386 and xen kernels build and work again.

Revision 1.91.2.2 / (download) - annotate - [select for diffs], Thu Oct 25 23:59:23 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.91.2.1: +2 -1 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored) to selected 1.19 (colored)

Finish sync with HEAD. Especially use the new x86 pmap for xenamd64.
For this:
- rename pmap_pte_set() to pmap_pte_testset()
- make pmap_pte_set() a function or macro for non-atomic PTE write
- define and use pmap_pa2pte()/pmap_pte2pa() to read/write PTE entries
- define pmap_pte_flush() which is a nop in x86 case, and flush the
  MMUops queue in the Xen case

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:35:53 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.91: +89 -344 lines
Diff to previous 1.91 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.89.4.7 / (download) - annotate - [select for diffs], Tue Oct 23 20:13:07 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.89.4.6: +89 -344 lines
Diff to previous 1.89.4.6 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

Sync with head.

Revision 1.94 / (download) - annotate - [select for diffs], Thu Oct 18 15:28:37 2007 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.93: +88 -343 lines
Diff to previous 1.93 (colored) to selected 1.19 (colored)

merge yamt-x86pmap branch.

- reduce differences between amd64 and i386.  notably, share pmap.c
  between them.  it makes several i386 pmap improvements available to
  amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
- implement deferred pmap switching for amd64.
- remove LARGEPAGES option.  always use large pages if available.
  also, make it work on amd64.

Revision 1.90.2.13 / (download) - annotate - [select for diffs], Thu Oct 18 08:32:00 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.12: +2 -2 lines
Diff to previous 1.90.2.12 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:57 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.92: +1 -1 lines
Diff to previous 1.92 (colored) to selected 1.19 (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.89.12.2 / (download) - annotate - [select for diffs], Wed Oct 17 18:27:53 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.89.12.1: +2 -2 lines
Diff to previous 1.89.12.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.92 / (download) - annotate - [select for diffs], Wed Oct 17 17:33:22 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: ppcoea-renovation-base
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored) to selected 1.19 (colored)

Match amd64:

-#if defined(_KERNEL) || defined(_LKM)
+#if defined(_KERNEL)

Revision 1.90.2.12 / (download) - annotate - [select for diffs], Sun Oct 14 11:58:18 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.11: +2 -0 lines
Diff to previous 1.90.2.11 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

forward decl of trapframe.

Revision 1.89.4.6 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:06 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.89.4.5: +4 -2 lines
Diff to previous 1.89.4.5 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

Sync with head.

Revision 1.90.2.11 / (download) - annotate - [select for diffs], Mon Oct 8 06:35:50 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.10: +3 -335 lines
Diff to previous 1.90.2.10 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

merge some parts of x86 pmap.h.

Revision 1.90.2.10 / (download) - annotate - [select for diffs], Sun Oct 7 17:22:35 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.9: +2 -2 lines
Diff to previous 1.90.2.9 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

tweak assertions to reduce diffs between i386 and amd64.

Revision 1.90.2.9 / (download) - annotate - [select for diffs], Sun Oct 7 14:56:33 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.8: +3 -3 lines
Diff to previous 1.90.2.8 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

remove unnecessary casts.

Revision 1.90.2.8 / (download) - annotate - [select for diffs], Sun Oct 7 13:44:34 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.7: +5 -1 lines
Diff to previous 1.90.2.7 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

sync comments and whitespaces.

Revision 1.90.2.7 / (download) - annotate - [select for diffs], Sun Oct 7 13:24:33 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.6: +0 -1 lines
Diff to previous 1.90.2.6 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

g/c nkpde.

Revision 1.90.2.6 / (download) - annotate - [select for diffs], Sun Oct 7 13:22:14 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.5: +0 -1 lines
Diff to previous 1.90.2.5 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

whitespace.

Revision 1.90.2.5 / (download) - annotate - [select for diffs], Sun Oct 7 12:13:56 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.4: +1 -4 lines
Diff to previous 1.90.2.4 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

remove unused definitions.

Revision 1.90.2.4 / (download) - annotate - [select for diffs], Sat Oct 6 15:34:55 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.3: +4 -2 lines
Diff to previous 1.90.2.3 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.90.2.3 / (download) - annotate - [select for diffs], Thu Oct 4 15:36:57 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.2: +4 -9 lines
Diff to previous 1.90.2.2 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

remove LARGEPAGES option.  always use large pages if available.

Revision 1.89.12.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:53 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.89: +31 -10 lines
Diff to previous 1.89 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.89.20.3 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:25 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.89.20.2: +4 -2 lines
Diff to previous 1.89.20.2 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Sep 26 21:27:48 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.90: +4 -2 lines
Diff to previous 1.90 (colored) to selected 1.19 (colored)

Only include machine/cpufunc.h if _KERNEL.

Revision 1.90.2.2 / (download) - annotate - [select for diffs], Mon Sep 24 10:56:49 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90.2.1: +4 -8 lines
Diff to previous 1.90.2.1 (colored) to branchpoint 1.90 (colored) to selected 1.19 (colored)

remove hardcoded numbers of PTPs used for kernel image and bootstrap tables.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Sun Sep 23 18:28:18 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.90: +130 -45 lines
Diff to previous 1.90 (colored) to selected 1.19 (colored)

- sync with amd64.
- pmap_alloc_level: remove fast call special case.
- tweak some printf to work for both of LP64 and LP32.
- remove machdep.nkpde sysctl.
- remove automatic adjustment of nkpde for now.  will revisit later.

Revision 1.89.20.2 / (download) - annotate - [select for diffs], Mon Sep 10 15:00:10 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.89.20.1: +2 -1 lines
Diff to previous 1.89.20.1 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

Introduce pmap_init_tmp_pgtbl to build a temporary copy of the kernel
side page mapping and an identity mapping low page for use in real mode.
Switch MP bootstrap and i386 ACPI wakeup code to use it.

Revision 1.89.20.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:25 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.89: +28 -9 lines
Diff to previous 1.89 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.82.12.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:48 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.82.12.2: +28 -9 lines
Diff to previous 1.82.12.2 (colored) to branchpoint 1.82 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.89.16.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:19:05 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.89: +28 -9 lines
Diff to previous 1.89 (colored) next main 1.90 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Aug 29 23:38:05 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.89: +28 -9 lines
Diff to previous 1.89 (colored) to selected 1.19 (colored)

Merge most x86 changes from the vmlocking branch, except the threaded soft
interrupt stuff. This is mostly comprised of changes to the pmap modules to
work on multiprocessor systems without kernel_lock, and changes to speed up
tlb shootdowns.

Revision 1.89.4.5 / (download) - annotate - [select for diffs], Thu Aug 23 12:11:08 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.89.4.4: +6 -1 lines
Diff to previous 1.89.4.4 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

Add pmap_pte_set, pmap_pte_setbits, pmap_pte_clearbits where missing.

Revision 1.89.4.4 / (download) - annotate - [select for diffs], Tue Aug 21 10:36:53 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.89.4.3: +1 -2 lines
Diff to previous 1.89.4.3 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

- Add ci_cpumask and use in preference to (1 << ci_cpuid). Some processors
  are bad at shifting by non-constant amounts.
- pmap_tlb_shootdown() must be called with preemption disabled.
- Defer waiting for tlb shootdown to complete after kenter_pa()/kremove().
  Spin in pmap_update() and in pmap_detactivate(), in case the LWP has been
  preempted
- When preparing to send a multicast shootdown IPI, avoid scanning the list
  of CPUs if the pmap's bitmask indicates that it's only active locally.

Revision 1.89.4.3 / (download) - annotate - [select for diffs], Sat Aug 18 06:04:12 2007 UTC (16 years, 7 months ago) by yamt
Branch: vmlocking
Changes since 1.89.4.2: +3 -1 lines
Diff to previous 1.89.4.2 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

- fix TLB problems in recursive PTE mappings, which causes various crashes.
 as they are used by the kernel itself, they need to be synced regardless
 of lazy tlb flushing mode.

- pmap_tlb_shootdown: fix the case of sva != -1 && eva == 0.

ok'ed by Andrew Doran.

Revision 1.89.4.2 / (download) - annotate - [select for diffs], Sun Jul 29 10:18:50 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.89.4.1: +18 -4 lines
Diff to previous 1.89.4.1 (colored) to branchpoint 1.89 (colored) to selected 1.19 (colored)

- When zeroing/copying pages, use SSE2 movtni to avoid polluting the cache.
- By default, align assembly routines on 32-byte starting boundaries.
- There are now 8 interrupt priority levels, half of which are softints.
  Update intrdefs.h to match.
- Always clear/set spinlock words - removes lots of ifdefs.
- Remove the horrible ci_self150 hack that I introduced.
- Overhaul how TLB shootdown is performed. Inspired by a similar change in
  OpenBSD but implemented quite differently. This should be a lot faster
  but I have not benchmarked it yet.

Revision 1.89.4.1 / (download) - annotate - [select for diffs], Sat Apr 28 21:05:55 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.89: +4 -5 lines
Diff to previous 1.89 (colored) to selected 1.19 (colored)

- Make the PV cache per-CPU and eliminate the global pvalloc_lock. Cuts
  contention on the freelist locks by a factor of ~50 on a dual core box.
- Mirror a patch for amd64 posted by oster@, and make the TLB shootdown
  freelist per-CPU. Increase the number of TLB shootdown jobs from 16
  to 32 per CPU.

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:51:54 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored) next main 1.89 (colored) to selected 1.19 (colored)

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

Revision 1.82.12.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:02 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.82.12.1: +4 -4 lines
Diff to previous 1.82.12.1 (colored) to branchpoint 1.82 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:45 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored) to selected 1.19 (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.86.16.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:11 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86.16.1: +2 -2 lines
Diff to previous 1.86.16.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.86.14.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:19 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.86: +1 -1 lines
Diff to previous 1.86 (colored) next main 1.87 (colored) to selected 1.19 (colored)

Sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:38 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored) to selected 1.19 (colored)

__unused removal on arguments; approved by core.

Revision 1.86.16.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:48 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.19 (colored)

sync with head

Revision 1.87 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:43 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.19 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:40:14 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.85: +8 -8 lines
Diff to previous 1.85 (colored) next main 1.86 (colored) to selected 1.19 (colored)

sync with head

Revision 1.82.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:30 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.82: +5 -5 lines
Diff to previous 1.82 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.85.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:33 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.85: +8 -8 lines
Diff to previous 1.85 (colored) next main 1.86 (colored) to selected 1.19 (colored)

Sync with head.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:37 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.85: +8 -8 lines
Diff to previous 1.85 (colored) next main 1.86 (colored) to selected 1.19 (colored)

sync with head.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:13 2006 UTC (18 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.85: +8 -8 lines
Diff to previous 1.85 (colored) to selected 1.19 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Dec 26 19:23:59 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored) to selected 1.19 (colored)

u_intN_t -> uintN_t

Revision 1.84 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:10 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Changes since 1.83: +8 -8 lines
Diff to previous 1.83 (colored) to selected 1.19 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.73.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 13:56:53 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.6: +3 -3 lines
Diff to previous 1.73.2.6 (colored) next main 1.74 (colored) to selected 1.19 (colored)

Sync with HEAD. Here we go again...

Revision 1.83 / (download) - annotate - [select for diffs], Mon Aug 8 05:54:07 2005 UTC (18 years, 7 months ago) by junyoung
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
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored) to selected 1.19 (colored)

- Fix typo in comment.
- Remove trailing spaces.

Revision 1.73.2.6 / (download) - annotate - [select for diffs], Tue Sep 21 13:16:56 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.5: +1 -1 lines
Diff to previous 1.73.2.5 (colored) to selected 1.19 (colored)

Fix the sync with head I botched.

Revision 1.73.2.5 / (download) - annotate - [select for diffs], Sat Sep 18 14:35:40 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.4: +1 -1 lines
Diff to previous 1.73.2.4 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.73.2.4 / (download) - annotate - [select for diffs], Fri Sep 3 12:44:48 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.3: +3 -3 lines
Diff to previous 1.73.2.3 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.82 / (download) - annotate - [select for diffs], Thu Aug 26 10:12:33 2004 UTC (19 years, 7 months ago) by junyoung
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored) to selected 1.19 (colored)

As suggested on tech-kern@ days ago:
* Get rid of PTmap, PTD, PTDpde, APTmap, APTD, and APTDpde from locore.S.
* Rename PTDpaddr to PDPpaddr, ptdpaddr in struct cpu_kcore_hdr to pdppaddr for consistency.

Revision 1.73.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:19 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.2: +6 -6 lines
Diff to previous 1.73.2.2 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Aug 22 05:36:42 2004 UTC (19 years, 7 months ago) by junyoung
Branch: MAIN
Changes since 1.80: +6 -6 lines
Diff to previous 1.80 (colored) to selected 1.19 (colored)

Fix various typos in comments including ones that weren't noticed
for years.

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:13 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73.2.1: +3 -3 lines
Diff to previous 1.73.2.1 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Aug 5 15:26:59 2004 UTC (19 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) to selected 1.19 (colored)

Set NKPTP default to 0 (it's calculated in locore).  Also reduce NKPTP_MIN to
2 -- though, with our current rounding of the data section, we will never take
advantage of that.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:36:04 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.73: +26 -29 lines
Diff to previous 1.73 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Fri Feb 20 17:35:01 2004 UTC (20 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.78: +3 -1 lines
Diff to previous 1.78 (colored) to selected 1.19 (colored)

defer pmap switching until it's really needed
to avoid frequent loading of cr3 register, which involves tlb flush.

with some fixes/improvements from Stephan Uphoff and Bang Jun-Young.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Oct 27 13:44:20 2003 UTC (20 years, 5 months ago) by junyoung
Branch: MAIN
Changes since 1.77: +17 -18 lines
Diff to previous 1.77 (colored) to selected 1.19 (colored)

Nuke __P().

Revision 1.77 / (download) - annotate - [select for diffs], Thu Oct 23 08:30:21 2003 UTC (20 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored) to selected 1.19 (colored)

rename pv_next to pv_node.  use SPLAY_RIGHT() instead of expanding it inline.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Oct 23 03:03:20 2003 UTC (20 years, 5 months ago) by provos
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored) to selected 1.19 (colored)

changed linked list in pmap_remove_pv to a splay tree; approved: fvdl@

Revision 1.75 / (download) - annotate - [select for diffs], Sun Aug 24 17:52:33 2003 UTC (20 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.74: +5 -2 lines
Diff to previous 1.74 (colored) to selected 1.19 (colored)

add support for non-executable mappings (where the hardware allows this)
and make the stack and heap non-executable by default.  the changes
fall into two basic catagories:

 - pmap and trap-handler changes.  these are all MD:
   = alpha: we already track per-page execute permission with the (software)
	PG_EXEC bit, so just have the trap handler pay attention to it.
   = i386: use a new GDT segment for %cs for processes that have no
	executable mappings above a certain threshold (currently the
	bottom of the stack).  track per-page execute permission with
	the last unused PTE bit.
   = powerpc/ibm4xx: just use the hardware exec bit.
   = powerpc/oea: we already track per-page exec bits, but the hardware only
	implements non-exec mappings at the segment level.  so track the
	number of executable mappings in each segment and turn on the no-exec
	segment bit iff the count is 0.  adjust the trap handler to deal.
   = sparc (sun4m): fix our use of the hardware protection bits.
	fix the trap handler to recognize text faults.
   = sparc64: split the existing unified TSB into data and instruction TSBs,
	and only load TTEs into the appropriate TSB(s) for the permissions.
	fix the trap handler to check for execute permission.
   = not yet implemented: amd64, hppa, sh5

 - changes in all the emulations that put a signal trampoline on the stack.
   instead, we now put the trampoline into a uvm_aobj and map that into
   the process separately.

originally from openbsd, adapted for netbsd by me.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jul 22 13:55:33 2003 UTC (20 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.73: +1 -8 lines
Diff to previous 1.73 (colored) to selected 1.19 (colored)

move pv_head and page attributes into md part of vm_page structure
instead of having separate arrays for them.
(i.e. use __HAVE_VM_PAGE_MD instead of __HAVE_PMAP_PHYSSEG.)

Revision 1.73 / (download) - annotate - [select for diffs], Wed Apr 9 18:22:15 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.72: +6 -1 lines
Diff to previous 1.72 (colored) to selected 1.19 (colored)

Add the ability for pool caches to cache the physical address of
objects.  Clients of the pool_cache API must consistently use
the "paddr" variants or not, otherwise behavior is undefined.

Enable this on Alpha, ARM, MIPS, and x86.  Other platforms must
define POOL_VTOPHYS() in the appropriate manner in order to enable
the feature.

Part 1 of a series of simple patches contributed by Wasabi Systems
to improve network performance.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Apr 9 18:17:34 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.71: +1 -6 lines
Diff to previous 1.71 (colored) to selected 1.19 (colored)

Remove something accidentally included in last commit.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Apr 2 07:35:59 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.70: +13 -8 lines
Diff to previous 1.70 (colored) to selected 1.19 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Mar 3 22:13:16 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.69: +4 -1 lines
Diff to previous 1.69 (colored) to selected 1.19 (colored)

define pmap_cpu_has_pg_n and pmap_cpu_has_invlpg to make code sharing
easier.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Feb 26 21:29:02 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.68: +4 -4 lines
Diff to previous 1.68 (colored) to selected 1.19 (colored)

Redirect some includes to x86/foo.h

Revision 1.68 / (download) - annotate - [select for diffs], Wed Jan 29 14:12:35 2003 UTC (21 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.67: +2 -6 lines
Diff to previous 1.67 (colored) to selected 1.19 (colored)

give some VM which was reserved for the UAREA but not used anymore back
to the user and adjust some comments (which were not accurate anyway
since NOREDZONE)
binary compatibility note: changing VM_MAXUSER_ADDRESS might influence
some sanity check in kvm_proc, where arguments on the stack are dealt
with, but it was a variable anyway and noone did care...

Revision 1.67 / (download) - annotate - [select for diffs], Fri Jan 17 23:10:29 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored) to selected 1.19 (colored)

Merge the nathanw_sa branch.

Revision 1.53.2.8 / (download) - annotate - [select for diffs], Mon Nov 11 21:59:18 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.53.2.7: +1 -0 lines
Diff to previous 1.53.2.7 (colored) next main 1.54 (colored) to selected 1.19 (colored)

Catch up to -current

Revision 1.66 / (download) - annotate - [select for diffs], Sat Nov 2 07:07:09 2002 UTC (21 years, 5 months ago) by perry
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored) to selected 1.19 (colored)

/*ARGSUSED*/ one function -- eliminates 414 lint complaints

Revision 1.53.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:37:57 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.53.2.6: +31 -22 lines
Diff to previous 1.53.2.6 (colored) to selected 1.19 (colored)

Catch up to -current.

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:33:30 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.58.2.3: +31 -22 lines
Diff to previous 1.58.2.3 (colored) next main 1.59 (colored) to selected 1.19 (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.65 / (download) - annotate - [select for diffs], Tue Oct 1 12:57:08 2002 UTC (21 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.64: +25 -22 lines
Diff to previous 1.64 (colored) to selected 1.19 (colored)

Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Sep 22 07:53:42 2002 UTC (21 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored) to selected 1.19 (colored)

it really helps to get the stub right before cutting + pasting it 27 times.
alas, I did not.  doh.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Sep 22 07:17:12 2002 UTC (21 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.62: +7 -1 lines
Diff to previous 1.62 (colored) to selected 1.19 (colored)

add pmap_remove_all() hook (empty on most platforms so far).

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:44:52 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.58.2.2: +12 -24 lines
Diff to previous 1.58.2.2 (colored) to selected 1.19 (colored)

Sync kqueue branch with -current.

Revision 1.53.2.6 / (download) - annotate - [select for diffs], Tue Jan 8 00:25:33 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.53.2.5: +11 -23 lines
Diff to previous 1.53.2.5 (colored) to selected 1.19 (colored)

Catch up to -current.

Revision 1.43.2.16 / (download) - annotate - [select for diffs], Sat Dec 29 21:09:09 2001 UTC (22 years, 3 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
CVS Tags: i386mp_plus16_stable
Changes since 1.43.2.15: +10 -22 lines
Diff to previous 1.43.2.15 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.19 (colored)

Yet another mergeup.

New work:
 - Frank van der Linden's tlb shootdown fix.
Mainline functionality merged:
 - IrDA
 - Kernel RCSID's
 - Transmeta CPU support
 - ACPI
 - XMM register access through procfs

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 23 23:08:41 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: sommerfeld_i386mpnext, sommerfeld_i386mpbase_1, 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, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.61: +11 -23 lines
Diff to previous 1.61 (colored) to selected 1.19 (colored)

Use ANSI declarations for static inline functions, and give them
the __unused__ attribute.

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:12:48 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.53.2.4: +2 -2 lines
Diff to previous 1.53.2.4 (colored) to selected 1.19 (colored)

Catch up to -current.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:17:06 2001 UTC (22 years, 4 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) next main 1.61 (colored) to selected 1.19 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.61 / (download) - annotate - [select for diffs], Wed Nov 7 10:52:08 2001 UTC (22 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) to selected 1.19 (colored)

correct comment.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:40:01 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored) to selected 1.19 (colored)

Catch up with -current.

Revision 1.43.2.15 / (download) - annotate - [select for diffs], Sat Sep 22 23:01:18 2001 UTC (22 years, 6 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.14: +1 -1 lines
Diff to previous 1.43.2.14 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Merge branch with current, post ubcperf, MTRR, etc., etc.,
with the recent fifo_putpages fix to the trunk, GENERIC.MPDEBUG config
boots multiuser on my BP6.

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:09 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.53.2.3: +2 -2 lines
Diff to previous 1.53.2.3 (colored) to selected 1.19 (colored)

Catch up to -current.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:13:49 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.58.2.1: +2 -2 lines
Diff to previous 1.58.2.1 (colored) to selected 1.19 (colored)

Update the kqueue branch to HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:14 2001 UTC (22 years, 6 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.19 (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.43.2.14 / (download) - annotate - [select for diffs], Mon Sep 3 19:48:12 2001 UTC (22 years, 6 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.13: +4 -11 lines
Diff to previous 1.43.2.13 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Merge with -current once more.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:26 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.58: +3 -10 lines
Diff to previous 1.58 (colored) to selected 1.19 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:08:35 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.53.2.2: +3 -10 lines
Diff to previous 1.53.2.2 (colored) to selected 1.19 (colored)

Catch up with -current.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Aug 12 00:20:32 2001 UTC (22 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.58: +3 -10 lines
Diff to previous 1.58 (colored) to selected 1.19 (colored)

update some comments.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:25:53 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.53.2.1: +5 -5 lines
Diff to previous 1.53.2.1 (colored) to selected 1.19 (colored)

Catch up to -current.

Revision 1.43.2.13 / (download) - annotate - [select for diffs], Mon Jun 18 03:33:32 2001 UTC (22 years, 9 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.12: +2 -2 lines
Diff to previous 1.43.2.12 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

checkpoint merge-in-progress from mainline.

Revision 1.58 / (download) - annotate - [select for diffs], Wed May 30 12:28:44 2001 UTC (22 years, 10 months ago) by mrg
Branch: MAIN
Branch point for: kqueue
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.19 (colored)

use _KERNEL_OPT

Revision 1.43.2.12 / (download) - annotate - [select for diffs], Sat May 26 20:05:43 2001 UTC (22 years, 10 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.11: +2 -2 lines
Diff to previous 1.43.2.11 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Merge up with -current

Revision 1.57 / (download) - annotate - [select for diffs], Sat May 26 16:32:42 2001 UTC (22 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.19 (colored)

replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.

Revision 1.43.2.11 / (download) - annotate - [select for diffs], Mon Apr 30 16:23:13 2001 UTC (22 years, 11 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.10: +2 -2 lines
Diff to previous 1.43.2.10 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Merge sommerfeld_i386mp_1 branch with -current as of today.
GENERIC.MP kernel boots and runs multiuser on my ABIT BP6

Revision 1.56 / (download) - annotate - [select for diffs], Sun Apr 29 04:42:05 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) to selected 1.19 (colored)

The idle loop page zero'er no longer needs to do uncached access
now that we have page coloring.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Apr 22 23:19:27 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.19 (colored)

Undo a misguided previous change to the pmap_update() API.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Apr 22 00:34:00 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.19 (colored)

Give pmap_update() an argument (a pmap_t) so that it knows which
pmap it should be updating.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:16 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) to selected 1.19 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.43.2.10 / (download) - annotate - [select for diffs], Sun Jan 7 22:12:47 2001 UTC (23 years, 2 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.9: +48 -29 lines
Diff to previous 1.43.2.9 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Snapshot of merge-in-progress with -current.

[Not expected to build].  Catch up with the last N months worth of
changes to -current.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:34:33 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.2.2: +3 -19 lines
Diff to previous 1.42.2.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.19 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jan 4 00:17:43 2001 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.52: +1 -17 lines
Diff to previous 1.52 (colored) to selected 1.19 (colored)

Just garbage-collect the #if 0'd pmap_transfer() stuff.

Revision 1.43.2.9 / (download) - annotate - [select for diffs], Wed Jan 3 16:55:48 2001 UTC (23 years, 2 months ago) by thorpej
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.8: +3 -32 lines
Diff to previous 1.43.2.8 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Clean up the TLB invalidation logic.  Remove the last vestiges of
the old "remove record" stuff, and just use the shootdown path, even
for uniprocessor kernels.  Change the shootdown path to defer actually
peforming work (or sending the IPI to signal other processors to begin
work) until explicitly triggered by a call to pmap_tlb_shootnow().

Also remove all of the PTP and PV entry stealing code -- it's complicated,
not often called, and not really useful anymore now that UVM itself can
handle pmap_enter() failures.

Revision 1.43.2.8 / (download) - annotate - [select for diffs], Tue Jan 2 06:58:10 2001 UTC (23 years, 3 months ago) by thorpej
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.7: +4 -4 lines
Diff to previous 1.43.2.7 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Mirror a change made on the trunk:

Don't equate pmap_update() with tlbflush(), but instead call
tlbflush() when that's what we mean (currently everywhere, except
in the one place in MI code where it is called).

The whole pmap_update() thing needs to be reexamined, but this helps
to clarify things a little with the currently-defined semantics of
that function.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jan 1 22:13:53 2001 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored) to selected 1.19 (colored)

Don't equate pmap_update() with tlbflush(), but instead call
tlbflush() when that's what we mean (currently everywhere, except
in the one place in MI code where it is called).

The whole pmap_update() thing needs to be reexamined, but this helps
to clarify things a little with the currently-defined semantics of
that function.

Revision 1.43.2.7 / (download) - annotate - [select for diffs], Sun Dec 31 18:01:22 2000 UTC (23 years, 3 months ago) by thorpej
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.6: +10 -6 lines
Diff to previous 1.43.2.6 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

- Keep track of which CPUs are using a given pmap, and use this
  information to flush the APTE space of other CPUs as necessary.
- Use atomic operations in the appropriate places to avoid race
  conditions between the kernel and the CPU microcode which could
  lose modified/referenced information.

Reviewed by Bill Sommerfeld.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Fri Dec 8 09:26:38 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.2.1: +2 -2 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) to selected 1.19 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Dec 6 03:13:47 2000 UTC (23 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.19 (colored)

in kvtopte(), return the mapping of the pde in the recursive page-table
mapping space rather than the mapping in the kernel address space.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:09:30 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42: +73 -44 lines
Diff to previous 1.42 (colored) to selected 1.19 (colored)

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

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Thu Sep 28 15:38:18 2000 UTC (23 years, 6 months ago) by is
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.19 (colored)

Pullup from -current, requested by is, approved by thorpej:

	sys/arch/arm32/include/pmap.h	1.18
	sys/arch/atari/include/pmap.h	1.21
	sys/arch/i386/include/pmap.h	1.50
	sys/arch/pc532/include/pmap.h	1.29
	sys/arch/sh3/include/pmap.h	1.6

These are architectures that do implemented wired page accounting;
advertize it to UVM, so that mlock() from non-root processes works.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Sep 28 13:17:54 2000 UTC (23 years, 6 months ago) by is
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored) to selected 1.19 (colored)

We do wired page accounting. Tell UVM about it.

Revision 1.43.2.6 / (download) - annotate - [select for diffs], Sat Sep 23 16:05:59 2000 UTC (23 years, 6 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.5: +2 -2 lines
Diff to previous 1.43.2.5 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Pending more complete pmap merge, deal with PMAP_PAGEIDLEZERO change

Revision 1.49 / (download) - annotate - [select for diffs], Thu Sep 21 17:46:05 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) to selected 1.19 (colored)

Make PMAP_PAGEIDLEZERO() return a boolean value.  FALSE indidcates
that the page being zero'd was not completed and that page zeroing
should be aborted.  This may be used by machine-dependent code doing
slow page access to reduce the latency of running a process that has
become runnable while in the middle of doing a slow page zero.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Sep 7 17:20:59 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +12 -1 lines
Diff to previous 1.47 (colored) to selected 1.19 (colored)

Add optional support for mapping the kernel with large (4MB) pages.
Right now, only does kernel text, and wastes a little memory, but
there is some noticeable performance improvement even with just text.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Sep 6 23:32:13 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +30 -13 lines
Diff to previous 1.46 (colored) to selected 1.19 (colored)

vtopte() and kvtopte() now check for kernel vs. non-kernel addresses,
respectively.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Sep 6 19:09:46 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.45: +2 -10 lines
Diff to previous 1.45 (colored) to selected 1.19 (colored)

Remove some vto*() macros that won't stand a chance of working
with PSE or PAE, and reimplement vtphys() in terms of pmap_extract().

Revision 1.43.2.5 / (download) - annotate - [select for diffs], Wed Sep 6 03:28:35 2000 UTC (23 years, 6 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.4: +9 -3 lines
Diff to previous 1.43.2.4 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

If MULTIPROCESSOR, allocate per-cpu VA space and special PTE for page
zero, page copy, and ptp mapping.  Eliminate the locks which were used
to protect those special PTE/VA pairs since they're no longer
necessary.

Revision 1.43.2.4 / (download) - annotate - [select for diffs], Fri Aug 18 03:22:47 2000 UTC (23 years, 7 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.3: +2 -2 lines
Diff to previous 1.43.2.3 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Do tlb shootdown work at splipi().
Pass cpu_info to tlb shootdown ipi entrypoint.

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Sun Jun 25 19:37:11 2000 UTC (23 years, 9 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.2: +5 -3 lines
Diff to previous 1.43.2.2 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Merge up to just-post-1.5 -current

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:00:33 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.44: +5 -3 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.19 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 15 13:35:34 2000 UTC (23 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: sommerfeld_i386mp_houseclean, netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.44: +5 -3 lines
Diff to previous 1.44 (colored) to selected 1.19 (colored)

Disable pmap_copy() for now.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Wed May 3 14:42:32 2000 UTC (23 years, 11 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43.2.1: +7 -1 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) to selected 1.19 (colored)

Merge with -current

Revision 1.44 / (download) - annotate - [select for diffs], Mon Apr 24 17:18:18 2000 UTC (23 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.43: +7 -1 lines
Diff to previous 1.43 (colored) to selected 1.19 (colored)

Glue in uvm_pageidlezero().  While here, improve some panic messages
in pmap.c, as requested by Jonathan Stone.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Feb 20 17:45:52 2000 UTC (24 years, 1 month ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.43: +10 -2 lines
Diff to previous 1.43 (colored) to selected 1.19 (colored)

MP: preliminary TLB shootdown support.

Note that the pmap previously had its own idea of a deferred
invalidation queue; use the TLB shootdown queue mechanism for this as
well.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Sat Feb 19 00:20:48 2000 UTC (24 years, 1 month ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.38: +7 -7 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.19 (colored)

Apply patch (requested by thorpej):
  Move KERNBASE to 0xc0000000, giving the kernel a more-or-less
  full 1GB of virtual address space, leaving userland with 3GB,
  and update comments to match the new reality.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Feb 11 07:00:13 2000 UTC (24 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: sommerfeld_i386mpbase_20000422, chs-ubc2-newbase
Branch point for: sommerfeld_i386mp_1
Changes since 1.42: +21 -21 lines
Diff to previous 1.42 (colored) to selected 1.19 (colored)

Move KERNBASE to 0xc0000000, giving the kernel a more-or-less full 1G
of virtual address space, leaving userland with 3G, and update comments
to match the new reality.

We knew we were going to have to bite this bullet eventually, and there
are a couple of outstanding PRs related to this issue (9389 and 9313).
Complete solution to those PRs is going to involve some sort of run-time
decision on how large kmem_map should be, as well as changing some data
structure allocation strategies in UVM.  However, this change will at
least allow the PR submitter to simply throw resources at the problem.

Revision 1.38.8.2 / (download) - annotate - [select for diffs], Mon Aug 2 19:50:35 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.38.8.1: +106 -142 lines
Diff to previous 1.38.8.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored) to selected 1.19 (colored)

Update from trunk.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jul 28 01:07:59 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.41: +1 -34 lines
Diff to previous 1.41 (colored) to selected 1.19 (colored)

Don't inline pmap_kenter_pa().  It doesn't buy us much to do so, and
it's nice to have it show up in stack traces.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jul 18 21:33:21 1999 UTC (24 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.40: +131 -134 lines
Diff to previous 1.40 (colored) to selected 1.19 (colored)

KNF.

Revision 1.38.8.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:50:01 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.38: +454 -170 lines
Diff to previous 1.38 (colored) to selected 1.19 (colored)

Sync w/ -current.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jun 17 00:12:12 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +443 -175 lines
Diff to previous 1.39 (colored) to selected 1.19 (colored)

PMAP_NEW is no longer optional on the i386; the old pmap's page table
allocation strategy no longer works at all.  Move pmap.new.* to pmap.*.

To read the revision history of PMAP_NEW up until this merge, use cvs
rlog of the old pmap.new.* files.

Revision 1.39 / (download) - annotate - [select for diffs], Wed May 12 19:28:30 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +17 -1 lines
Diff to previous 1.38 (colored) to selected 1.19 (colored)

Move the user-set LDT out of the PCB and into the pmap.  Applications
which set the LDT and share VM space (e.g. new versions of WINE) expect
the LDT to be logically coupled to the address space.  Use the new pmap_fork()
interface to copy non-shared user-set LDTs when the address space is forked.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Aug 15 05:10:25 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc-base, chs-ubc
Branch point for: netbsd-1-4, chs-ubc2
Changes since 1.37: +37 -2 lines
Diff to previous 1.37 (colored) to selected 1.19 (colored)

Assign my copyrights to TNF.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Aug 13 21:36:05 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +13 -13 lines
Diff to previous 1.36 (colored) to selected 1.19 (colored)

vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t

Revision 1.36 / (download) - annotate - [select for diffs], Wed Feb 18 03:04:41 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.19 (colored)

Fixup an inconsistency in the declaration of PTDpaddr, pointed out by
Chris Demetriou.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 18 02:05:34 1998 UTC (26 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.34: +3 -1 lines
Diff to previous 1.34 (colored) to selected 1.19 (colored)

Move pmap_map() function definition to MD headers, as appropriate.  It's
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)

Revision 1.34 / (download) - annotate - [select for diffs], Tue Feb 10 14:11:58 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.33: +5 -1 lines
Diff to previous 1.33 (colored) to selected 1.19 (colored)

- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 6 07:22:02 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.32: +11 -1 lines
Diff to previous 1.32 (colored) to selected 1.19 (colored)

add the i386 MD portions for UVM.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 13 12:52:28 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.31: +1 -2 lines
Diff to previous 1.31 (colored) to selected 1.19 (colored)

this is the i386 MD portion of the MACHINE_NEW_NONCONTIG code, as
written by chuck cranor.  thanks to mycroft for helping me find the
one little line of code i accidentally deleted while merging it.

this is not enabled by default.  `options MACHINE_NEW_NONCONTIG'
will use this code.  eventually, this should go into <machine/vmparam.h>
insteaed of MACHINE_NONCONTIG.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 6 07:16:08 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +1 -2 lines
Diff to previous 1.30 (colored) to selected 1.19 (colored)

Garbage-collect pm_pdchanged; it's not used by anything.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Jan 3 01:13:05 1998 UTC (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +1 -5 lines
Diff to previous 1.29 (colored) to selected 1.19 (colored)

Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Dec 9 20:02:33 1997 UTC (26 years, 3 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.27: +4 -1 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.19 (colored)

Pull up rev 1.29 (fvdl)

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 7 21:30:11 1997 UTC (26 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.28: +4 -1 lines
Diff to previous 1.28 (colored) to selected 1.19 (colored)

Define constants for the start and end VA of user page tables.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Nov 4 01:37:06 1997 UTC (26 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored) to selected 1.19 (colored)

Make pmap_{,de}activate() take a pointer to a proc.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 20 00:45:03 1997 UTC (26 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) to selected 1.19 (colored)

Change various constants that depend on the kernel VM base address. Lower
it to 0xf0000000 to give it more breathing space.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 12 23:57:30 1997 UTC (26 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Changes since 1.25: +1 -3 lines
Diff to previous 1.25 (colored) to selected 1.19 (colored)

Nuke __VM_PMAP_HACK.

Revision 1.25 / (download) - annotate - [select for diffs], Fri May 16 21:35:36 1997 UTC (26 years, 10 months ago) by gwr
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored) to selected 1.19 (colored)

Add #define __VM_PMAP_HACK as a temporary measure.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Nov 18 01:08:01 1996 UTC (27 years, 4 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.23: +5 -2 lines
Diff to previous 1.23 (colored) to selected 1.19 (colored)

Changes for NKPDE calculation from cgd.

- New variables: biosextmem, biosbasemem, nkpde
- Above can be set by using the options BIOSEXTMEM, BIOSBASEMEM,
  and NKPDE respectively (EXTMEM_SIZE is now called BIOSEXTMEM).
  When preset this way, they won't be filled in / calculated.
- Readable by sysctl using machdep.nkpde, machdep.biosbasemem
  and machdep.biosextmem.
- nkpde is calculated as:

	min(NKPDE_MAX, NKPDE_BASE + (biosextmem >> 10) * NKPDE_SCALE)

  Where NKPDE_MAX is 31, NKPDE_BASE is 4, NKPDE_SCALE = 1.

Revision 1.23 / (download) - annotate - [select for diffs], Fri May 3 19:26:30 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored) to selected 1.19 (colored)

Add missing prototypes.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 12 21:12:29 1996 UTC (28 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored) to selected 1.19 (colored)

Move pmap_page_index declaration to <vm/pmap.h>

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 11 04:20:20 1995 UTC (28 years, 5 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.19 (colored)

Various changes from John Kohl and me:
Map kernel stacks only at unique addresses.
Use one TSS per process.
Add sysarch calls for modifying IOPL and the I/O permission bitmap.
Add a compacting GDT entry allocator, for TSS and LDT selectors.
Enable modifying %fs and %gs with PT_SETREGS.
Sanitize various bits of code.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 26 13:25:29 1995 UTC (28 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

IdlePTD has been gone for a while.  PTDpaddr now exists.

Revision 1.19 / (download) - annotate - [selected], Thu May 11 16:53:06 1995 UTC (28 years, 10 months ago) by jtc
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

KERNEL -> _KERNEL

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 10 12:42:05 1995 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.19 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 28 18:17:06 1995 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.19 (colored)

KERNEL -> _KERNEL

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 31 06:30:52 1994 UTC (29 years, 5 months ago) by andrew
Branch: MAIN
CVS Tags: before_newconf_base
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.19 (colored)

Increase NKPDE to cope with 64MB RAM.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 27 04:16:17 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) to selected 1.19 (colored)

new RCS ID format.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Tue Oct 11 10:03:51 1994 UTC (29 years, 5 months ago) by mycroft
Branch: netbsd-1-0
CVS Tags: 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
Changes since 1.9.2.1: +70 -31 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.19 (colored)

Update from trunk.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Oct 9 15:00:42 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored) to selected 1.19 (colored)

#include cpufunc.h from pmap.h.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 9 13:11:18 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.12: +2 -7 lines
Diff to previous 1.12 (colored) to selected 1.19 (colored)

Define pmap_update() using tlbflush().

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 9 23:59:36 1994 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) to selected 1.19 (colored)

Make kernel_pmap a macro that points directly to kernel_pmap_store.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 7 20:48:52 1994 UTC (29 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +73 -31 lines
Diff to previous 1.10 (colored) to selected 1.19 (colored)

Various changes:
* Inline some functions.
* Eliminate redundant calls to pmap_page_index().
* Reduce the number of TLB flushes in accordance with the i386 SSWG.
* Inline pmap_remove() in pmap_remove_all().  (Most if it is unnecessary.)
* Allocate pv_entry's in pages, and keep a list of free entries in each page,
and a list of pages with free entries.  (Trying to reduce malloc() overhead,
and improve locality of reference.)
* Remove a couple of macros that aren't really useful.
* Remove pmap_kernel() completely.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Aug 15 14:49:56 1994 UTC (29 years, 7 months ago) by mycroft
Branch: netbsd-1-0
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored) to selected 1.19 (colored)

update from trunk

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 15 14:49:15 1994 UTC (29 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored) to selected 1.19 (colored)

Eliminate struct pte and struct pde.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 2 09:29:01 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.19 (colored)

Increase default NKPDE.

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 23 02:59:44 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.19 (colored)

cast to quiet warning

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Jan 5 16:02:39 1994 UTC (30 years, 2 months ago) by mycroft
Branch: magnum
Changes since 1.7.2.1: +161 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.19 (colored)

Move kernel to 0xf8000000.

Revision 1.7.2.1, Wed Jan 5 16:02:38 1994 UTC (30 years, 2 months ago) by mycroft
Branch: magnum
Changes since 1.7: +0 -161 lines
FILE REMOVED

file pmap.h was added on branch magnum on 1994-01-05 16:02:39 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 5 16:02:38 1994 UTC (30 years, 2 months ago) by mycroft
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored) to selected 1.19 (colored)

Move kernel to 0xf8000000.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Dec 14 05:31:38 1993 UTC (30 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +19 -99 lines
Diff to previous 1.5 (colored) to selected 1.19 (colored)

Fold in most of the magnum vm changes.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Mon Dec 13 08:29:31 1993 UTC (30 years, 3 months ago) by mycroft
Changes since 1.5.2.3: +8 -8 lines
Diff to previous 1.5.2.3 (colored) next main 1.6 (colored) to selected 1.19 (colored)

Stylistic changes.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Oct 26 11:52:38 1993 UTC (30 years, 5 months ago) by mycroft
Changes since 1.5.2.2: +4 -6 lines
Diff to previous 1.5.2.2 (colored) to selected 1.19 (colored)

Nuke I386_PAGE_SIZE and I386_PDR_SIZE.  Make the kernel page directory 7
pages.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Fri Oct 15 13:12:48 1993 UTC (30 years, 5 months ago) by mycroft
Changes since 1.5.2.1: +9 -87 lines
Diff to previous 1.5.2.1 (colored) to selected 1.19 (colored)

Major cleanup of include files and constants.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Sun Oct 10 08:33:01 1993 UTC (30 years, 5 months ago) by mycroft
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.19 (colored)

load_cr3 --> lcr3

Revision 1.5 / (download) - annotate - [select for diffs], Mon Aug 30 18:09:57 1993 UTC (30 years, 7 months ago) by brezak
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) to selected 1.19 (colored)

Add prototype for pmap_bootstrap().

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 27 23:52:22 1993 UTC (30 years, 7 months ago) by brezak
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored) to selected 1.19 (colored)

i386 Machine dependant changes to handle non-contiguous memory.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 29 21:42:21 1993 UTC (30 years, 8 months ago) by jtc
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.19 (colored)

Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc.
from complaining about a trivial issue.

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 22 08:00:30 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.19 (colored)

add rcsids to everything and clean up headers

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: WFJ-920714
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.19 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: MAIN
Diff to selected 1.19 (colored)

Initial revision

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>