Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 276017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:51:17+00:00 2026-05-12T00:51:17+00:00

IA-32 defines various cases in which the CPU may invalidate the entire TLB. Starting

  • 0

IA-32 defines various cases in which the CPU may invalidate the entire TLB. Starting with the ASID extensions that AMD released in Opteron Rev-F processors (Barcelona?) there are cases in which only the TLB entries of a certain ASID are invalidated.

The question is, does the ASID itself ever stop being valid? Does the Hypervisor have to check that an ASID is valid before using it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T00:51:17+00:00Added an answer on May 12, 2026 at 12:51 am

    I think the answer is ‘not directly’ – looking at the AMD system programming specification, the ASID field in the VM control block is simply a (up to) 32bit ID which the hypervisor sets to a unique value for each instance of a VM, and is used as an additional tag in the TLB lookup.

    As you have no direct control over the TLB contents on x86, you can’t control what entries end up in the TLB – if the processor decides to add an entry to the TLB, the entry will be tagged with the current ASID, which by definition will be valid when added.

    This is described in a somewhat roundabout way in section 15.15.1 of the previously mentioned system programming spec:

    In implementations that do not provide a way to selectively flush all translations of a single specified ASID, software may effectively flush the guest’s TLB entries by allocating a new ASID for the guest and not reusing the old ASID until the entire TLB has been flushed at least once.

    This implies that the processor has no concept of valid or invalid ASIDs – it’s just a number whose current value must match a TLB entries ASID for the TLB to hit. Hence if the hypervisor doesn’t correctly flush an ASID before it reuses it, you’ll get stale TLB hits.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an RCP application that uses extension points to defined various pluggable bits
.Net defines a Trace Source concept, allowing configuration files to specify which trace sources
The following code defines a sequence of names that are mapped to numbers. It
I have a base controller which is defined as follows, but the constructor that
My Case: I'm working on a system that will need to create various X12
I have a boost::variant , which contains various types and I have a string
I'm looking for the math that give me the direction in which i'm crossing
I have read the various posts to do with inheritance and that Protocol Buffers
I've been working on some streaming software that takes live feeds from various kinds
I just discovered that when Language Extensions are disabled in MSVC, you get this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.