On Wed, 2010-12-22 at 18:13 +0100, Ingo Molnar wrote:
I don't see a reason to ever use %pK to print to the syslog, since
reading it is now optionally protected with dmesg_restrict, and
stripping pointers from the syslog will cripple any post-mortem
debugging for everyone. I understand the desire to prevent things from
breaking even if it's used incorrectly, but I'm not really convinced
that this would break anything even in this scenario. The WARN_ONCE
will prevent any unbounded recursion. I'm just not clear on how this
could cause a crash.
If it's used in IRQ context and its output needs to be read by a
userspace utility using %p to parse, this will break it.
-Dan
--