Changeset 88169d9 in mainline for genarch/src/mm/asid.c


Ignore:
Timestamp:
2006-06-07T00:34:09Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
977649b
Parents:
590cb380
Message:

Move comment.

Do TLB shootdown also when allocating new ASID.

File:
1 edited

Legend:

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

    r590cb380 r88169d9  
    125125                 */
    126126                tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);
     127                tlb_invalidate_asid(asid);
    127128                tlb_shootdown_finalize();
    128                 tlb_invalidate_asid(asid);
    129129        } else {
    130130
     
    136136                asid = asid_find_free();
    137137                asids_allocated++;
     138
     139                /*
     140                 * Purge the allocated rid from TLBs.
     141                 */
     142                tlb_shootdown_start(TLB_INVL_ASID, asid, 0, 0);
     143                tlb_invalidate_asid(asid);
     144                tlb_shootdown_finalize();
    138145        }
    139146       
Note: See TracChangeset for help on using the changeset viewer.