The NetBSD Project

CVS log for src/sys/uvm/uvm_loan.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: rmind-uvmplock


Revision 1.77.4.5 / (download) - annotate - [select for diffs], Tue May 31 03:05:14 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.77.4.4: +2 -4 lines
Diff to previous 1.77.4.4 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

sync with head

Revision 1.77.4.4 / (download) - annotate - [select for diffs], Thu May 19 03:43:06 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.77.4.3: +5 -4 lines
Diff to previous 1.77.4.3 (colored) to branchpoint 1.77 (colored)

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.77.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:36 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.77.4.2: +2 -9 lines
Diff to previous 1.77.4.2 (colored) to branchpoint 1.77 (colored)

sync with head

Revision 1.77.4.2 / (download) - annotate - [select for diffs], Wed Mar 17 06:03:18 2010 UTC (14 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.77.4.1: +34 -34 lines
Diff to previous 1.77.4.1 (colored) to branchpoint 1.77 (colored)

Reorganise UVM locking to protect P->V state and serialise pmap(9)
operations on the same page(s) by always locking their owner.  Hence
lock order: "vmpage"-lock -> pmap-lock.

Patch, proposed on tech-kern@, from Andrew Doran.

Revision 1.77.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:17 2010 UTC (14 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.77: +31 -29 lines
Diff to previous 1.77 (colored)

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.77 / (download) - annotate - [select for diffs], Wed Feb 3 14:02:49 2010 UTC (14 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: uebayasi-xip, rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.76: +9 -4 lines
Diff to previous 1.76 (colored)

A few assertions & comments.

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




CVSweb <webmaster@jp.NetBSD.org>