Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/uvm

Module Name:    src
Committed By:   rmind
Date:           Tue Jun 22 18:34:50 UTC 2010

Modified Files:
        src/sys/uvm: uvm_bio.c uvm_fault.c uvm_map.c uvm_pager.c

Log Message:
Keep the lock around pmap_update() where required.  While fixing this
in ubc_fault(), rework logic to "remember" the last object of page and
reduce locking overhead, since in common case pages belong to one and
the same UVM object (but not always, therefore add a comment).

Unlocks before pmap_update(), on removal of mappings, might cause TLB
coherency issues, since on architectures like x86 and mips64 invalidation
IPIs are deferred to pmap_update().  Hence, VA space might be globally
visible before IPIs are sent or while they are still in-flight.

OK ad@.

To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/uvm/uvm_bio.c
cvs rdiff -u -r1.174 -r1.175 src/sys/uvm/uvm_fault.c
cvs rdiff -u -r1.291 -r1.292 src/sys/uvm/uvm_map.c
cvs rdiff -u -r1.97 -r1.98 src/sys/uvm/uvm_pager.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index