lkml.org 
[lkml]   [2008]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 10/22] m68k: Use generic show_mem()
On Thu, 3 Apr 2008, Johannes Weiner wrote:
> Geert Uytterhoeven <geert@linux-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@linux-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


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