Source-Changes archive

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

NetBSD master CVS tree commits



thorpej
Sat Mar 21 21:41:37 PST 1998
Update of /cvsroot/src/sys/arch/alpha/alpha
In directory nb00:/tmp/cvs-serv24817

Modified Files:
        pmap.old.c 
Log Message:
Implement support for Address Space Numbers, greatly reducing the number
of TLB and I-cache flushes, significantly speeding up context switches.

Once again, many thanks to Chris Demetriou and Ross Harvey for code
review and debugging assistance!


thorpej
Sat Mar 21 21:46:02 PST 1998
Update of /cvsroot/src/sys/arch/alpha/alpha
In directory nb00:/tmp/cvs-serv24837

Modified Files:
        locore.s 
Log Message:
- The pmap now includes support for ASNs.  We no longer need to flush
  the TLB and I-cache in the SWITCH_CONTEXT macro.
- Right after switching to proc0's newly-created context at startup time,
  flush the TLB and I-cache; this is the only place where it's not done
  automatically.
- Fix a nasty bug in a critical section of cpu_switch(); change the
  pmap_activate -> SWITCH_CONTEXT -> pmap_deactivate sequence to
  pmap_deactivate -> pmap_activate -> SWITCH_CONTEXT.  This prevents
  erroneously marking a pmap inactive if switching to a process that
  shares it's address space (and thus its pmap) with the oldproc!  Noticed
  by Chris Demetriou.




Home | Main Index | Thread Index | Old Index