Changeset 434f700 in mainline for arch/ia32/src/smp/apic.c


Ignore:
Timestamp:
2005-04-26T16:17:41Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
babcb148
Parents:
dba84ff
Message:

Replace the deadlock-prone TLB shootdown algorithm with a deadlock-free implementation.
The implementation is a variant of the CMU TLB consistency algorithm.
Very inefficient implementation of a very inefficient (but correct) algorithm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/smp/apic.c

    rdba84ff r434f700  
    231231        l_apic[TPR] &= TPRClear;
    232232
    233 //      if (CPU->arch.family >= 6)
    234 //              enable_l_apic_in_msr();
     233        if (CPU->arch.family >= 6)
     234                enable_l_apic_in_msr();
    235235       
    236236        tmp = l_apic[ICRlo] & ICRloClear;
     
    257257       
    258258        l_apic[ICRT] = t1-t2;
     259       
    259260}
    260261
Note: See TracChangeset for help on using the changeset viewer.