Skip to content

Create repro for mshv get dirty page issues #689

Open

Description

@simongdavies

When using dirty page tracking on mshv in #683 a couple of issues cropped up in the mshv implementation:

  1. After enabling dirty page tracking the first call to get the dirty page bitmap reports that all pages are dirty, and sometimes also includes a bit for a page beyond the end of the mapped page.
  2. Calling get_dirty_log on the mshv crate gets slower as the size of the mapped memory increases, mapping 1GB of memory causes this function to take more than 1ms on some tests, this seems to be independent of the amount of data that is dirty.

Activity

  1. added this to the Upcoming milestone on Jul 16, 2025
  2. added
    lifecycle/confirmedBug is verified or proposal seems reasonable
    and removed on Jul 16, 2025
  3. ludfjig commented on Jul 16, 2025

    @ludfjig
    Contributor
    1. Sometimes pages are reported dirty that are not mapped into the vm (one bit in the last u64 in the log)
  4. removed their assignment
    on Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions