Source-Changes archive

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

CVS commit: src/sys/arch/arm/arm32



Module Name:    src
Committed By:   scw
Date:           Sun Apr 20 15:42:19 UTC 2008

Modified Files:
        src/sys/arch/arm/arm32: cpuswitch.S pmap.c

Log Message:
There's really no need to switch VM contexts within cpu_switchto() as
MI code always calls pmap_deactivate/pmap_activate on context switch.

Instead, just record the last active lwp (or NULL if it exited) and
defer switching VM context to pmap_activate(). This saves an additional
function call overhead in cpu_switchto().

While here, g/c unused cpuswitch.S local .Lblock_userspace_access.


To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 src/sys/arch/arm/arm32/cpuswitch.S
cvs rdiff -r1.172 -r1.173 src/sys/arch/arm/arm32/pmap.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