Searched hist:11779 (Results 1 - 2 of 2) sorted by relevance

/gem5/src/mem/ruby/network/
H A DMessageBuffer.hhdiff 11779:25dd0fd23474 Tue Dec 20 12:38:00 EST 2016 Joel Hestness <jthestness@gmail.com> ruby: Make MessageBuffers actually finite sized

When Ruby controllers stall messages in MessageBuffers, the buffer moves those
messages off the priority heap and into a per-address stall map. When buffers
are finite-sized, the test areNSlotsAvailable() only checks the size of the
priority heap, but ignores the stall map, so the map is allowed to grow
unbounded if the controller stalls numerous messages. This patch fixes the
problem by tracking the stall map size and testing the total number of messages
in the buffer appropriately.
H A DMessageBuffer.ccdiff 11779:25dd0fd23474 Tue Dec 20 12:38:00 EST 2016 Joel Hestness <jthestness@gmail.com> ruby: Make MessageBuffers actually finite sized

When Ruby controllers stall messages in MessageBuffers, the buffer moves those
messages off the priority heap and into a per-address stall map. When buffers
are finite-sized, the test areNSlotsAvailable() only checks the size of the
priority heap, but ignores the stall map, so the map is allowed to grow
unbounded if the controller stalls numerous messages. This patch fixes the
problem by tracking the stall map size and testing the total number of messages
in the buffer appropriately.

Completed in 16 milliseconds