public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* Do we need to disable preemption in flush_tlb_range()?
@ 2018-03-01 15:13 Alexey Brodkin
  2018-03-01 15:13 ` Alexey Brodkin
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Alexey Brodkin @ 2018-03-01 15:13 UTC (permalink / raw)
  To: Vineet Gupta
  Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-snps-arc@lists.infradead.org

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-03-16 15:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 15:13 Do we need to disable preemption in flush_tlb_range()? Alexey Brodkin
2018-03-01 15:13 ` Alexey Brodkin
2018-03-14 19:15 ` Alexey Brodkin
2018-03-14 19:15   ` Alexey Brodkin
2018-03-14 20:19 ` Vineet Gupta
2018-03-14 20:19   ` Vineet Gupta
2018-03-15  8:27   ` Peter Zijlstra
2018-03-15  8:27     ` Peter Zijlstra
2018-03-15  9:39     ` Alexey Brodkin
2018-03-15  9:39       ` Alexey Brodkin
2018-03-15 17:32       ` Vineet Gupta
2018-03-15 17:32         ` Vineet Gupta
2018-03-16 10:11       ` Peter Zijlstra
2018-03-16 10:11         ` Peter Zijlstra
2018-03-16 15:01         ` Alexey Brodkin
2018-03-16 15:01           ` Alexey Brodkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox