[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210319143452.25948-1-david@redhat.com>
Date: Fri, 19 Mar 2021 15:34:49 +0100
From: David Hildenbrand <david@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org, David Hildenbrand <david@...hat.com>,
"Alexander A. Klimov" <grandmaster@...klimov.de>,
Alexander Viro <viro@...iv.linux.org.uk>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Andrew Lunn <andrew@...n.ch>,
Andrew Morton <akpm@...ux-foundation.org>,
Andrey Zhizhikin <andrey.zhizhikin@...ca-geosystems.com>,
Arnd Bergmann <arnd@...db.de>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Brian Cain <bcain@...eaurora.org>,
Christian Borntraeger <borntraeger@...ibm.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Chris Zankel <chris@...kel.net>,
Corentin Labbe <clabbe@...libre.com>,
"David S. Miller" <davem@...emloft.net>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Gerald Schaefer <gerald.schaefer@...ux.ibm.com>,
Greentime Hu <green.hu@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Gregory Clement <gregory.clement@...tlin.com>,
Heiko Carstens <hca@...ux.ibm.com>,
Helge Deller <deller@....de>, Hillf Danton <hdanton@...a.com>,
huang ying <huang.ying.caritas@...il.com>,
Ingo Molnar <mingo@...nel.org>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
"James E.J. Bottomley" <James.Bottomley@...senPartnership.com>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Jonas Bonn <jonas@...thpole.se>,
Jonathan Corbet <corbet@....net>,
Kairui Song <kasong@...hat.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux API <linux-api@...r.kernel.org>,
Liviu Dudau <liviu.dudau@....com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Luc Van Oostenryck <luc.vanoostenryck@...il.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Matthew Wilcox <willy@...radead.org>,
Matt Turner <mattst88@...il.com>,
Max Filippov <jcmvbkbc@...il.com>,
Michael Ellerman <mpe@...erman.id.au>,
Michal Hocko <mhocko@...e.com>,
Mike Rapoport <rppt@...nel.org>,
Mikulas Patocka <mpatocka@...hat.com>,
Minchan Kim <minchan@...nel.org>,
Niklas Schnelle <schnelle@...ux.ibm.com>,
Oleksiy Avramchenko <oleksiy.avramchenko@...ymobile.com>,
Palmer Dabbelt <palmerdabbelt@...gle.com>,
Paul Mackerras <paulus@...ba.org>,
"Pavel Machek (CIP)" <pavel@...x.de>, Pavel Machek <pavel@....cz>,
"Peter Zijlstra (Intel)" <peterz@...radead.org>,
Pierre Morel <pmorel@...ux.ibm.com>,
Randy Dunlap <rdunlap@...radead.org>,
Richard Henderson <rth@...ddle.net>,
Rich Felker <dalias@...c.org>,
Robert Richter <rric@...nel.org>,
Rob Herring <robh@...nel.org>,
Russell King <linux@...linux.org.uk>,
Sam Ravnborg <sam@...nborg.org>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Stafford Horne <shorne@...il.com>,
Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>,
Steven Rostedt <rostedt@...dmis.org>,
Sudeep Holla <sudeep.holla@....com>,
Theodore Dubois <tblodt@...oud.com>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Thomas Gleixner <tglx@...utronix.de>,
Vasily Gorbik <gor@...ux.ibm.com>,
Viresh Kumar <viresh.kumar@...aro.org>,
William Cohen <wcohen@...hat.com>,
Xiaoming Ni <nixiaoming@...wei.com>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>
Subject: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good
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
Powered by blists - more mailing lists