The parameters were in wrong order, thus causing the new pageframe
referencing node to be lost for most of the processes. The results
were thus showing only references for only the first pid that was
found, ignoring everything else. This fix will thus improve the
results dramatically.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
} else {
tmp = alloc_maplist();
tmp->map = map;
- list_add(&match->ml->list, &tmp->list);
+ list_add(&tmp->list, &match->ml->list);
}
if (match->page_present)