>> I'm not an expert on this code, but I think it's preventing excessively
>> restarting the CPU if you do a switchover or resume from a checkpoint.
>
> Yea, that's exactly my assumption too, but I'd feel much better if someone
> could explain in detail why it's necessary rather than just leaving it in
> out of the fear of the unknown.  For example, it seems wrong that init()
> would get called more than once on the same object.  Also if there are cases
> where init() is called and the thread is *not* in its initial state, then
> when & where did the thread's state get changed?

Can we even figure out who did what?  Can you trace hg annotate
through the renames and repository conversions and stuff to understand
it?  The thing is, I think the unfortunate answer is that the code
just grew completely organically without anyone really understanding
what's going on.

  Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to