Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a work around when pirating non-power-of-2 caches
When pirating caches with a non-power-of-2 size, the index function sometimes uses bits outside of the range of the huge pages. This only happens in some corner cases (at least on Westemere based systems with a 12MB cache). Work around this issue by only using the first way-size bytes of each huge page.
- Loading branch information
Showing
1 changed file
with
72 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters