Re: [PATCH] Fix mmap_kmem (was: [question] What's the difference between /dev/kmem and /dev/mem)

Arjan van de Ven
2005-08-12T17:16:34Z

On Fri, 2005-08-12 at 13:07 -0400, Steven Rostedt wrote:
>
> On Fri, 12 Aug 2005, Dave Jones wrote:
> >
> > The above patches were in -mm for a while, though they didn't
> > have a config option, they just 'did it', and some of the
> > changes were a bit unclean, but I can polish that up if you're
> > interested.
>
> Again, I'm asking to have it turned into a config option. Even default to
> off. I understand that /dev/kmem shouldn't be in a production machine.
> There's no reason for it. But it is nice to have when debugging the
> kernel. I'll make the changes if need be, to make this into a config
> option (placed in the kernel debug section). I'll even maintain it to
> keep it working. But I don't want yet another thing I need to write
> myself for debugging the kernel.

and /proc/kcore doesn't cut it for you?