Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1198447imm; Wed, 11 Jul 2018 19:56:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeLkT5X3tmfeTfjJhqOo0NgLEFFQSelJLmVakR+G7DNBgtmnZudqoTWPMu7kRsyzAFu8S7m X-Received: by 2002:a65:504c:: with SMTP id k12-v6mr394805pgo.435.1531364167080; Wed, 11 Jul 2018 19:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531364167; cv=none; d=google.com; s=arc-20160816; b=Us0sQwGGZjvr3PZ/TEl7xQKNWzmXSIc0yc+LbxbAZyQCXMieq2Hcc5QzhAl3dA+6VP yivYSjqG42PFqgWlIJSvZjc9NQbENs84t9EX1H/z2/YumG8uuYYPHjatZTyS1mJ25Fy+ 3OC0YqKCnjmQopPhctiD3DgKuylNBAH2Av7/UbEcTveg6x0QyHRbfmDRK3HAHrKUX/6r MXKSiTtpn0+YubdjA27NQJ8D+gHYL84/VpI5ylaNEgMT6YWRThI0H2csxYSouLOC+/dO TNlcZyaiNKzOKcQBD3Z8OT/rFxzHA7xLdWsbEhaGDKzSZVBBbVxFdkslkrA/iKDCq9Cp tIsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Vims92MzV7pbYx+03vAmr+EMloaq4UlpZcN1+UjUUn8=; b=yypChBWMMp7oSRKIk0wpFNYJGjp/Lb2KnR9IiT2XY9B8olKNw5TAJQQPnk6hQ0UGMK k1TVaB1TznzXMJvhkSDs3XOFj6XvPQuapGgD7jrv78AdoDQYsjphOWVb2NcJGhynZ9xv SzeILPQ+WbCBNEAfYgE9hN73SaHpmUJ1p3aNcu7kW2tsiHcYLrCD9x66LeggUN1dHSiv iUUoBRPNHbytPkRdiYNfAv/eG6NzlR425VKJwUDMG7gfUjw0GGv+m/0wV4vZRc+QH+2p J1Ri64RZIsa5tOe9oun5c6nhQ1ujsSoWM6Wo+Xj1K39gzyfLrD3yqbQkNsbrmBJYiRgo FSiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MbIChN8D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4-v6si22323067pfd.344.2018.07.11.19.55.51; Wed, 11 Jul 2018 19:56:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MbIChN8D; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390427AbeGKVIw (ORCPT + 99 others); Wed, 11 Jul 2018 17:08:52 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:46996 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeGKVIv (ORCPT ); Wed, 11 Jul 2018 17:08:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Vims92MzV7pbYx+03vAmr+EMloaq4UlpZcN1+UjUUn8=; b=MbIChN8DbV+Jhv4ytOgvkTugf BCbuvylC0cqMqQ2/qOM/SYnQgd0CY93fToYf22V/vOoyhUW8H9QP7DzqR53ro7M28V+VD/k1VUVvs EkUKE4DDJhNw5L3FSYmZmB9kwY1N8x7jbbzuUKOCxzPyW4eBsvuhpqhYchmG168TbnMHGdoeLaMn1 hUsc/85qH9KBYRk4M1h6s5jbQX+cGedCeX/OwXn8GfsBnJF2QGAKXsRRZswO4MtiW8IL3JtoETXFI z0ynUVs+RwgtAhPZmqeTC6Y1/ofjAVGS15D8vzbadPRJr6VIVGLH+WNrKd696YpzIQjOH66uZJe9d grb7+6INQ==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdMFp-0005A2-NM; Wed, 11 Jul 2018 21:02:29 +0000 From: Matthew Wilcox To: Dominique Martinet Cc: Matthew Wilcox , v9fs-developer@lists.sourceforge.net, Latchesar Ionkov , Eric Van Hensbergen , Ron Minnich , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 1/6] 9p: Fix comment on smp_wmb Date: Wed, 11 Jul 2018 14:02:20 -0700 Message-Id: <20180711210225.19730-2-willy@infradead.org> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180711210225.19730-1-willy@infradead.org> References: <20180711210225.19730-1-willy@infradead.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The previous comment misled me into thinking the barrier wasn't needed at all. Signed-off-by: Matthew Wilcox --- net/9p/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/9p/client.c b/net/9p/client.c index 18c5271910dc..999eceb8af98 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -447,7 +447,7 @@ void p9_client_cb(struct p9_client *c, struct p9_req_t *req, int status) /* * This barrier is needed to make sure any change made to req before - * the other thread wakes up will indeed be seen by the waiting side. + * the status change is visible to another thread */ smp_wmb(); req->status = status; -- 2.18.0