Re: [PATCH v7] printk: hash addresses printed with %p

From: Jason A. Donenfeld
Date: Tue Oct 31 2017 - 10:22:40 EST


On Mon, Oct 30, 2017 at 9:22 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> How quickly do you need static_branch_disable() executed? You could
> always pass the work off to a worker thread (that can schedule).
>
> random_ready_callback -> initiates worker thread -> enables the static branch

I had already suggested that much earlier in the thread, but
discounted it in the very same suggestion, because that branch turns
out to be not that expensive anyway, and I think it's more important
that we're able to print meaningful values as soon as we can, rather
than waiting for the scheduler.