mem: Simplify page close checks for adaptive policies
authorRizwana Begum <rb639@drexel.edu>
Thu, 30 Apr 2015 03:35:22 +0000 (22:35 -0500)
committerRizwana Begum <rb639@drexel.edu>
Thu, 30 Apr 2015 03:35:22 +0000 (22:35 -0500)
commit52a3bc5e5c3cc694b3f8b29f38b0dd296b91350f
tree21b0d8677477623a3ae34f659175cba278e381e3
parent3a2731fb8cb0bcb152979fb41ba23ce2b981444f
mem: Simplify page close checks for adaptive policies

Both open_adaptive and close_adaptive page polices keep the page
open if a row hit is found. If a row hit is not found, close_adaptive
page policy precharges the row, and open_adaptive policy precharges
the row only if there is a bank conflict request waiting in the queue.

This patch makes the checks for above conditions simpler.

Committed by: Nilay Vaish <nilay@cs.wisc.edu>
src/mem/dram_ctrl.cc