lkml.org 
[lkml]   [2008]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC 17/22] s390: Use generic show_mem()
Date
Hi,

Heiko Carstens <heiko.carstens@de.ibm.com> writes:

>> diff --git a/arch/s390/mm/init.c b/arch/s390/mm/init.c
>> index 8053245..27b94cb 100644
>> --- a/arch/s390/mm/init.c
>> +++ b/arch/s390/mm/init.c
>> @@ -42,42 +42,6 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
>> pgd_t swapper_pg_dir[PTRS_PER_PGD] __attribute__((__aligned__(PAGE_SIZE)));
>> char empty_zero_page[PAGE_SIZE] __attribute__((__aligned__(PAGE_SIZE)));
>>
>> - printk("Free swap: %6ldkB\n", nr_swap_pages << (PAGE_SHIFT - 10));
>> - printk("%lu pages dirty\n", global_page_state(NR_FILE_DIRTY));
>> - printk("%lu pages writeback\n", global_page_state(NR_WRITEBACK));
>> - printk("%lu pages mapped\n", global_page_state(NR_FILE_MAPPED));
>> - printk("%lu pages slab\n",
>> - global_page_state(NR_SLAB_RECLAIMABLE) +
>> - global_page_state(NR_SLAB_UNRECLAIMABLE));
>> - printk("%lu pages pagetables\n", global_page_state(NR_PAGETABLE));
>
> These are all missing in the generic implementation.

These are all duplicates from show_free_areas().

Thanks,

Hannes


\
 
 \ /
  Last update: 2008-04-03 15:03    [W:0.088 / U:2.632 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site