Hello,

Could someone tell me why we need to take the head event off the event queue in RubySystem::serialize() in src/mem/ruby/system/System.cc?

Event* eventq_head = eventq->replaceHead(NULL);

The problem I'm getting is that when simulate() is called a few lines later, it tries to reschedule the simulate_limit_event, but that causes a panic because it's no longer on the event queue. This is happening when trying to take a checkpoint with ruby. I can't work out from the comments why the head event needs to be taken off in the first place.

This is basically the reason behind the problems in this thread:

https://www.mail-archive.com/[email protected]/msg11701.html

Thanks
Tim

--
Timothy M. Jones
http://www.cl.cam.ac.uk/~tmj32/
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to