Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86201
b: refs/heads/master
c: c3be10f
h: refs/heads/master
i:
  86199: 45f3924
v: v3
  • Loading branch information
WANG Cong authored and Linus Torvalds committed Feb 24, 2008
1 parent 1b85010 commit 1a691fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7b59ebcd178b5b1d03760c89b318c7a7fdadd051
refs/heads/master: c3be10f75757e681b34766b24264c83b5ba08041
6 changes: 3 additions & 3 deletions trunk/arch/um/kernel/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void show_mem(void)
{
int pfn, total = 0, reserved = 0;
int shared = 0, cached = 0;
int highmem = 0;
int high_mem = 0;
struct page *page;

printk(KERN_INFO "Mem-info:\n");
Expand All @@ -311,7 +311,7 @@ void show_mem(void)
page = pfn_to_page(pfn);
total++;
if (PageHighMem(page))
highmem++;
high_mem++;
if (PageReserved(page))
reserved++;
else if (PageSwapCache(page))
Expand All @@ -320,7 +320,7 @@ void show_mem(void)
shared += page_count(page) - 1;
}
printk(KERN_INFO "%d pages of RAM\n", total);
printk(KERN_INFO "%d pages of HIGHMEM\n", highmem);
printk(KERN_INFO "%d pages of HIGHMEM\n", high_mem);
printk(KERN_INFO "%d reserved pages\n", reserved);
printk(KERN_INFO "%d pages shared\n", shared);
printk(KERN_INFO "%d pages swap cached\n", cached);
Expand Down

0 comments on commit 1a691fd

Please sign in to comment.