The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.122: download - view: text, markup, annotated - select for diffs
Wed Aug 2 09:18:14 2023 UTC (16 months ago) by macallan
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +6 -4 lines
check for empty ranges in pmap_page_physload() itself

Revision 1.121: download - view: text, markup, annotated - select for diffs
Wed Aug 2 08:54:42 2023 UTC (16 months ago) by macallan
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -3 lines
avoid calling pmap_page_physload() with an empty range
this avoids a panic in uvm_pmap_physload()
now my C360 boots again

Revision 1.100.20.2: download - view: text, markup, annotated - select for diffs
Thu Jun 16 14:22:02 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.100.20.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.20.1: +8 -5 lines
Pull up following revision(s) (requested by skrll in ticket #1474):

	sys/arch/hppa/hppa/pmap.c: revision 1.120

Re-reading the PA2.0 Cache Move-In rules tells me we do indeed need to
purge the translations from the TLBs in pmap_procwr.

PR/56867: hppa: intermittent SIGSEGV reports in t_ptrace_wait's stepN
and setstepN test cases

Revision 1.120: download - view: text, markup, annotated - select for diffs
Thu Jun 16 06:25:42 2022 UTC (2 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RELEASE, 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
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +8 -5 lines
Re-reading the PA2.0 Cache Move-In rules tells me we do indeed need to
purge the translations from the TLBs in pmap_procwr.

PR/56867: hppa: intermittent SIGSEGV reports in t_ptrace_wait's stepN and setstepN test cases

Revision 1.100.20.1: download - view: text, markup, annotated - select for diffs
Fri Jun 10 17:16:54 2022 UTC (2 years, 5 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +11 -5 lines
Pull up following revision(s) (requested by skrll in ticket #1467):

	sys/arch/hppa/include/pmap.h: revision 1.41
	sys/arch/hppa/hppa/pmap.c: revision 1.117

port-hppa/56849: Wacko kernel memory accounting in current/hppa

Two fixes:
- Don't include direct mapped memory in pmap statistics
- Decrement pmap statistics counts in pmap_kremove

Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Jun 9 16:41:25 2022 UTC (2 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +2 -5 lines
Oops... revert commit mistake

Revision 1.118: download - view: text, markup, annotated - select for diffs
Thu Jun 9 16:38:23 2022 UTC (2 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -2 lines
Handle 'NA' (non-access) traps for the lpa and probe instructions.  The
change is inspired by OpenBSD with a bunch of my own, mainly stylistic,
changes.

Thanks to Tom Lane for the analysis.

PR/56118: sporadic app crashes in HPPA -current

Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu May 26 05:34:04 2022 UTC (2 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +11 -5 lines
port-hppa/56849: Wacko kernel memory accounting in current/hppa

Two fixes:
- Don't include direct mapped memory in pmap statistics
- Decrement pmap statistics counts in pmap_kremove

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Apr 9 23:38:32 2022 UTC (2 years, 7 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +4 -4 lines
sys: Use membar_release/acquire around reference drop.

This just goes through my recent reference count membar audit and
changes membar_exit to membar_release and membar_enter to
membar_acquire -- this should make everything cheaper on most CPUs
without hurting correctness, because membar_acquire is generally
cheaper than membar_enter.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Sat Mar 12 15:32:31 2022 UTC (2 years, 8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +4 -2 lines
sys: Membar audit around reference count releases.

If two threads are using an object that is freed when the reference
count goes to zero, we need to ensure that all memory operations
related to the object happen before freeing the object.

Using an atomic_dec_uint_nv(&refcnt) == 0 ensures that only one
thread takes responsibility for freeing, but it's not enough to
ensure that the other thread's memory operations happen before the
freeing.

Consider:

	  Thread A			  Thread B
	obj->foo = 42;			obj->baz = 73;
	mumble(&obj->bar);		grumble(&obj->quux);
	/* membar_exit(); */		/* membar_exit(); */
	atomic_dec -- not last		atomic_dec -- last
					/* membar_enter(); */
					KASSERT(invariant(obj->foo,
					    obj->bar));
					free_stuff(obj);

The memory barriers ensure that

	obj->foo = 42;
	mumble(&obj->bar);

in thread A happens before

	KASSERT(invariant(obj->foo, obj->bar));
	free_stuff(obj);

in thread B.  Without them, this ordering is not guaranteed.

So in general it is necessary to do

	membar_exit();
	if (atomic_dec_uint_nv(&obj->refcnt) != 0)
		return;
	membar_enter();

to release a reference, for the `last one out hit the lights' style
of reference counting.  (This is in contrast to the style where one
thread blocks new references and then waits under a lock for existing
ones to drain with a condvar -- no membar needed thanks to mutex(9).)

I searched for atomic_dec to find all these.  Obviously we ought to
have a better abstraction for this because there's so much copypasta.
This is a stop-gap measure to fix actual bugs until we have that.  It
would be nice if an abstraction could gracefully handle the different
styles of reference counting in use -- some years ago I drafted an
API for this, but making it cover everything got a little out of hand
(particularly with struct vnode::v_usecount) and I ended up setting
it aside to work on psref/localcount instead for better scalability.

I got bored of adding #ifdef __HAVE_ATOMIC_AS_MEMBAR everywhere, so I
only put it on things that look performance-critical on 5sec review.
We should really adopt membar_enter_preatomic/membar_exit_postatomic
or something (except they are applicable only to atomic r/m/w, not to
atomic_load/store_*, making the naming annoying) and get rid of all
the ifdefs.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Aug 19 07:29:00 2020 UTC (4 years, 3 months ago) by simonb
Branches: 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
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +3 -3 lines
Remove trailing \n from UVMHIST_LOG() format strings.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon May 25 21:15:10 2020 UTC (4 years, 6 months ago) by ad
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +4 -5 lines
- Alter the convention for uvm_page_array slightly, so the basic search
  parameters can't change part way through a search: move the "uobj" and
  "flags" arguments over to uvm_page_array_init() and store those with the
  array.

- With that, detect when it's not possible to find any more pages in the
  tree with the given search parameters, and avoid repeated tree lookups if
  the caller loops over uvm_page_array_fill_and_peek().

Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Apr 30 06:16:47 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +129 -16 lines
Convert pmap_check_alias into a function that resolves any aliases issues
to deal with the locking around entering a mapping of the same page with
and alias issue in the same pmap (pmap lock already held in pmap_enter)

This has the added benefit of only flushing the troublesome mappings.

The locking could be simplified further here and an PV list iterator
function with callback is probably useful.

Revision 1.100.16.2: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:08 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.100.16.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.16.1: +347 -269 lines
Sync with HEAD

Revision 1.105.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:28:57 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +349 -271 lines
Sync with HEAD

Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Apr 16 09:51:56 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +172 -53 lines
To allow concurrent page faults on the same set of pages lock the PV
lists.  From ad@ and fixed up by me.

Remove __HAVE_UNLOCKED_PMAP

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Apr 16 05:22:59 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3 lines
More KNF

Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Apr 15 15:50:15 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +173 -213 lines
Convert PMAPDEBUG to UVMHIST

Revision 1.108: download - view: text, markup, annotated - select for diffs
Wed Apr 15 15:22:37 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +6 -6 lines
Spaces to tabs

Revision 1.107: download - view: text, markup, annotated - select for diffs
Wed Apr 15 09:41:09 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +8 -8 lines
KNF

Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Apr 15 08:14:22 2020 UTC (4 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +2 -3 lines
G/C a #include

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

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Mar 1 21:40:45 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +8 -4 lines
Give pmap uvm_objects an empty pagerops to avoid special casing in UVM.
(This use of uvm_object causes a disproportionate amount of work.)

Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:24 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +25 -24 lines
Sync with head.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Mon Feb 24 20:42:18 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base3
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +23 -22 lines
Adjust for UVM locking changes.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Feb 23 15:46:39 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -4 lines
UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart.  v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap.  Others to follow later.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Dec 31 12:40:27 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +4 -4 lines
Rename uvm_page_locked_p() -> uvm_page_owner_locked_p()

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Dec 15 21:11:34 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +15 -4 lines
Merge from yamt-pagecache:

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

Revision 1.98.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:16 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.98.2.1: preferred, colored; branchpoint 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98.2.1: +1 -1 lines
update from HEAD

Revision 1.99.4.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:12 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99: +3 -3 lines
Sync with HEAD

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

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:57 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, netbsd-9
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +3 -3 lines
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.98.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:04 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +12 -12 lines
Rebase to HEAD as of a few days ago.

Revision 1.98.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:53:59 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +12 -12 lines
Rebase.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Aug 8 07:30:51 2014 UTC (10 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914
Branch point for: pgoyette-localcount, nick-nhusb
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +12 -12 lines
Trailing whitespace.

Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:26 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.81.2.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.1: +148 -78 lines
sync with head

Revision 1.81.6.4: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:36 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.81.6.3: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.6.3: +3 -3 lines
sync to -current

Revision 1.81.6.3: download - view: text, markup, annotated - select for diffs
Tue Mar 6 09:56:07 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.81.6.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.6.2: +3 -3 lines
sync to -current

Revision 1.81.6.2: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:46:08 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.81.6.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.6.1: +3 -3 lines
sync to latest -current.

Revision 1.97.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 2 16:29:29 2012 UTC (12 years, 9 months ago) by riz
Branches: netbsd-6
CVS tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +3 -3 lines
Pull up following revision(s) (requested by skrll in ticket #62):
	sys/arch/hppa/hppa/pmap.c: revision 1.98
Fix PMAPDEBUG build

Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Feb 28 07:30:30 2012 UTC (12 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +3 -3 lines
Fix PMAPDEBUG build

Revision 1.81.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:14 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +148 -78 lines
merge to -current.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Jan 6 20:55:28 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: netbsd-6-base, jmcneill-usbmp-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +59 -6 lines
Track if a page has an executable mapping and flush the icache (and
dcache) appropriately.

Fixes the lang/python26 build on my C3700 (PA8700) and chuq's J6700 with
PA8500.

Thanks to chuq for ideas and help with this.

Revision 1.96: download - view: text, markup, annotated - select for diffs
Fri Jan 6 08:54:05 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +4 -3 lines
Wrap a long line.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Jan 6 08:48:43 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +3 -2 lines
Add a KASSERT.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Jan 6 08:38:11 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +8 -8 lines
More whitespace.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Jan 6 08:36:10 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -5 lines
Whitespace. hi perry.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Jan 6 08:33:26 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +5 -6 lines
Group the prototypes.

Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Jan 6 08:32:08 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +20 -22 lines
Simplify code a little.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Jan 6 08:03:16 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +5 -3 lines
Style.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Jan 6 07:59:07 2012 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -4 lines
Make pmap_check_alias static

Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Dec 30 07:41:58 2011 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -3 lines
G/C pmap_page_remove_locked prototype.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Dec 30 07:25:00 2011 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +55 -40 lines
Cope with userland mappings of unmanaged pages (i.e. device memory being
mmap'ed), by properly making these mappings uncached, and correctly accounting
their removal to not get stuck with leftover pte pages.

From OpenBSD.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Dec 29 22:13:23 2011 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -4 lines
No need for sync_caches - f[di]cache already issue the sync instruction.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Dec 23 16:38:50 2011 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -3 lines
Whitespace.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Dec 23 16:35:00 2011 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +14 -2 lines
Define PMAP_NEED_PROCWR and provide pmap_procwr so that the i-cache is
synchronised with the d-cache appropriately.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Dec 16 12:45:04 2011 UTC (12 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -4 lines
G/C pvh_aliases

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Dec 5 07:34:50 2011 UTC (13 years ago) by skrll
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -7 lines
Whitespace.

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Fri Dec 2 16:33:59 2011 UTC (13 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +13 -2 lines
adapt hp700.  compile tested.

Revision 1.80.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:13 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +28 -59 lines
Catchup with rmind-uvmplock merge.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:41 2011 UTC (13 years, 5 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +28 -59 lines
Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.71.2.6: download - view: text, markup, annotated - select for diffs
Thu May 19 03:42:59 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71.2.5: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.2.5: +11 -6 lines
Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.

Discussed with ad@.

Revision 1.71.2.5: download - view: text, markup, annotated - select for diffs
Wed Mar 9 19:13:18 2011 UTC (13 years, 9 months ago) by skrll
Branches: rmind-uvmplock
Diff to: previous 1.71.2.4: preferred, colored
Changes since revision 1.71.2.4: +9 -46 lines
Drop per-page locking i.e. pvh_lock and rely on locking provided by
upper layer, UVM.  Sprinkle asserts.

Revision 1.71.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:36 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71.2.3: preferred, colored
Changes since revision 1.71.2.3: +72 -51 lines
sync with head

Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:26 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -2 lines
Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Nov 14 03:16:03 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6, matt-mips64-premerge-20101231
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -0 lines
Don't rely on global APIs from internal.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Nov 12 07:59:26 2010 UTC (14 years ago) by uebayasi
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +0 -2 lines
Put VM_PAGE_TO_MD() definition in one place.  No functional changes.

Revision 1.63.2.10: download - view: text, markup, annotated - select for diffs
Sat Nov 6 08:08:17 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.9: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.9: +3 -1 lines
Sync with HEAD.

Revision 1.63.2.9: download - view: text, markup, annotated - select for diffs
Sun Oct 31 03:46:17 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.8: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.8: +1 -1 lines
We already have a flag PMAP_NOCACHE.  s/PMAP_UNMANAGED/PMAN_NOCACHE/.
Pointed out by Chuck Silvers, thanks.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Oct 30 17:20:43 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base5, uebayasi-xip-base4
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +72 -51 lines
Use VM_PAGE_TO_MD() to locate struct vm_page_md.  No functional
changes.

Revision 1.63.2.8: download - view: text, markup, annotated - select for diffs
Sat Oct 30 08:41:07 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.7: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.7: +12 -0 lines
Implement pmap_physload_device(9) to replace xmd(4) MD backend.
Implement pmap_mmap(9) and use it from mem(4) and xmd(4).

Revision 1.63.2.7: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:32 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.6: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.6: +2 -2 lines
Sync with HEAD.

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

Revision 1.63.2.6: download - view: text, markup, annotated - select for diffs
Wed Jul 7 16:35:25 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.5: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.5: +0 -1 lines
Clean up; merge options DIRECT_PAGE into options XIP.

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

Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Jun 21 14:43:34 2010 UTC (14 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
Allow PVF_UNCACHEABLE in set/clear of pmap_changebit call (for now).

Revision 1.63.2.5: download - view: text, markup, annotated - select for diffs
Mon May 31 13:26:37 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.4: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.4: +1 -1 lines
Re-define the definition of "device page"; device pages are pages of
device memory.  Pages which don't have vm_page (== can't be used for
generic use), but whose PV are tracked, are called "direct pages" from
now.

Revision 1.71.2.2: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:52 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71.2.1: preferred, colored
Changes since revision 1.71.2.1: +70 -181 lines
sync with head

Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Fri May 28 08:32:20 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.3: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.3: +1 -1 lines
Fix a typo; pointed out by Chuck Silvers.

Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:27 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.2: +142 -220 lines
Sync with HEAD.

Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 27 07:19:28 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +2 -1 lines
Support PMAP_UNMANAGED in some pmaps.

(Others should be converted eventually, but no problem while managed
device page is not used.)

Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Apr 2 15:25:51 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -10 lines
Pull across pmap_remove fix from OpenBSD.

Fix user-after-free bug in pmap_remove().  Page table pages are freed as soon
as the last page table entry that was actually used is cleared.  So make sure
we check the page table page is still there for every page we remove.
Otherwise we will bring back the tlb entry and cache lines when we touch the
freed page, and we will create an illegal alias (non-equivalent mapping)
as soon as the page gets re-used.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Fri Mar 19 07:35:29 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
Fix PMAPDEBUG build for previous.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Mar 19 07:29:44 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +64 -171 lines
Not all PA CPUs have the U-bit (uncacheable) for non-IO memory.  In fact
most don't.  Deal with non-equivalent aliases by removing and flushing the
managed mappings, and flushing the unmanaged mappings.

When flushing caches/TLB flush the cache before purging the TLB just in
case the flush enters the mapping into the TLB.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Mar 16 16:20:19 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -4 lines
The FP regs are accessed in both physical and virtual modes.  Make sure
they're allocated in directly mapped memory to avoid aliasing problems
and unnecessary cache flushing.

Fix various names and references. If we ever directly map the uarea and
pcb we can change things at that point.

Significantly helps my J210 (PA7200).

Mostly from OpenBSD.

Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:38:03 2010 UTC (14 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +15 -14 lines
Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Mar 13 16:17:59 2010 UTC (14 years, 8 months ago) by skrll
Branches: MAIN
Branch point for: rmind-uvmplock
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -2 lines
Add a comment.

Revision 1.42.10.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:26 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42.10.3: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.10.3: +168 -154 lines
sync with head

Revision 1.70: download - view: text, markup, annotated - select for diffs
Sat Mar 6 21:22:42 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -2 lines
Add #include "opt_cputype.h" where necessary.

Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Thu Feb 25 04:11:29 2010 UTC (14 years, 9 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +87 -66 lines
Use VM_PAGE_TO_MD().  Only compile tested.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Feb 24 06:38:53 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -6 lines
s/printf/db_printf/ in a few places.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Feb 22 21:32:55 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +36 -9 lines
Deal with PA2.0 cache move-in rules by purging the TLB as well as
flushing/purging the cache.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Feb 17 14:16:53 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
Fix typo in previous. It's not a good idea to let uvm mess with kernel
text pages.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Feb 17 11:31:39 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3 lines
Semi-colons help.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Feb 17 10:03:30 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -2 lines
Add a prototype for pmap_page_physload.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Feb 16 16:56:30 2010 UTC (14 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +38 -38 lines
Remove the dma24_ex method of dealing with BUS_DMA_24BIT and replace
with a uvm managed freelist of pages in the right range.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Dec 18 19:20:35 2009 UTC (14 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Remove unnecessary part of conditional.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Fri Dec 18 19:17:08 2009 UTC (14 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +54 -60 lines
DPRINTF format fixes.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Dec 18 15:20:15 2009 UTC (14 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +25 -24 lines
Fix pmap_dump_table so that it doesn't loop indefinitely for a space that
doesn't map anything in the last PDE.

Also, don't loop unnecessarily through the spaces.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Nov 28 13:53:28 2009 UTC (15 years ago) by skrll
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3 lines
Flush only as much as is required. Pointed out by rmind.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:09 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +8 -8 lines
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Nov 26 00:19:17 2009 UTC (15 years ago) by matt
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -6 lines
Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Nov 21 15:36:33 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
Use lwp_getpcb() on hppa and ia64, clean from struct user usage.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Nov 14 13:31:44 2009 UTC (15 years ago) by skrll
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 lines
Update a couple of comments.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Nov 11 16:08:31 2009 UTC (15 years ago) by skrll
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -4 lines
Use the new flags argument to pmap_kenter_pa for PMAP_NOCACHE.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:44 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +4 -4 lines
Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

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

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

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

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

Revision 1.42.10.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:17 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42.10.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.10.2: +9 -13 lines
sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Aug 12 10:03:30 2009 UTC (15 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -6 lines
Fix non-DEBUG builds.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Aug 12 07:46:36 2009 UTC (15 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -4 lines
Remove NOP flushes. pvh_list == NULL.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Aug 12 07:42:36 2009 UTC (15 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -7 lines
Pull across a fix from OpenBSD, but use PDE_SIZE instead of ~PDE_MASK + 1.

Make sure that if a PDE isn't there, we skip to the start of the address
range covered by the next PDE and not somewhere in the middle.  The old could
have skipped over some valid PTE's causing them to stay behind in the pmap.
Since we would not flush the cache for those pages either this could also
cause memory corruption when dirty cache lines would be written back to
memory at a later stage.

Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:17:47 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +1376 -1393 lines
Sync with HEAD.

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

Revision 1.42.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:13 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42.10.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.10.1: +1379 -1399 lines
sync with head.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Apr 30 07:01:27 2009 UTC (15 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, jymxensuspend-base
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1373 -1390 lines
Merge nick-hppapmap.

This is a port of the OpenBSD pmap and trap handling code to get us

        - Performance boost on some/all machines.
        - Well on the way to PA2.0 (in 32bit mode) support. Several
          machines probe hardware, but fail sometime after interrupts
          are enabled.

Other things changed / fixed on the branch are

        - update autoconf to use the OpenBSD code.
        - com @ dino is very close to being supported.
        - HPPA_REDZONE has been replaced with a working redzone which
          is enabled with DIAGNOSTIC.
        - UPAGES has been halved in size.
        - power(4) from OpenBSD to fix a few bugs.
        - updated list of modules from OpenBSD.
	- initial ports of uturn(4), astro(4) and elroy(4).
	- update some copyrights (remove advertising clause, etc.)

Thanks to mjf for some of the above, testing and listening.

Revision 1.43.8.58: download - view: text, markup, annotated - select for diffs
Tue Apr 28 08:03:46 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.57: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.8.57: +74 -33 lines
Track unmanaged mappings to deal with loaning and non-equivalient aliases.

Revision 1.43.8.57: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:06 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.56: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.56: +3 -3 lines
Sync with HEAD.

Revision 1.43.8.56: download - view: text, markup, annotated - select for diffs
Mon Apr 27 09:27:28 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.55: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.55: +5 -3 lines
For correctness test pvh_attrs with lock held.

Revision 1.43.8.55: download - view: text, markup, annotated - select for diffs
Mon Apr 27 08:56:06 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.54: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.54: +2 -4 lines
Enable a DPRINT

Revision 1.43.8.54: download - view: text, markup, annotated - select for diffs
Mon Apr 27 08:25:30 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.53: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.53: +3 -3 lines
Oops, typo in previous.

Revision 1.43.8.53: download - view: text, markup, annotated - select for diffs
Mon Apr 27 08:21:51 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.52: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.52: +3 -3 lines
Another comment update.

Revision 1.43.8.52: download - view: text, markup, annotated - select for diffs
Mon Apr 27 08:19:59 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.51: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.51: +23 -25 lines
Update some comments.

Revision 1.43.8.51: download - view: text, markup, annotated - select for diffs
Mon Apr 27 08:11:19 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.50: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.50: +4 -3 lines
Add a reference.

Revision 1.43.8.50: download - view: text, markup, annotated - select for diffs
Sat Apr 25 15:28:16 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.49: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.49: +3 -3 lines
Whitespace.

Revision 1.43.8.49: download - view: text, markup, annotated - select for diffs
Sat Apr 25 15:26:28 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.48: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.48: +4 -4 lines
Add a KASSERT to pmap_activate

Revision 1.43.8.48: download - view: text, markup, annotated - select for diffs
Sat Apr 25 14:45:06 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.47: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.47: +9 -8 lines
Wrap long lines. KNF.

Revision 1.43.8.47: download - view: text, markup, annotated - select for diffs
Sat Apr 25 13:54:07 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.46: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.46: +8 -8 lines
Put KASSERTs after DPRINTFs.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Apr 21 21:29:59 2009 UTC (15 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@

Revision 1.43.8.46: download - view: text, markup, annotated - select for diffs
Tue Apr 21 13:48:21 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.45: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.45: +2 -3 lines
Remove incorrect KASSERT.

XXX PVF_KENTER needs work.

Revision 1.43.8.45: download - view: text, markup, annotated - select for diffs
Fri Apr 10 09:18:36 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.44: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.44: +2 -4 lines
Remove PMAPDEBUG define that crept in.

Revision 1.43.8.44: download - view: text, markup, annotated - select for diffs
Fri Apr 3 14:07:26 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.43: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.43: +38 -21 lines
Track referrenced and modified attributes of pages correct, i.e. as
described in pmap(9).

Inherit uncacheable attribute if the page already has non-equiv aliases.

Tidy-up a comment while I'm here.

Revision 1.43.8.43: download - view: text, markup, annotated - select for diffs
Sat Mar 28 11:00:47 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.42: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.42: +56 -54 lines
Use __func__ everywhere.

Fix-up a message while here.

Revision 1.43.8.42: download - view: text, markup, annotated - select for diffs
Sat Mar 28 10:47:21 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.41: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.41: +4 -4 lines
Whitespace.

Revision 1.43.8.41: download - view: text, markup, annotated - select for diffs
Fri Mar 27 08:23:17 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.40: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.40: +2 -6 lines
Simplify locking while UP only.

Revision 1.43.8.40: download - view: text, markup, annotated - select for diffs
Fri Mar 27 08:14:04 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.39: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.39: +3 -3 lines
Make pmap_hptdump compile.

Revision 1.43.8.39: download - view: text, markup, annotated - select for diffs
Sat Mar 21 10:48:29 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.38: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.38: +3 -3 lines
No need to apply PTE_PAGE to pa. It's already page aligned.

Revision 1.43.8.38: download - view: text, markup, annotated - select for diffs
Sat Mar 14 12:23:28 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.37: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.37: +8 -2 lines
Add a comment.

Revision 1.43.8.37: download - view: text, markup, annotated - select for diffs
Sat Mar 14 10:59:13 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.36: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.36: +3 -3 lines
Remove redundant part of a KASSERT

Revision 1.43.8.36: download - view: text, markup, annotated - select for diffs
Fri Mar 13 12:07:45 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.35: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.35: +2 -6 lines
Remove some debug code.

Revision 1.43.8.35: download - view: text, markup, annotated - select for diffs
Fri Mar 13 12:05:27 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.34: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.34: +8 -5 lines
Wrap a line. KNF.

Revision 1.43.8.34: download - view: text, markup, annotated - select for diffs
Fri Mar 13 12:02:57 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.33: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.33: +6 -2 lines
Add a couple of KASSERTs.

Revision 1.43.8.33: download - view: text, markup, annotated - select for diffs
Sun Mar 8 11:33:09 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.32: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.32: +5 -3 lines
bcopy -> memcpy

Revision 1.43.8.32: download - view: text, markup, annotated - select for diffs
Sun Mar 1 23:25:09 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.31: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.31: +3 -3 lines
Fix previous - I forgot a ;

Revision 1.43.8.31: download - view: text, markup, annotated - select for diffs
Sun Mar 1 23:23:50 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.30: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.30: +7 -11 lines
More DIAGNOSTIC changed to KASSERT.

Revision 1.43.8.30: download - view: text, markup, annotated - select for diffs
Wed Feb 25 20:43:30 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.29: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.29: +4 -4 lines
s/u_int32_t/uint32_t/

Revision 1.43.8.29: download - view: text, markup, annotated - select for diffs
Tue Feb 24 23:27:27 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.28: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.28: +3 -3 lines
Re-enable hp700_pagezero_{,un}map

Revision 1.43.8.28: download - view: text, markup, annotated - select for diffs
Tue Feb 24 15:38:51 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.27: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.27: +4 -2 lines
Fix non-DIAGNOSTIC compiles.

Revision 1.43.8.27: download - view: text, markup, annotated - select for diffs
Mon Feb 23 14:25:50 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.26: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.26: +2 -6 lines
Remove debug code so that a kernel compiles with clean sources from the
branch.

Revision 1.43.8.26: download - view: text, markup, annotated - select for diffs
Thu Feb 19 18:23:35 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.25: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.25: +8 -40 lines
Fixup redzone stuff and enable it if DIAGNOSTIC.

Revision 1.43.8.25: download - view: text, markup, annotated - select for diffs
Wed Feb 11 12:08:12 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.24: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.24: +147 -41 lines
Handle non-equivalent aliases.

Thanks to mjf for help with this.

Revision 1.43.8.24: download - view: text, markup, annotated - select for diffs
Sun Feb 8 11:25:26 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.23: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.23: +5 -5 lines
Whitespace.

Revision 1.43.8.23: download - view: text, markup, annotated - select for diffs
Tue Feb 3 09:18:15 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.22: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.22: +4 -6 lines
Make LOCKDEBUG kernels boot.

Revision 1.43.8.22: download - view: text, markup, annotated - select for diffs
Thu Jan 29 23:29:23 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.21: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.21: +6 -6 lines
Rename a variable to better reflect what it's used for.

Revision 1.43.8.21: download - view: text, markup, annotated - select for diffs
Sun Jan 25 10:29:27 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.20: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.20: +10 -17 lines
Convert some #ifdef PMAPDEBUG checks to KASSERTs.

Revision 1.43.8.20: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:14 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.19: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.19: +11 -9 lines
Sync with HEAD.

Revision 1.43.8.19: download - view: text, markup, annotated - select for diffs
Sun Jan 18 18:50:45 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.18: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.18: +4 -4 lines
Update a comment to make sense to >1 person.

Revision 1.43.8.18: download - view: text, markup, annotated - select for diffs
Sun Jan 18 18:46:37 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.17: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.17: +3 -3 lines
It's VM_PAGE_TO_PHYS you muppet.

Revision 1.43.8.17: download - view: text, markup, annotated - select for diffs
Sun Jan 18 18:45:16 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.16: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.16: +12 -4 lines
Before returning a page to UVM flush the cache to avoid aliasing problems.

Revision 1.43.8.16: download - view: text, markup, annotated - select for diffs
Sun Jan 18 18:39:38 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.15: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.15: +7 -7 lines
Convert pmap_flush_page's 2nd arg from int to bool.

Revision 1.43.8.15: download - view: text, markup, annotated - select for diffs
Sun Jan 18 18:36:07 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.14: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.14: +2 -5 lines
G/C #if 0 code

Revision 1.43.8.14: download - view: text, markup, annotated - select for diffs
Sun Jan 18 18:32:17 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.13: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.13: +3 -3 lines
Typo.

Revision 1.42.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:02 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.42.6.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.6.1: +23 -26 lines
Sync with HEAD.

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

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Dec 16 22:35:23 2008 UTC (15 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +15 -16 lines
replace bitmask_snprintf(9) with snprintb(3)

Revision 1.43.8.13: download - view: text, markup, annotated - select for diffs
Mon Dec 15 19:41:58 2008 UTC (15 years, 11 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.12: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.12: +3 -56 lines
No need for pmap_bootstrap_pv_page* with PMAP_{,UN}MAP_POOLPAGE.

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

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

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:45:44 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +11 -12 lines
Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module.  pmap_kernel()
remains as the syntactic sugar.

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

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

Revision 1.43.8.12: download - view: text, markup, annotated - select for diffs
Thu Dec 4 20:57:15 2008 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.11: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.11: +10 -7 lines
Improve debug output.

Revision 1.43.8.11: download - view: text, markup, annotated - select for diffs
Thu Dec 4 20:37:37 2008 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.10: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.10: +61 -57 lines
Improve locking.

Revision 1.43.8.10: download - view: text, markup, annotated - select for diffs
Thu Dec 4 20:26:34 2008 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.9: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.9: +19 -8 lines
Whitespace.

Revision 1.43.8.9: download - view: text, markup, annotated - select for diffs
Sat Nov 22 19:45:36 2008 UTC (16 years ago) by mjf
Branches: nick-hppapmap
Diff to: previous 1.43.8.8: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.8: +3 -3 lines
Bah! Fix my previous commit that broke the build. I should have converted
the cast I just removed to uint32_t.

Revision 1.43.8.8: download - view: text, markup, annotated - select for diffs
Sat Nov 22 19:28:18 2008 UTC (16 years ago) by mjf
Branches: nick-hppapmap
Diff to: previous 1.43.8.7: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.7: +3 -3 lines
Don't cast 'pve->pv_va' to int, seeing as its type is vaddr_t (uint32_t).

Revision 1.43.8.7: download - view: text, markup, annotated - select for diffs
Mon Nov 17 11:06:21 2008 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.6: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.6: +4 -4 lines
Restore PMAP_NC

Revision 1.43.8.6: download - view: text, markup, annotated - select for diffs
Mon Nov 17 07:18:32 2008 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.5: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.5: +3 -3 lines
Typo in comment.

Revision 1.43.8.5: download - view: text, markup, annotated - select for diffs
Mon Nov 10 13:46:05 2008 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.4: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.4: +123 -130 lines
Improve BTLB handing.

Revision 1.43.8.4: download - view: text, markup, annotated - select for diffs
Sun Nov 9 15:04:14 2008 UTC (16 years ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.3: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.3: +2 -26 lines
G/C some old stuff.

Revision 1.43.8.3: download - view: text, markup, annotated - select for diffs
Sat Nov 1 12:16:53 2008 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.2: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.2: +41 -21 lines
Pre-allocate pdes for all of KVA.

Correctly pmap_kenter_pa the various memory areas.

Revision 1.43.8.2: download - view: text, markup, annotated - select for diffs
Thu Oct 30 10:20:23 2008 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43.8.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.8.1: +12 -15 lines
Fix up memory counts and reporting.

Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Mon Oct 27 08:02:41 2008 UTC (16 years, 1 month ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +1154 -1255 lines
Commit work in progress.

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

Revision 1.42.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:07 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +2 -9 lines
sync with head.

Revision 1.42.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:32 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -9 lines
sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:23 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, haad-dm
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:36 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.38.2.2: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.16.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:36:43 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.2.5: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.5: +5 -5 lines
sync with head

Revision 1.37.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:46:22 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.37.10.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.10.1: +6 -6 lines
sync with HEAD

Revision 1.39.6.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:50 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.39.6.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.6.1: +1 -1 lines
Sync with HEAD

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jan 5 00:23:36 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
Fix includes

Revision 1.39.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:48:05 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
Sync with HEAD

Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:42:57 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.1: +4 -4 lines
Sync with HEAD.

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:42:10 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +4 -4 lines
Sync with head.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Dec 20 08:11:31 2007 UTC (16 years, 11 months ago) by skrll
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
typo in comment.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Dec 15 00:39:20 2007 UTC (16 years, 11 months ago) by perry
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
__FUNCTION__ -> __func__

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:17:05 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Sync with HEAD.

Revision 1.16.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:24:52 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.2.4: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.4: +3 -3 lines
sync with head

Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:36:15 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.35.2.2: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.2: +3 -3 lines
Sync with HEAD.

Revision 1.37.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:35:37 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +3 -3 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Nov 26 08:33:11 2007 UTC (17 years ago) by yamt
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
pmap_create: M_VMMAP -> M_VMPMAP for pmap.

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

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:54:31 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.35.10.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:23:30 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.35.10.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.10.1: +2 -17 lines
Sync with HEAD

Revision 1.16.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:26:23 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.2.3: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.3: +44 -56 lines
sync with head.

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:16:06 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.1: +2 -17 lines
Sync with head.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jul 12 14:15:37 2007 UTC (17 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, matt-mips64-base, matt-mips64, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -17 lines
Like I said - don't futz with the trapframe in pmap_activate. Instead
update the trapframe space and protection register in cpu_lwp_fork and
setregs.

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

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:24 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -16 lines
Sync with head.

Revision 1.35.10.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:53 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -16 lines
Update to HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri May 18 09:10:50 2007 UTC (17 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: mjf-ufs-trans-base
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +19 -16 lines
pmap_activate shouldn't play with the trap frame - especially not now it's
called by the MI code.

Implement a way of tracking the vmspace allocated to a process and its
LWPs so that if it changes underneath us we can correct the space id in
the trapframe in pmap_activate for now.

An example of when this happens is vfork/exec.

An exec hook is probably the way to go.

Revision 1.30.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:48:17 2007 UTC (17 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.30.4.1: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.4.1: +41 -41 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Mar 4 05:59:55 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +25 -25 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Mar 3 14:37:54 2007 UTC (17 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +18 -18 lines
Remove hppa_{round,trunc}_page.

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

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

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

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

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Feb 19 13:19:20 2007 UTC (17 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -8 lines
Whitespace.

Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:49 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.1: +5 -5 lines
Sync with head.

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:04 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +93 -65 lines
sync with head.

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:01 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +55 -36 lines
sync with head.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Nov 24 22:04:23 2006 UTC (18 years ago) by wiz
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -5 lines
s/independant/independent/, from Zafer.

Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:17 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +52 -33 lines
Sync with head.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Oct 30 16:04:10 2006 UTC (18 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +19 -10 lines
pmap_kenter_pa the kernel and it's data structures including the kernel
stack.

Fixes the "booting from disk memory corruption bug" which was a result
of pmap_extract silently failing against a scsipi_xfer data area allocat-
ed on kernel stack in _bus_dmamap_load_buffer

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Oct 30 08:41:27 2006 UTC (18 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +15 -2 lines
Add some debug code.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Oct 30 08:39:04 2006 UTC (18 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +7 -7 lines
Whitespace fixes.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Oct 30 08:30:01 2006 UTC (18 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -5 lines
G/C pages_per_vm_page

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Oct 23 14:15:09 2006 UTC (18 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +17 -17 lines
KNF and comment update.

Revision 1.18.8.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:10 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.18.8.1: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.8.1: +5 -5 lines
sync with head.

Revision 1.18.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:39:52 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +50 -41 lines
sync with head

Revision 1.18.18.1: download - view: text, markup, annotated - select for diffs
Thu Sep 7 18:09:42 2006 UTC (18 years, 3 months ago) by riz
Branches: abandoned-netbsd-4
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +50 -41 lines
Pull up following revision(s) (requested by skrll in ticket #116):
	sys/arch/hppa/hppa/pmap.c: revision 1.19
	sys/arch/hppa/hppa/pmap.c: revision 1.20
	sys/arch/hppa/hppa/pmap.c: revision 1.21
	sys/arch/hppa/hppa/pmap.c: revision 1.22
	sys/arch/hppa/hppa/pmap.c: revision 1.23
	sys/arch/hppa/hppa/pmap.c: revision 1.24
	sys/arch/hp700/conf/ld.script: revision 1.9
Fix PMAPDEBUG compile by sorting the printf format problems.
KNF a comment.
Use PMAP_PRINTF(PDB_INIT, ...) instead of various #ifdefs and add some
more debug code.
KNF a comment
Fix PR 33702.
Modernise the linker script and make sure we have a symbol after the
link_sets.
Make sure that pmap_bootstrap doesn't tell uvm that some of the kernel
phys pages are free. Previously uvm would very likely allocate the phys
pages used for the link_sets to a MALLOC and they'd get overwritten.
Thanks to David H. Gutteridge for testing various things.
Don't lose a page at the end of the 3 segments we uvm_page_physload.
(end/avail_end are excluive page numbers - as dicussed on tech-kern)

Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:22:57 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +52 -43 lines
sync with head.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Sep 3 13:40:08 2006 UTC (18 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5 lines
Don't lose a page at the end of the 3 segments we uvm_page_physload.
(end/avail_end are excluive page numbers - as dicussed on tech-kern)

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Aug 25 06:49:15 2006 UTC (18 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pdpolicy-base8
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +13 -13 lines
Fix PR 33702.

Modernise the linker script and make sure we have a symbol after the
link_sets.

Make sure that pmap_bootstrap doesn't tell uvm that some of the kernel
phys pages are free. Previously uvm would very likely allocate the phys
pages used for the link_sets to a MALLOC and they'd get overwritten.

Thanks to David H. Gutteridge for testing various things.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Aug 25 06:23:54 2006 UTC (18 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -9 lines
KNF a comment

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Aug 24 07:00:46 2006 UTC (18 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +16 -15 lines
Use PMAP_PRINTF(PDB_INIT, ...) instead of various #ifdefs and add some
more debug code.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Aug 24 06:54:11 2006 UTC (18 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -4 lines
KNF a comment.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Aug 24 06:50:48 2006 UTC (18 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +16 -10 lines
Fix PMAPDEBUG compile by sorting the printf format problems.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:52:02 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +30 -30 lines
sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:07:04 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, 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
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, abandoned-netbsd-4
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +30 -30 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:37 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
merge ktrace-lwp.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:56:31 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.1: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +9 -4 lines
Sync with HEAD. Here we go again...

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:33:54 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-2
CVS tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +7 -2 lines
Pull up revision 1.16 (requested by chs in ticket #1980):
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 8 11:31:58 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-0-3-RELEASE
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +7 -2 lines
Pull up revision 1.16 (requested by chs in ticket #1980):
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.14.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 12:16:19 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +7 -2 lines
Pull up revision 1.16 (requested by chs in ticket #424):
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun May 29 15:56:59 2005 UTC (19 years, 6 months ago) by chs
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -2 lines
in pmap_enter(), preset the mod/ref bits based on the flags argument.
fixes 25640.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat May 7 15:54:46 2005 UTC (19 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
in pmap_protect(), remove the assertion that any entries modified must be
managed.  after the yamt-km changes, the sti driver needs to add execute
permission to the (now unmanaged) mapping for its copy of the card firmware,
and this appears to work fine already.

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:35:29 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +79 -115 lines
Sync with HEAD

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 18 23:21:35 2004 UTC (20 years, 4 months ago) by chs
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -5 lines
add hppa support for RAS, context stuff, siginfo and scheduler activations:
 - add a RAS hook in cpu_switch().
 - fill in the definition of struct mcontext.
 - implement cpu_upcall(), cpu_getmcontext(), cpu_getmcontext() and
   cpu_switchto().
 - for now, force the right priviledge bits and space regs in setcontext().
 - use correct values for __SIMPLELOCK_*.
 - move the user stack to start at a multiple of the pthread stack size
   so that libpthread can use the sp-masking trick.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun May 16 17:07:07 2004 UTC (20 years, 6 months ago) by chs
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -4 lines
in pmap_protect(), don't just return if the desired permissions include write.
we could be removing execute permission.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jan 5 02:25:32 2004 UTC (20 years, 11 months ago) by chs
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0, netbsd-2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -5 lines
add a PMAP_NC flag for pmap_kenter_pa() to specific a non-cached mapping.
use this in mbus_dmamem_map() to fix corruption of DMA memory.
note that this TLB bit is ignored on some CPUs (PA7100 and probably
others of that era), so this doesn't fix the problem in general,
but it does work on newer models and will make things easier later.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Nov 28 19:02:25 2003 UTC (21 years ago) by chs
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +46 -84 lines
de-__P, remove register, ansify.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Aug 31 01:26:35 2003 UTC (21 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +30 -29 lines
update for LWPs, and some lite cleanup.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:29:39 2003 UTC (21 years, 4 months ago) by lukem
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -1 lines
__KERNEL_RCSID()

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

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

Fixes PR kern/21517.

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

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

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

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

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Apr 1 20:50:12 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -6 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:35:47 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.2: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +535 -405 lines
sync kqueue branch with HEAD

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Sat Aug 31 13:44:46 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.1.4.2: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +535 -405 lines
catch up with -current.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 25 20:19:59 2002 UTC (22 years, 3 months ago) by fredette
Branches: MAIN
CVS tags: nathanw_sa_before_merge, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +75 -43 lines
No longer use BTLB entries to map the entire address spaces of I/O subsystems,
since BTLB entries can be scarce and very little of an I/O subsystem normally
needs to be mapped.

Instead, the pmap now allows mappings of I/O space to be entered with
pmap_kenter_pa.  bus_space mappings for small amounts of I/O space (as for
virtually all devices) are made this way, with BTLB entries still used for
large mappings for things like framebuffers.

This has led to more and cleaned-up uses of bus_space(9) and has caused
some autoconf cleanup.  Also, kgdb is now attached and connected before
autoconfiguration, which is much earlier than before.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 19 18:58:26 2002 UTC (22 years, 3 months ago) by fredette
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Cleaned up BTLB support.  There are no longer BTLB function pointers
in struct hppa_cpu_info or anywhere else, now there are just hppa_btlb_*
functions.  Added support for machines with split I/D and variable-range
BTLBs.  Added support for purging BTLB entries.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 11 22:29:08 2002 UTC (22 years, 3 months ago) by fredette
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +255 -243 lines
Significant pmap changes to no longer rely on the "U-bit" (TLB_UNCACHEABLE)
to deal with aliasing of regular memory pages, because many processors don't
support it.

Now, the pmap marks all mappings of a page that has any non-equivalent
aliasing and any writable mapping, and the fault handlers watch for this
and flush other mappings out of the TLB and cache before (re)entering a
conflicting mapping.

When a page has non-equivalent aliasing, only one writable mapping at
a time may be in the TLB and cache.  If no writable mapping is in the
TLB and cache, any number of read-only mappings may be.

The PA7100LC/PA7300LC fault handlers have not been converted yet.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Aug 5 20:58:35 2002 UTC (22 years, 4 months ago) by fredette
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +256 -170 lines
Made changes in where/how the kernel is linked, and how the pmap
maps it with BTLB entries, to minimize the number of BTLB entries
needed.

Because the CPU type was often guessed incorrectly, the mapping of
HP board number to system name now includes information about the
expected CPU type.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Sun Jul 14 17:47:12 2002 UTC (22 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.1.4.1: preferred, colored
Changes since revision 1.1.4.1: +1865 -0 lines
catch up with -current.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:37:05 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +1865 -0 lines
catch up with -current on kqueue branch

Revision 1.1.4.1
Wed Jun 5 01:04:20 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
FILE REMOVED
Changes since revision 1.1: +0 -1865 lines
file pmap.c was added on branch gehenna-devsw on 2002-07-14 17:47:12 +0000

Revision 1.1.2.1
Wed Jun 5 01:04:20 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
FILE REMOVED
Changes since revision 1.1: +0 -1865 lines
file pmap.c was added on branch kqueue on 2002-06-23 17:37:05 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 5 01:04:20 2002 UTC (22 years, 6 months ago) by fredette
Branches: MAIN
Branch point for: kqueue, gehenna-devsw
Added files to support generic HP PA-RISC based machines.  hp700-specific
files to follow.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>