Re: [PATCH] x86/alternative: Replace DPRINTK with pr_debug

From: Peter Zijlstra

Date: Mon Feb 02 2026 - 05:17:24 EST


On Sun, Feb 01, 2026 at 08:05:27PM +0100, Borislav Petkov wrote:
> On Sun, Feb 01, 2026 at 07:58:28PM +0100, hugopoggetti wrote:
> > Replace the custom DPRINTK macro with the standard pr_debug()
> > to use the kernel's standard debugging infrastructure.
>
> No thanks. pr_debug() depends on a bunch of config options and we want
> alternatives debugging to JustWork(tm), without a bunch of fuss.

Also, he completely broke 'debug_alternative' for bonus points..

So yeah, no touching unless you've actually went through the pain of
debugging the alternative code :-)