linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good
@ 2021-03-19 14:34 David Hildenbrand
  2021-03-19 14:34 ` [PATCH RFC 1/3] " David Hildenbrand
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: David Hildenbrand @ 2021-03-19 14:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-mm, David Hildenbrand, Alexander A. Klimov, Alexander Viro,
	Alexandre Belloni, Andrew Lunn, Andrew Morton, Andrey Zhizhikin,
	Arnd Bergmann, Benjamin Herrenschmidt, Brian Cain,
	Christian Borntraeger, Christophe Leroy, Chris Zankel,
	Corentin Labbe, David S. Miller, Eric W. Biederman,
	Geert Uytterhoeven, Gerald Schaefer, Greentime Hu,
	Greg Kroah-Hartman, Gregory Clement, Heiko Carstens,
	Helge Deller, Hillf Danton, huang ying, Ingo Molnar,
	Ivan Kokshaysky, James E.J. Bottomley, Jiaxun Yang, Jonas Bonn,
	Jonathan Corbet, Kairui Song, Krzysztof Kozlowski,
	Kuninori Morimoto, Linus Torvalds, Linux API, Liviu Dudau,
	Lorenzo Pieralisi, Luc Van Oostenryck, Luis Chamberlain,
	Matthew Wilcox, Matt Turner, Max Filippov, Michael Ellerman,
	Michal Hocko, Mike Rapoport, Mikulas Patocka, Minchan Kim,
	Niklas Schnelle, Oleksiy Avramchenko, Palmer Dabbelt,
	Paul Mackerras, Pavel Machek (CIP),
	Pavel Machek, Peter Zijlstra (Intel),
	Pierre Morel, Randy Dunlap, Richard Henderson, Rich Felker,
	Robert Richter, Rob Herring, Russell King, Sam Ravnborg,
	Sebastian Andrzej Siewior, Sebastian Hesselbarth, Stafford Horne,
	Stefan Kristiansson, Steven Rostedt, Sudeep Holla,
	Theodore Dubois, Thomas Bogendoerfer, Thomas Gleixner,
	Vasily Gorbik, Viresh Kumar, William Cohen, Xiaoming Ni,
	Yoshinori Sato

Let's start a discussion if /dev/kmem is worth keeping around and
fixing/maintaining or if we should just remove it now for good.

More details / findings in patch #1. Patch #2 and #3 perform minor cleanups
based on removed /dev/kmem support.

Only compile-tested on x86-64 -- good enough for discussing the general
topic (RFC).

David Hildenbrand (3):
  drivers/char: remove /dev/kmem for good
  mm: remove xlate_dev_kmem_ptr()
  mm/vmalloc: remove vwrite()

 Documentation/admin-guide/devices.txt     |   2 +-
 arch/alpha/include/asm/io.h               |   5 -
 arch/arm/configs/dove_defconfig           |   1 -
 arch/arm/configs/magician_defconfig       |   1 -
 arch/arm/configs/moxart_defconfig         |   1 -
 arch/arm/configs/mps2_defconfig           |   1 -
 arch/arm/configs/mvebu_v5_defconfig       |   1 -
 arch/arm/configs/xcep_defconfig           |   1 -
 arch/arm/include/asm/io.h                 |   5 -
 arch/h8300/configs/edosk2674_defconfig    |   1 -
 arch/h8300/configs/h8300h-sim_defconfig   |   1 -
 arch/h8300/configs/h8s-sim_defconfig      |   1 -
 arch/hexagon/configs/comet_defconfig      |   1 -
 arch/hexagon/include/asm/io.h             |   1 -
 arch/ia64/include/asm/io.h                |   1 -
 arch/ia64/include/asm/uaccess.h           |  18 --
 arch/m68k/configs/amcore_defconfig        |   1 -
 arch/m68k/include/asm/io_mm.h             |   5 -
 arch/mips/include/asm/io.h                |   5 -
 arch/openrisc/configs/or1ksim_defconfig   |   1 -
 arch/parisc/include/asm/io.h              |   5 -
 arch/powerpc/include/asm/io.h             |   5 -
 arch/s390/include/asm/io.h                |   5 -
 arch/sh/configs/edosk7705_defconfig       |   1 -
 arch/sh/configs/se7206_defconfig          |   1 -
 arch/sh/configs/sh2007_defconfig          |   1 -
 arch/sh/configs/sh7724_generic_defconfig  |   1 -
 arch/sh/configs/sh7770_generic_defconfig  |   1 -
 arch/sh/configs/sh7785lcr_32bit_defconfig |   1 -
 arch/sh/include/asm/io.h                  |   5 -
 arch/sparc/configs/sparc64_defconfig      |   1 -
 arch/sparc/include/asm/io_64.h            |   5 -
 arch/xtensa/configs/xip_kc705_defconfig   |   1 -
 drivers/char/Kconfig                      |  10 -
 drivers/char/mem.c                        | 231 ----------------------
 include/asm-generic/io.h                  |  11 --
 include/linux/fs.h                        |   2 +-
 include/linux/vmalloc.h                   |   3 +-
 kernel/configs/android-base.config        |   1 -
 mm/ksm.c                                  |   2 +-
 mm/vmalloc.c                              | 113 +----------
 41 files changed, 5 insertions(+), 455 deletions(-)

-- 
2.29.2



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2021-04-05 17:16 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 14:34 [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good David Hildenbrand
2021-03-19 14:34 ` [PATCH RFC 1/3] " David Hildenbrand
2021-03-22 13:35   ` Michal Hocko
2021-04-05 17:16   ` Kees Cook
2021-03-19 14:34 ` [PATCH RFC 2/3] mm: remove xlate_dev_kmem_ptr() David Hildenbrand
2021-03-19 14:54   ` Geert Uytterhoeven
2021-03-19 14:34 ` [PATCH RFC 3/3] mm/vmalloc: remove vwrite() David Hildenbrand
2021-03-22 13:36   ` Michal Hocko
2021-03-19 14:45 ` [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good David Hildenbrand
2021-03-19 17:14 ` Linus Torvalds
2021-03-19 17:33   ` Sebastian Andrzej Siewior
2021-03-31 15:08     ` Enrico Weigelt, metux IT consult
2021-03-31 15:19       ` Michal Hocko
2021-03-19 18:55   ` James Troup
2021-03-22  9:57   ` David Hildenbrand
2021-03-22 13:34   ` Michal Hocko
2021-03-19 18:10 ` Steven Rostedt
2021-03-22 10:08   ` David Hildenbrand
2021-03-22 15:18     ` Steven Rostedt
2021-03-23 13:16 ` Greg Kroah-Hartman
2021-03-23 13:44   ` David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).