Skip to content
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

Jleong/change exit behavior #114

Merged
merged 12 commits into from
Feb 22, 2017
Merged

Jleong/change exit behavior #114

merged 12 commits into from
Feb 22, 2017

Conversation

omegaphoenix
Copy link
Owner

@omegaphoenix omegaphoenix commented Feb 20, 2017

Use semaphore at the end to see when a thread can exit
(after it's status has been retrieved by the parent).
Fix bug where not checking after palloc'ing a file struct.
Fix bug where not removing from parent if done.
Pass all tests on qemu.
Fail multi-oom and syn-read only on bochs.

The test doesn't want the child to return an error message after
the parent returns even though this was perfectly reasonable with
our previous design. We were passing the test earlier due to luck
since somehow the child process was terminating early enough due
to jitter.

Still failing multi-oom due to hanging on qemu and bochs.
Still failing syn-read on bochs.
Clean up the thread exit because the child now always exits in one
place instead of three possible places.
Still failing multi-oom.
Also fails syn-read and exec-missing on bochs.
Remove thread from parent list if it wasn't removed already.
All tests work on qemu. Hallelujah! multi-oom still hangs on bochs
and syn-read fails on bochs.
Copy link
Owner Author

@omegaphoenix omegaphoenix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DESIGNDOC not up to date

Refactor so we know when an element is removed by checking that
element.

All tests pass on qemu. syn-read has an assertion fail in list_next
and multi-oom hangs on bochs.
All tests passing on qemu.
multi-oom hangs on bochs and syn-read fails.
@omegaphoenix omegaphoenix merged commit ded73a2 into develop Feb 22, 2017
@omegaphoenix omegaphoenix mentioned this pull request Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants