Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-31 Thread Michal Hocko
On Wed 31-03-21 17:08:03, Enrico Weigelt, metux IT consult wrote: > On 19.03.21 18:33, Sebastian Andrzej Siewior wrote: > > On 2021-03-19 10:14:02 [-0700], Linus Torvalds wrote: > > > On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand > > > wrote: > > > > > > > > Let's start a discussion if /dev/

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-31 Thread Enrico Weigelt, metux IT consult
On 19.03.21 18:33, Sebastian Andrzej Siewior wrote: On 2021-03-19 10:14:02 [-0700], Linus Torvalds wrote: On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand wrote: 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.

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-23 Thread David Hildenbrand
On 23.03.21 14:16, Greg Kroah-Hartman wrote: On Fri, Mar 19, 2021 at 03:34:49PM +0100, David Hildenbrand wrote: 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

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-23 Thread Greg Kroah-Hartman
On Fri, Mar 19, 2021 at 03:34:49PM +0100, David Hildenbrand wrote: > 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 remove

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-22 Thread Steven Rostedt
On Mon, 22 Mar 2021 11:08:47 +0100 David Hildenbrand wrote: > > Wonder if "echo c > /proc/sysrq-trigger" already existed and would have > worked back then. :) > > Looks like sysrq-c was added in 2005: commit 86b1ae38c0a62 ("kdump: sysrq trigger mechanism for kexec based crashdumps") Thus

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-22 Thread Michal Hocko
On Fri 19-03-21 10:14:02, Linus Torvalds wrote: > On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand wrote: > > > > 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. > > I'll happily do this for the next merge wind

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-22 Thread David Hildenbrand
On 19.03.21 19:10, Steven Rostedt wrote: On Fri, 19 Mar 2021 15:34:49 +0100 David Hildenbrand wrote: 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. The last time I used /dev/kmem was in 2003. While in Germany,

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-22 Thread David Hildenbrand
On 19.03.21 18:14, Linus Torvalds wrote: On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand wrote: 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. I'll happily do this for the next merge window, but would really

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-19 Thread James Troup
Linus Torvalds writes: > On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand wrote: >> >> 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. > > I'll happily do this for the next merge window, but would really want >

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-19 Thread Steven Rostedt
On Fri, 19 Mar 2021 15:34:49 +0100 David Hildenbrand wrote: > 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. The last time I used /dev/kmem was in 2003. While in Germany, my home firewall (in the US) got rooted.

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-19 Thread Sebastian Andrzej Siewior
On 2021-03-19 10:14:02 [-0700], Linus Torvalds wrote: > On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand wrote: > > > > 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. > > I'll happily do this for the next merg

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-19 Thread Linus Torvalds
On Fri, Mar 19, 2021 at 7:35 AM David Hildenbrand wrote: > > 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. I'll happily do this for the next merge window, but would really want distros to confirm that they don't

Re: [PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-19 Thread David Hildenbrand
On 19.03.21 15:34, David Hildenbrand wrote: 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. As some

[PATCH RFC 0/3] drivers/char: remove /dev/kmem for good

2021-03-19 Thread David Hildenbrand
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 discus