aws/aws-nitro-enclaves-cli

nitro-cli-config leaves CPU pool allocated if memory reservation fails

Open

#443 opened on Mar 6, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (101 forks)auto 404
buggood first issue

Repository metrics

Stars
 (151 stars)
PR merge metrics
 (PR metrics pending)

Description

The following code https://github.com/aws/aws-nitro-enclaves-cli/blob/main/bootstrap/nitro-cli-config#L769-L775 gracefully rolls back memory reservation if there's not enough huge pages available, but doesn't roll back the CPU pool.

Implement rollback for CPU pool as well

Contributor guide