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 from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux