dev: Protect PollEvent processing when running in parallel mode
Review Request #2221 - Created April 3, 2014 and submitted - Latest diff uploaded
| Information | |
|---|---|
| Andreas Sandberg | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10154:4a788c919b4e --------------------------- dev: Protect PollEvent processing when running in parallel mode The calling thread is undefined when the PollQueue services events. This implies that PollEvents need to handle the case where they are processed from a different thread than the thread that created the event. This changeset adds temporary event queue migrations to the VNC server, the ethernet tap device, and the terminal to protect them from inter-thread calls.
Interactive tests with the multi-(CPU|core) KVM implementation, simulation gets very aborts/deadlocks without the patch. Compiles for ARM & X86 targets. This changeset is not expected to affect regressions since they don't test the IO poll queue.
