Updated the comments on resetwatermarks (#33309)
diff --git a/src/platform/Linux/DiagnosticDataProviderImpl.cpp b/src/platform/Linux/DiagnosticDataProviderImpl.cpp
index cc57da6..5ee5558 100644
--- a/src/platform/Linux/DiagnosticDataProviderImpl.cpp
+++ b/src/platform/Linux/DiagnosticDataProviderImpl.cpp
@@ -287,8 +287,8 @@
// If implemented, the server SHALL set the value of the CurrentHeapHighWatermark attribute to the
// value of the CurrentHeapUsed.
- // On Linux, the write operation is non-op since we always rely on the mallinfo system
- // function to get the current heap memory.
+ // Get the current amount of heap memory, in bytes, that are being used by
+ // the current running program and reset the max heap high watermark to current heap amount.
struct mallinfo mallocInfo = mallinfo();
maxHeapHighWatermark = mallocInfo.uordblks;