-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix 0 reclaimable bytes handling in priority reclaiming (#11925)
Summary: Current logic skips processing memory reclaim on next priority batch if the current batch has reclaimable bytes of 0. This might cause reclaim not happen in some cases. Making it traverse all candidates fix the bug. Pull Request resolved: #11925 Reviewed By: xiaoxmeng Differential Revision: D67554750 Pulled By: tanjialiang fbshipit-source-id: 7e669daebfaa7eeaf14dec6c7ad35e852d1b5924
- Loading branch information
1 parent
9265fbf
commit e9bb6c1
Showing
2 changed files
with
37 additions
and
4 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