Do we need to disable preemption in flush_tlb_range()?

Alexey Brodkin Alexey.Brodkin at synopsys.com
Wed Mar 14 12:15:11 PDT 2018


Ping!

On Thu, 2018-03-01 at 18:13 +0300, Alexey Brodkin wrote:
> Hi Vineet,
> 
> Just noticed that in comments for smp_call_function_many() it is said that
> preemption must be disabled during its execution. And that function gets executed
> among other ways like that:
> -------------------------->8-----------------------
>   flush_tlb_range()
>     -> on_each_cpu_mask()
>          -> smp_call_function_many()
> -------------------------->8-----------------------
> 
> I'm not seeing right now any real problem with current implementation but
> some architectures do that thus the question.
> 
> -Alexey


More information about the linux-snps-arc mailing list