Changeset f1d1f5d3 in mainline for kernel/genarch/src/mm/asid.c


Ignore:
Timestamp:
2006-09-17T20:10:10Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
57da95c
Parents:
06e1e95
Message:

Fix bug in mm/as.c:

  • as_area_destroy() should not work with AS but as

sparc64 work:

  • start implementing TSB support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/mm/asid.c

    r06e1e95 rf1d1f5d3  
    123123                 */
    124124                as->asid = ASID_INVALID;
     125               
     126                /*
     127                 * If the architecture uses some software cache
     128                 * of TLB entries (e.g. TSB on sparc64), the
     129                 * cache must be invalidated as well.
     130                 */
     131                as_invalidate_translation_cache(as, 0, 0);
     132               
    125133                mutex_unlock(&as->lock);
    126134
     
    142150
    143151                /*
    144                  * Purge the allocated rid from TLBs.
     152                 * Purge the allocated ASID from TLBs.
    145153                 */
    146154                tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.