This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split higher level cell when allocated bad cells (#27)
* Split higher level cell when allocated bad cells When buddy allocation failed due to bad cells, try to split a higher level cell to get current level cells. * Fix deletion errors Fix deletion errors. * Add allocate function to split higher level cells Add allocate function to split higher level cells. * Fix test Fix test. * Add test case Add test case. * Resolve comments Resolve comments. * Add free list in panic log when safety is broken Add free list in panic log when safety is broken. * Add test case when unable to split Add test case when unable to split due to safety guarantee. * Update Update. * Fix memory leak in removePickedGpus Fix memory leak in `removePickedGpus`. * Early stop safety check at current level Early stop safety check at current level.
- Loading branch information
Showing
4 changed files
with
177 additions
and
8 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