Source-Changes-D archive

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

re: CVS commit: src/sys/arch/sparc/sparc

> Module Name:  src
> Committed By: chs
> Date:         Sun Nov  4 00:32:47 UTC 2012
> Modified Files:
>       src/sys/arch/sparc/sparc: locore.s pmap.c
> Log Message:
> in cpu_switchto(), remove the MP-unsafe code to mark a pmap active on a CPU,
> pmap_activate() already does this.  add MP locking to pmap_activate()
> and pmap_deactivate().  move flushing of user windows and virtual caches
> from pamp_activate() to pmap_deactivate().

hmm.  this makes pmap_deactivate() do things in UP that weren't being
done before at all.  switching to/from kernel/lwp for the same lwp will
now be flushing the ctx every time.  that seems suboptimal?

we should really update PMAP_LOCK() to not be kernel lock.


Home | Main Index | Thread Index | Old Index