-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add expired check for random item sampling
Summary: Previously, we were not checking the expiration for the sampled item, which could give an incorrect view of the item compositions. This could be more of a problem for items sampled from NVM cache because NVM cache is deferring the evictions for expired items until the reclaims. This fixes the issue by adding a check for expiration for item sampling for both DRAM and NVM items. Reviewed By: udippant Differential Revision: D52179872 fbshipit-source-id: b721f2b55fefd694ce84e99f6270f1de462a672e
- Loading branch information
1 parent
4004715
commit 9f5e430
Showing
4 changed files
with
29 additions
and
13 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
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
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
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