Re: [PATCH net-next 5/6] qed: Allow chance for fast ramrod completions From: David Miller <davem@davemloft.net> Date: 2016-10-10 07:17:36 From: "Mintz, Yuval" <redacted> Date: Mon, 10 Oct 2016 06:33:05 +0000 quotedquoted+ while (iter_cnt--) { + /* Validate we receive completion update */ smp_rmb(); if (comp_done->done == 1) { if (p_fw_ret) *p_fw_ret = comp_done->fw_return_code; return 0; }quotedNote that this smp_rmb() and accesses to ->done and ->fw_return_code are racy.quotedfw_return_code needs to be written _before_ done. Thanks for catching this up. Dave - do you want me to re-spin for this? Yes.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help