Skip to content

vmm: reduce memory copy when BFT device tree #5428

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2023

Conversation

HowHsu
Copy link

@HowHsu HowHsu commented May 9, 2023

The current implementation of breadth first traversal for device tree uses a temporary vector, therefore causes unnecessary memory copy. Remove it and do it within vector nodes.

@HowHsu HowHsu requested a review from a team as a code owner May 9, 2023 07:35
@HowHsu HowHsu closed this May 9, 2023
@HowHsu HowHsu reopened this May 9, 2023
The current implementation of breadth first traversal for device tree
uses a temporary vector, therefore causes unnecessary memory copy.
Remove it and do it within vector nodes.

Signed-off-by: Hao Xu <[email protected]>
@rbradford rbradford merged commit c56a3ce into cloud-hypervisor:main May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants