From a9628142fd3ce5e3d221ba4b60bcb33c394140e1 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 30 Sep 2019 18:37:59 +0200 Subject: [PATCH] Clarify a comment about memory total_frag field. --- src/server.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/server.c b/src/server.c index 79c458ee9..cacce6dc2 100644 --- a/src/server.c +++ b/src/server.c @@ -4058,9 +4058,11 @@ sds genRedisInfoString(char *section) { mh->allocator_rss_bytes, mh->rss_extra, mh->rss_extra_bytes, - mh->total_frag, /* This is the total RSS overhead, including - fragmentation. */ - mh->total_frag_bytes, /* Named so for backwards compatibility. */ + mh->total_frag, /* This is the total RSS overhead, including + fragmentation, but not just it. This field + (and the next one) is named like that just + for backward compatibility. */ + mh->total_frag_bytes, freeMemoryGetNotCountedMemory(), mh->repl_backlog, mh->clients_slaves,