[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0804031538150.11898@anakin>
Date: Thu, 3 Apr 2008 15:39:16 +0200 (CEST)
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Johannes Weiner <hannes@...urebad.de>
cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, mingo@...e.hu,
davem@...emloft.net, hskinnemoen@...el.com, cooloney@...nel.org,
starvik@...s.com, dhowells@...hat.com, ysato@...rs.sourceforge.net,
takata@...ux-m32r.org, ralf@...ux-mips.org, kyle@...isc-linux.org,
paulus@...ba.org, schwidefsky@...ibm.com, lethal@...ux-sh.org,
jdike@...toit.com, miles@....org, chris@...kel.net,
rmk@....linux.org.uk, tony.luck@...el.com
Subject: Re: [RFC 10/22] m68k: Use generic show_mem()
On Thu, 3 Apr 2008, Johannes Weiner wrote:
> Geert Uytterhoeven <geert@...ux-m68k.org> 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, good to know...
So I suggest to add an additional (first) step to the consolidation: remove all
duplicates.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists