Skip to content

Prepare manager for rust conversion#2230

Merged
stevenengler merged 11 commits intoshadow:mainfrom
stevenengler:manager-cleanup
Jun 21, 2022
Merged

Prepare manager for rust conversion#2230
stevenengler merged 11 commits intoshadow:mainfrom
stevenengler:manager-cleanup

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

This contains some of the changes needed before we can move the manager to rust. It simplifies some of the manager code, and removes the globalmanager (the global manager's syscall counter was removed, and the alloc/dealloc counters were moved to the worker module).

@stevenengler stevenengler added the Component: Main Composing the core Shadow executable label Jun 16, 2022
@stevenengler stevenengler self-assigned this Jun 16, 2022
@github-actions github-actions bot added the Component: Build Build/install tools and dependencies label Jun 16, 2022
@stevenengler stevenengler requested a review from sporksmith June 21, 2022 18:01
This doesn't seem to happen in practice, so panics when a debug build.
Previously this used the global manager's syscall counts when there was no
worker, but we don't need this complexity, and if we actually do try to add
syscall counts when there's no worker, then it's probably an error anyway.
Shadow previously used the global manager's counters. This change was made so
that the entire manager does not need to be global.
@stevenengler stevenengler enabled auto-merge June 21, 2022 21:59
@stevenengler stevenengler merged commit 7e5a00c into shadow:main Jun 21, 2022
@stevenengler stevenengler deleted the manager-cleanup branch June 21, 2022 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Build Build/install tools and dependencies Component: Main Composing the core Shadow executable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants