[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f4e89d95-1cd8-a9c9-cc93-77c35d82e76b@gmail.com>
Date: Fri, 23 Mar 2018 14:30:58 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>,
Eric Dumazet <edumazet@...gle.com>
Cc: x86 <x86@...nel.org>, lkml <linux-kernel@...r.kernel.org>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
Hugh Dickins <hughd@...gle.com>, Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH v2 1/2] x86, msr: add rdmsr_safe_on_cpu_resched() and use
it in msr_read()
On 03/23/2018 02:27 PM, Thomas Gleixner wrote:
>
> Looking at all call sites. None of them is performance critical and all of
> them are in preemptible context.
>
> So we simply can switch the rdmsr_safe_on_cpu() implementation over to wait
> mode completely.
SGTM, thanks for looking, I will send a v3 then.
>
>> +/* Note: This version spins in smp_call_function_single().
>> + * Consider using rdmsr_safe_on_cpu_resched() variant instead.
>
> Bah. This is not networking code. x86 uses sensible comment style :)
Right ;)
Powered by blists - more mailing lists