> I appreciate all the feedback on my patches, but I never got a response to my > M5 dynamic data question. If you have the time, I would like to understand > under what criteria do M5 cpus and devices use static vs. dynamic data?
I'm not the best to answer this question, but it more or less comes down to whether you want the Packet object to delete the data upon destruction. A write operation, for example may just point to some existing array that won't change and it shouldn't be deleted. I think that it's actually rare that this is because of stack vs heap. (stack only works in atomic mode for example). Nate _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
