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

Andi Kleen
2005-08-13T12:40:58Z

> Perfect! So it should be under CONFIG_DEBUG_KERNEL and default to off.
>
> So you can still debug and we raise the bar higher for rootkits,
> if they are the only other user.
>
> Too simple?

If you wanted to recompile your kernel to debug you could as well
add printks. But the whole point of kmem hacks is to avoid that
slow cycle.

-Andi