Review Board 2.0.15


dev: Protect PollEvent processing when running in parallel mode

Review Request #2221 - Created April 3, 2014 and submitted

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.
Review request changed
Updated (April 9, 2014, 8:03 a.m.)

Status: Closed (submitted)