[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kernel-hardening
Subject:    [kernel-hardening] Re: [PATCH v7] printk: hash addresses printed with %p
From:       "Jason A. Donenfeld" <Jason () zx2c4 ! com>
Date:       2017-10-31 14:22:27
Message-ID: CAHmME9r6JfP0u2htKAebsfWxPGOc2nthqe56r2LN4VWJQD=z0Q () mail ! gmail ! com
[Download RAW message or body]

On Mon, Oct 30, 2017 at 9:22 PM, Steven Rostedt <rostedt@goodmis.org> 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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic