Re: Do we need to disable preemption in flush_tlb_range()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+CC Peter since we have his attention ;-)

On 03/01/2018 07:13 AM, 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-----------------------

In general I prefer not to - Peter what say you ?


I'm not seeing right now any real problem with current implementation but
some architectures do that thus the question.

-Alexey





[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux