commit 699829ae850511aae52921377deac8d0068c3c62
parent 241be268e447a2c29dbf6bd01f5b59cdb9e83086
Author: sin <sin@2f30.org>
Date: Wed, 6 Mar 2013 17:08:34 +0000
mem: Add some comments
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/mem.c b/mem.c
@@ -155,6 +155,8 @@ diff_mem_region(struct mem_region *dst,
for (i = 0; i < src->nblocks; i++) {
found = false;
+ /* We diff block by block, the memory regions
+ * contain rsize / blksize number of memory blocks */
mb_src = &src->mblks[i];
mb_dst = &dst->mblks[i];
if (mb_src->weak_sum == mb_dst->weak_sum) {