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

Adrian witness #23

Merged
merged 11 commits into from
Sep 1, 2014
Merged

Adrian witness #23

merged 11 commits into from
Sep 1, 2014

Conversation

erikarn
Copy link

@erikarn erikarn commented Sep 1, 2014

No description provided.

Adrian Chadd added 11 commits September 1, 2014 08:14
These are needed for witness.
STACK is required for witness.
The witness code unlocks giant during its init, which actually pisses
off witness if it's not held!
* Make witness not panic the process - it's easily changed by just
  redefining WITNESS_PANIC
* Fix up a case where the code assumes witness would panic - it should
  just fall through.
* Disable the code to handle spinlock checks - the per-cpu and critical
  section stuff on libuinet isn't 100% the same (and I don't think it
  can or should be.)
* Extend most of the lock calls to track file:line up to the UHI
  routines..
* .. which can then optionally log as appropriate.
* Optionally support using libunwind to unwind a stack when
  needed - this is used by witness to track the stack state when
  a witness assertion is hit.
* Add witness macro calls to the uinet implementation of locks
* Add a (blank, debug printf) copy of spinlocks - witness at least
  checks that the lock object for spinlocks is real.
pkelsey added a commit that referenced this pull request Sep 1, 2014
Witness support from Adrian.  There are a few tweaks to this coming soon.
@pkelsey pkelsey merged commit 318d818 into pkelsey:master Sep 1, 2014
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.

2 participants