Re: [RFC 10/22] m68k: Use generic show_mem()

From: Johannes Weiner
Date: Thu Apr 03 2008 - 08:58:32 EST


Hi Geert,

Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes:

> The new version no longer prints
>
>> - printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10));
>

show_mem()
show_free_areas()
show_swap_cache_info()
printk("Free swap = %lukB\n", nr_swap_pages << (PAGE_SHIFT - 10));

> and
>
>> - printk("%d free pages\n",free);
>
> on m68k.

show_free_areas() prints global_page_state(NR_FREE_PAGES). Isn't this
the same?

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/