Re: [PATCH 2/5] sched/psi: Prepend "0x" to format specifiers when printing PSI flags
From: Johannes Weiner
Date: Tue Dec 02 2025 - 09:34:19 EST
On Mon, Nov 17, 2025 at 06:55:47PM +0000, K Prateek Nayak wrote:
> It is not immediately clear that the PSI flags, the set, and the clear
> bits printed in PSI warnings are hexadecimal values. Prepend "0x" to
> format specifiers to make it clear.
>
> Since "kernel/sched" uses "0x%x" as opposed to "%#x" when printing
> hexadecimal values, the same was followed to keep consistency.
>
> Signed-off-by: K Prateek Nayak <kprateek.nayak@xxxxxxx>
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>