From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Subject: Re: Preventing IPI sending races in arch code Date: Tue, 26 Nov 2013 12:05:29 +0530 Message-ID: <52944131.2040609@synopsys.com> References: <52932BE2.5010201@synopsys.com> <20131125110006.GU3866@twins.programming.kicks-ass.net> <529334CA.1000401@synopsys.com> <20131125122726.GZ10022@twins.programming.kicks-ass.net> <1385409103.9218.15.camel@pasglop> <529427F1.2080409@synopsys.com> <1385442661.9218.51.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from us02smtp1.synopsys.com ([198.182.60.75]:45041 "EHLO vaxjo.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751633Ab3KZGfu (ORCPT ); Tue, 26 Nov 2013 01:35:50 -0500 In-Reply-To: <1385442661.9218.51.camel@pasglop> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Benjamin Herrenschmidt Cc: Peter Zijlstra , "linux-arch@vger.kernel.org" , Gilad Ben-Yossef , Noam Camus , David Daney , James Hogan , thomas Gleixner , lkml , Richard Kuo On 11/26/2013 10:41 AM, Benjamin Herrenschmidt wrote: >> Right, but the issue per-se is not clobbering of msg holder, but from POV of >> > receiver, seeming coalescing of 2 set_bit writes to msg holder. > That's fine. There's no expectation that N ipi_send_msg turn into N > messages received... it turns into at least one. OK, I was not aware of that relaxation in semantics. Thx, -Vineet