Skip to content

Commit

Permalink
cagent: always probeackdata
Browse files Browse the repository at this point in the history
* The correctness of the commit is to be considered
  • Loading branch information
wakafa1 committed Jul 11, 2022
1 parent e9d3d12 commit 69b3e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TLAgent/CAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace tl_agent {
pendingC.init(req_c, 1);
Log("[%ld] [ProbeAck NtoN] addr: %x\n", *cycles, *b->address);
} else {
int dirty = (exact_privilege == TIP) && (rand() % 3);
int dirty = (exact_privilege == TIP); // && (rand() % 3); // FIXME
// When should we probeAck with data? request need_data or dirty itself
req_c->opcode = (dirty || *b->needdata) ? new uint8_t(ProbeAckData) : new uint8_t(ProbeAck);
if (*b->param == toB) {
Expand Down

0 comments on commit 69b3e3c

Please sign in to comment.