Changeset fa7d9c4 in mainline for arch/ia64/include/mm/asid.h


Ignore:
Timestamp:
2006-01-24T20:30:26Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc5412e
Parents:
36b01bb2
Message:

Unlock address space prior TLB shootdown in get_asid() to unify
the locking order among mips32, sparc64 and ia64.

Add ASID_STEALING_ENABLED macro to disable the stealing part on ia64
in a clean way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/mm/asid.h

    r36b01bb2 rfa7d9c4  
    3434typedef __u32 asid_t;
    3535
     36/**
     37 * This macro eliminates the stealing branch of asid_get().
     38 */
     39#define ASID_STEALING_ENABLED   0
     40
    3641/** Number of ia64 RIDs (Region Identifiers) per kernel ASID. */
    3742#define RIDS_PER_ASID           7
     
    3944
    4045/**
    41  * The point is to have ASID_MAX_ARCH big enough
    42  * so that it is never reached and the ASID allocation
    43  * mechanism in asid_get() never resorts to stealing.
     46 * This macro is needed only to compile the kernel.
     47 * On ia64, its value is ignored.
    4448 */
    45 #define ASID_MAX_ARCH           ((asid_t) -1)   /**< This value is never reached. */
     49#define ASID_MAX_ARCH           0
    4650
    4751/**
Note: See TracChangeset for help on using the changeset viewer.