> + /* Tell compiler that status_blk fields can change. */ > + barrier(); > + if (status_idx != sblk->status_idx) {
Is a compiler barrier sufficient here? It seems an out-of-order CPU could still mess things up, so an rmb() or smp_rmb() would be required. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---