lkml.org 
[lkml]   [2009]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Document that wake_up(), complete() and co. imply a full memory barrier
Date
Oleg Nesterov <oleg@redhat.com> wrote:

> Well. I think in that case almost every try_to_wake_up/wake_up_process
> needs mb().

Not exactly. They need smp_wmb() in the wake_up() path - unless they use
locks, which a lot of cases do.

David


\
 
 \ /
  Last update: 2009-04-23 22:43    [W:0.137 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site