Change free to used in new coremap function.

This commit is contained in:
Geoffrey Challen committed 2016-03-05 11:00:48 -05:00
1 parent a367007689
commit a07a4b75c1
3 files changed
+6 -7

No files matched your search

+1 -1
View File
@@ -834,7 +834,7 @@ kheap_printused(void)
for (pr = allbase; pr != NULL; pr = pr->next_all) {
total += subpage_stats(pr, true);
}
total += coremap_free_bytes();
total += coremap_used_bytes();
spinlock_release(&kmalloc_spinlock);
snprintf(total_string, sizeof(total_string), "%lu", total);