]> git.itanic.dy.fi Git - scan-pagemap/commitdiff
analyzer: Add a comment
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 14 Jul 2010 17:24:53 +0000 (20:24 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Wed, 14 Jul 2010 17:24:53 +0000 (20:24 +0300)
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
analyze.c

index 806752bccd54834f6028614e2750432c1b5df30b..4d07988f1b97b4e0433912175af504406cc45ccf 100644 (file)
--- a/analyze.c
+++ b/analyze.c
@@ -97,6 +97,10 @@ void print_pid_stats(struct pageframe *pf, struct process *process_list)
        long int biggest = 0, second_biggest;
        int count;
 
+       /*
+        * walk through all processes, find the one with most present
+        * pages
+        */
        list_for_each_entry(ps, &process_list->list, list) {
                memset(&af, 0, sizeof(af));
                af.ops.callback = count_pages;