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 uselocks, which a lot of cases do.David