Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1418523
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC 05/13] x86/mm: Add barriers and document switch_mm-vs-flush synchronization |
| Date | 2016-06-09 19:30 +0200 |
| Message-ID | <rIbWi-10d-33@gated-at.bofh.it> (permalink) |
| References | <qOOu6-5ka-5@gated-at.bofh.it> <qOOu6-5ka-9@gated-at.bofh.it> <rG1ol-6i4-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jun 3, 2016 at 10:42 AM, Nadav Amit <nadav.amit@gmail.com> wrote: > Following this patch, if (current->active_mm != mm), flush_tlb_page() still > doesn’t call smp_mb() before checking mm_cpumask(mm). > > In contrast, flush_tlb_mm_range() does call smp_mb(). > > Is there a reason for this discrepancy? Not that I can remember. Is the remote flush case likely to be racy? --Andy
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC 05/13] x86/mm: Add barriers and document switch_mm-vs-flush synchronization Nadav Amit <nadav.amit@gmail.com> - 2016-06-03 19:50 +0200
Re: [RFC 05/13] x86/mm: Add barriers and document switch_mm-vs-flush synchronization Andy Lutomirski <luto@amacapital.net> - 2016-06-09 19:30 +0200
Re: [RFC 05/13] x86/mm: Add barriers and document switch_mm-vs-flush synchronization Nadav Amit <nadav.amit@gmail.com> - 2016-06-09 21:50 +0200
csiph-web