On Thu, May 12, 2011 at 11:40 AM, nathan binkert <[email protected]> wrote:

> > Why are the kernel symbols stored in the m5 checkpoints?
>
> Because the kernel is saved in the checkpoint memory.  We could just
> extract the symbols from the provided binary a second time, but it
> just seemed safer this way.


I've wondered about this too, and assumed it was so you didn't need to
provide the kernel binary when restarting from a checkpoint.  It does seem
like a lot of state to save.


> Also, I believe that symbols can be
> dynamically added to the system at runtime, so we need to keep track
> of those.
>

Does this really happen?  And if it does, we could just save the dynamically
added symbols.

Then again, it works as it stands, and even if it's annoying to have the
whole symbol table in there it's probably not worth the effort to change
now.

Steve
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to