On 08/08/2017 21:14, Dr. David Alan Gilbert wrote: >> There is no barrier there that I can see. I know that it probably work >> on x86, but in others? I think that it *** HERE **** we need that >> memory barrier that we don't have. > Yes, I think that's smp_mb_release() - and you have to do an > smp_mb_acquire after reading the pages->num before accessing the iov.
Yes, I think that's correct. Paolo > (Probably worth checking with Paolo). > Or just stick with mutex's. > >