-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2402/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10394:50d81070b1b4
---------------------------
cpu: Remove unused deallocateContext calls

The call paths for de-scheduling a thread are halt() and suspend(), from
the thread context. There is no call to deallocateContext() in general,
though some CPUs chose to define it. This patch removes the function
from BaseCPU and the cores which do not require it.


Diffs
-----

  src/cpu/base.hh e2c43045a81b 
  src/cpu/inorder/inorder_dyn_inst.hh e2c43045a81b 
  src/cpu/inorder/inorder_dyn_inst.cc e2c43045a81b 
  src/cpu/inorder/thread_context.hh e2c43045a81b 
  src/cpu/o3/cpu.hh e2c43045a81b 
  src/cpu/o3/cpu.cc e2c43045a81b 
  src/cpu/simple/base.hh e2c43045a81b 
  src/cpu/simple/base.cc e2c43045a81b 

Diff: http://reviews.gem5.org/r/2402/diff/


Testing
-------


Thanks,

Andreas Hansson

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

Reply via email to