Clarify a comment about memory total_frag field.

This commit is contained in:
antirez 2019-09-30 18:37:59 +02:00
parent eb2114b9cd
commit a9628142fd

View File

@ -4058,9 +4058,11 @@ sds genRedisInfoString(char *section) {
mh->allocator_rss_bytes, mh->allocator_rss_bytes,
mh->rss_extra, mh->rss_extra,
mh->rss_extra_bytes, mh->rss_extra_bytes,
mh->total_frag, /* This is the total RSS overhead, including mh->total_frag, /* This is the total RSS overhead, including
fragmentation. */ fragmentation, but not just it. This field
mh->total_frag_bytes, /* Named so for backwards compatibility. */ (and the next one) is named like that just
for backward compatibility. */
mh->total_frag_bytes,
freeMemoryGetNotCountedMemory(), freeMemoryGetNotCountedMemory(),
mh->repl_backlog, mh->repl_backlog,
mh->clients_slaves, mh->clients_slaves,