mem: Simplify page close checks for adaptive policies
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>

gedare/gem5,powerjg/gem5-ci-test,gedare/gem5,rallylee/gem5,sobercoder/gem5,cancro7/gem5,HwisooSo/gemV-update,briancoutinho0905/2dsampling,TUD-OS/gem5-dtu,gem5/gem5,aclifton/cpeg853-gem5,Weil0ng/gem5,austinharris/gem5-riscv,Weil0ng/gem5,kaiyuanl/gem5,kaiyuanl/gem5,cancro7/gem5,gem5/gem5,zlfben/gem5,gedare/gem5,qizenguf/MLC-STT,TUD-OS/gem5-dtu,qizenguf/MLC-STT,kaiyuanl/gem5,kaiyuanl/gem5,powerjg/gem5-ci-test,austinharris/gem5-riscv,gedare/gem5,gem5/gem5,briancoutinho0905/2dsampling,rjschof/gem5,HwisooSo/gemV-update,Weil0ng/gem5,SanchayanMaity/gem5,KuroeKurose/gem5,sobercoder/gem5,SanchayanMaity/gem5,austinharris/gem5-riscv,aclifton/cpeg853-gem5,rallylee/gem5,rjschof/gem5,austinharris/gem5-riscv,TUD-OS/gem5-dtu,gedare/gem5,zlfben/gem5,austinharris/gem5-riscv,qizenguf/MLC-STT,kaiyuanl/gem5,Weil0ng/gem5,HwisooSo/gemV-update,gem5/gem5,zlfben/gem5,briancoutinho0905/2dsampling,sobercoder/gem5,qizenguf/MLC-STT,rjschof/gem5,SanchayanMaity/gem5,rjschof/gem5,aclifton/cpeg853-gem5,rjschof/gem5,TUD-OS/gem5-dtu,KuroeKurose/gem5,rjschof/gem5,sobercoder/gem5,rallylee/gem5,zlfben/gem5,gem5/gem5,rallylee/gem5,rallylee/gem5,SanchayanMaity/gem5,KuroeKurose/gem5,austinharris/gem5-riscv,cancro7/gem5,zlfben/gem5,rallylee/gem5,KuroeKurose/gem5,qizenguf/MLC-STT,rallylee/gem5,powerjg/gem5-ci-test,rjschof/gem5,cancro7/gem5,qizenguf/MLC-STT,HwisooSo/gemV-update,gedare/gem5,aclifton/cpeg853-gem5,briancoutinho0905/2dsampling,SanchayanMaity/gem5,briancoutinho0905/2dsampling,KuroeKurose/gem5,Weil0ng/gem5,cancro7/gem5,TUD-OS/gem5-dtu,KuroeKurose/gem5,HwisooSo/gemV-update,qizenguf/MLC-STT,powerjg/gem5-ci-test,sobercoder/gem5,HwisooSo/gemV-update,SanchayanMaity/gem5,kaiyuanl/gem5,Weil0ng/gem5,aclifton/cpeg853-gem5,SanchayanMaity/gem5,sobercoder/gem5,cancro7/gem5,powerjg/gem5-ci-test,briancoutinho0905/2dsampling,zlfben/gem5,powerjg/gem5-ci-test,aclifton/cpeg853-gem5,zlfben/gem5,Weil0ng/gem5,TUD-OS/gem5-dtu,gem5/gem5,austinharris/gem5-riscv,HwisooSo/gemV-update,kaiyuanl/gem5,briancoutinho0905/2dsampling,powerjg/gem5-ci-test,sobercoder/gem5,cancro7/gem5,TUD-OS/gem5-dtu,gem5/gem5,gedare/gem5,KuroeKurose/gem5,aclifton/cpeg853-gem5