Re: [PATCH v2 3/7] x86/sev: add support for RMPOPT instruction
From: Dave Hansen
Date: Mon Mar 02 2026 - 18:15:47 EST
On 3/2/26 15:09, Kalra, Ashish wrote:
>>> +static void rmpopt_all_physmem(void)
>>> +{
>>> + if (rmpopt_task)
>>> + wake_up_process(rmpopt_task);
>>> +}
>> Wait a sec, doesn't this just run all the time? It'll be doing an RMPOPT
>> on some forever.
> The rmpopt_kthread will be sleeping, till it is woken explicitly by wake_up_process() here.
Sorry for the noise, I totally parsed that bit wrong.