[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a602nm74.fsf@jogness.linutronix.de>
Date: Fri, 24 Mar 2023 17:39:35 +0106
From: John Ogness <john.ogness@...utronix.de>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/microcode: move @microcode_mutex definition near usage
On 2023-03-24, Borislav Petkov <bp@...en8.de> wrote:
>> I was doing some tests with CONFIG_PREEMPT_RT. I did not think that
>> mattered, since the mutex is obviously defined but not used for
>> !CONFIG_MICROCODE_LATE_LOADING.
>
> Oh sure, I see that. I'd still like to have in the commit message why
> exactly it happens.
Note that an unused mutex is being defined, even when the compiler is
not warning about it.
>> CONFIG_PREEMPT_RT cannot be enabled yet, so this patch is not urgent for
>> mainline. But at some point it will need fixing.
>
> Sure, send it to me when it can be triggered with a .config with the
> upstream tree, along with exact explanation how it happens and I'll
> queue it.
OK, but the kernel test robots will probably beat me to it. ;-)
John Ogness
Powered by blists - more mailing lists