Re: [RFC PATCH 3/4] arch, mm: remove arch specific show_mem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/12/2017 8:16 AM, Michal Hocko wrote:
From: Michal Hocko<mhocko@xxxxxxxx>

We have a generic implementation for quite some time already. If there
is any arch specific information to be printed then we should add a
callback called from the generic code rather than duplicate the whole
show_mem. The current code has resulted in the code duplication and
the output divergence which is both confusing and adds maintainance
costs. Let's just get rid of this mess.

Cc: Tony Luck<tony.luck@xxxxxxxxx>
Cc: Fenghua Yu<fenghua.yu@xxxxxxxxx>
Cc: "James E.J. Bottomley"<jejb@xxxxxxxxxxxxxxxx>
Cc: Helge Deller<deller@xxxxxx>
Cc: "David S. Miller"<davem@xxxxxxxxxxxxx>
Cc: Chris Metcalf<cmetcalf@xxxxxxxxxxxx>
Cc: Guan Xuetao<gxt@xxxxxxxxxxxxxxx>
Cc:linux-ia64@xxxxxxxxxxxxxxx
Cc:linux-parisc@xxxxxxxxxxxxxxx
Signed-off-by: Michal Hocko<mhocko@xxxxxxxx>
---
  arch/ia64/mm/init.c      | 48 -----------------------------------------------
  arch/parisc/mm/init.c    | 49 ------------------------------------------------
  arch/sparc/mm/init_32.c  | 11 -----------
  arch/tile/mm/pgtable.c   | 45 --------------------------------------------
  arch/unicore32/mm/init.c | 44 -------------------------------------------
  5 files changed, 197 deletions(-)

Acked-by: Chris Metcalf <cmetcalf@xxxxxxxxxxxx> [for tile]

--
Chris Metcalf, Mellanox Technologies
http://www.mellanox.com

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]