mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Johannes Weiner <hannes@saeurebad.de>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [patch 00/22 -v3] Generic show_mem()
Date: Mon, 07 Apr 2008 16:40:08 +0200	[thread overview]
Message-ID: <20080407144008.124362640@skyscraper.fehenstaub.lan> (raw)

Every arch implements its own show_mem() function.  Most of them share
quite some code, some of them are completely identical.

This series implements a generic version of this function and migrates
almost all architectures to it.

---
version 3:
	- Fix kbuild logic as suggested by Sam Ravnborg

version 2:
	- Fix kbuild bits as suggested by Heiko Carstens
	- Include quicklist info as suggested by Paul Mundt
	- Extend changelogs by info on removal of redundant output

Note: This patchset is based on the `Remove redundant display of free
swap space from show_mem()' series. 

 arch/alpha/Kconfig        |    1 +
 arch/alpha/mm/init.c      |   29 -----------------------
 arch/alpha/mm/numa.c      |   34 ---------------------------
 arch/avr32/Kconfig        |    1 +
 arch/avr32/mm/init.c      |   39 -------------------------------
 arch/blackfin/Kconfig     |    1 +
 arch/blackfin/mm/init.c   |   27 ----------------------
 arch/cris/Kconfig         |    1 +
 arch/cris/mm/init.c       |   30 ------------------------
 arch/frv/Kconfig          |    1 +
 arch/frv/mm/init.c        |   31 -------------------------
 arch/h8300/Kconfig        |    1 +
 arch/h8300/mm/init.c      |   27 ----------------------
 arch/m32r/Kconfig         |    1 +
 arch/m32r/mm/init.c       |   35 ----------------------------
 arch/m68k/Kconfig         |    1 +
 arch/m68k/mm/init.c       |   30 ------------------------
 arch/m68knommu/Kconfig    |    1 +
 arch/m68knommu/mm/init.c  |   27 ----------------------
 arch/mips/Kconfig         |    1 +
 arch/mips/mm/Makefile     |    3 +-
 arch/mips/mm/pgtable.c    |   36 -----------------------------
 arch/mn10300/Kconfig      |    1 +
 arch/mn10300/mm/pgtable.c |   27 ----------------------
 arch/powerpc/Kconfig      |    1 +
 arch/powerpc/mm/mem.c     |   39 -------------------------------
 arch/ppc/Kconfig          |    1 +
 arch/ppc/mm/init.c        |   30 ------------------------
 arch/s390/Kconfig         |    1 +
 arch/s390/mm/init.c       |   35 ----------------------------
 arch/sh/Kconfig           |    1 +
 arch/sh/mm/init.c         |   40 --------------------------------
 arch/sparc64/Kconfig      |    1 +
 arch/sparc64/mm/init.c    |   43 -----------------------------------
 arch/um/Kconfig           |    1 +
 arch/um/kernel/mem.c      |   29 -----------------------
 arch/v850/Kconfig         |    1 +
 arch/v850/kernel/setup.c  |   30 ------------------------
 arch/x86/Kconfig          |    1 +
 arch/x86/mm/init_64.c     |   37 ------------------------------
 arch/x86/mm/pgtable_32.c  |   47 --------------------------------------
 arch/xtensa/Kconfig       |    1 +
 arch/xtensa/mm/init.c     |   26 ---------------------
 mm/Kconfig                |    3 ++
 mm/page_alloc.c           |   55 +++++++++++++++++++++++++++++++++++++++++++++
 mm/swap_state.c           |    3 +-
 46 files changed, 81 insertions(+), 731 deletions(-)


             reply	other threads:[~2008-04-07 15:49 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-07 14:40 Johannes Weiner [this message]
2008-04-07 14:40 ` [patch 01/22 -v3] Print current swapcache page count in show_swap_cache_info() Johannes Weiner
2008-04-07 14:40 ` [patch 02/22 -v3] Generic show_mem() implementation Johannes Weiner
2008-04-07 14:40 ` [patch 03/22 -v3] alpha: Use generic show_mem() Johannes Weiner
2008-04-07 14:40 ` [patch 04/22 -v3] avr32: " Johannes Weiner
2008-04-07 14:40 ` [patch 05/22 -v3] blackfin: " Johannes Weiner
2008-04-07 14:40 ` [patch 06/22 -v3] cris: " Johannes Weiner
2008-04-07 14:40 ` [patch 07/22 -v3] frv: " Johannes Weiner
2008-04-07 14:40 ` [patch 08/22 -v3] h8300: " Johannes Weiner
2008-04-07 14:40 ` [patch 09/22 -v3] m32r: " Johannes Weiner
2008-04-07 14:40 ` [patch 10/22 -v3] m68k: " Johannes Weiner
2008-04-07 14:40 ` [patch 11/22 -v3] m68knommu: " Johannes Weiner
2008-04-07 14:40 ` [patch 12/22 -v3] mips: " Johannes Weiner
2008-04-07 14:40 ` [patch 13/22 -v3] mn10300: " Johannes Weiner
2008-04-07 14:40 ` [patch 14/22 -v3] powerpc: " Johannes Weiner
2008-04-07 14:40 ` [patch 15/22 -v3] ppc: " Johannes Weiner
2008-04-07 14:40 ` [patch 16/22 -v3] s390: " Johannes Weiner
2008-04-07 14:40 ` [patch 17/22 -v3] sh: " Johannes Weiner
2008-04-07 14:40 ` [patch 18/22 -v3] sparc64: " Johannes Weiner
2008-04-07 14:40 ` [patch 19/22 -v3] um: " Johannes Weiner
2008-04-07 14:40 ` [patch 20/22 -v3] v850: " Johannes Weiner
2008-04-07 14:40 ` [patch 21/22 -v3] x86: " Johannes Weiner
2008-04-07 14:40 ` [patch 22/22 -v3] xtensa: " Johannes Weiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080407144008.124362640@skyscraper.fehenstaub.lan \
    --to=hannes@saeurebad.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®