Skip to content

Fix ptpage - with test#688

Merged
ngober merged 4 commits intoChampSim:developfrom
maccoymerrell:fix-ptpage
Feb 14, 2026
Merged

Fix ptpage - with test#688
ngober merged 4 commits intoChampSim:developfrom
maccoymerrell:fix-ptpage

Conversation

@maccoymerrell
Copy link
Copy Markdown
Contributor

Added test to the fix proposed by @gh1403.
This test ensures that re-references to the same page at the same level does not result in the allocation of new pages, unexpected misses, or inconsistent mappings.

A GENERATE statement was used to check a collection of 5 page numbers instead of just 1, and each page may or may not be re-referenced 10 times following allocation to ensure the above behavior.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 68.197%. remained the same
when pulling 7302cf2 on maccoymerrell:fix-ptpage
into dfb21c2 on ChampSim:develop.

@ngober ngober merged commit 18c0bca into ChampSim:develop Feb 14, 2026
32 checks passed
github-actions Bot added a commit that referenced this pull request Feb 14, 2026
Author: maccoymerrell
Committer: GitHub

Fix ptpage - with test (#688)

Added test to the fix proposed by @gh1403.
This test ensures that re-references to the same page at the same level
does not result in the allocation of new pages, unexpected misses, or
inconsistent mappings.

A GENERATE statement was used to check a collection of 5 page numbers
instead of just 1, and each page may or may not be re-referenced 10
times following allocation to ensure the above behavior.

---------

Co-authored-by: root <[email protected]>
Co-authored-by: Nathan Gober <[email protected]>
@ngober ngober mentioned this pull request Feb 14, 2026
@maccoymerrell maccoymerrell deleted the fix-ptpage branch February 14, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants