| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM with a request for the commit description.
MemoryCoordinator: Add support for the trait IsStateful::kNo
Make sure the memory pressure signal is correctly repeated to memory
consumers that need it.I find the title and the first line a bit confusing.
My understanding is that, before this CL, clients with `IsStateful::kYes` were being "spammed" with redundant calls, but apart from that everything was working correctly, even if not optimal.
But from the title, I would guess that `IsStateful::kNo` clients were being mishandled.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
MemoryCoordinator: Add support for the trait IsStateful::kNo
Make sure the memory pressure signal is correctly repeated to memory
consumers that need it.I find the title and the first line a bit confusing.
My understanding is that, before this CL, clients with `IsStateful::kYes` were being "spammed" with redundant calls, but apart from that everything was working correctly, even if not optimal.
But from the title, I would guess that `IsStateful::kNo` clients were being mishandled.
Mistake from my end, but because of the early return in SetLimit, non-stateful clients would not repeatedly receive the memory pressure signal.
So the title is correct.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
MemoryCoordinator: Add support for the trait IsStateful::kNo
Make sure the memory pressure signal is correctly repeated to memory
consumers that need it.
When MemoryCoordinatorPolicyState::SetLimit() is called with identical
parameters, it automatically detects this as a repeated request. If
release_memory is enabled and the system is under pressure, it triggers
a repeated call to `OnReleaseMemory()` for stateless consumers, while
avoiding redundant notifications to stateful consumers.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |