Re: [RFC 17/22] s390: Use generic show_mem()

From: Johannes Weiner
Date: Thu Apr 03 2008 - 09:00:39 EST


Hi,

Heiko Carstens <heiko.carstens@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/