Skip to content

Commit c12305e

Browse files
committed
feat(device-plugin/mig): optimize MIG instance lifecycle with lazy reclamation (#2834)
Introduce lazy reclamation for dynamic MIG instances: - Transition released MIG instances to Idle state instead of destroying immediately. - Fast-path reuse of Idle instances matching profile and physical placement. - Evict conflicting Idle instances when new allocation requirements overlap. - Periodic TTL expiration scan to reclaim unneeded Idle instances and clean up CDI spec files. - Thread-safe synchronization protecting all instance state mutations. - Full error propagation and rollback during allocation and adoption flows. Signed-off-by: AnmolM-777 <b24cs1009@iitj.ac.in>
1 parent 72629ac commit c12305e

3 files changed

Lines changed: 699 additions & 216 deletions

File tree

0 commit comments

Comments
 (0)