From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 738A3C2B9F4 for ; Tue, 22 Jun 2021 21:03:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 55E4F61001 for ; Tue, 22 Jun 2021 21:03:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229667AbhFVVFm (ORCPT ); Tue, 22 Jun 2021 17:05:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229567AbhFVVFl (ORCPT ); Tue, 22 Jun 2021 17:05:41 -0400 Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04EA3C061574 for ; Tue, 22 Jun 2021 14:03:24 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 108) id 91D30C01B; Tue, 22 Jun 2021 23:03:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1624395802; bh=HMR4unNIvosEkM7YP6TmchXmd0KH3uqdRi9sNvieci0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TXisU0e1ptgLwIoro3Scw6OGxd8eKu3UrK6nfJ+4GoKc1GFCzMUMPtBveeVIlq05U 7vusR6f3ccsqDwh5tHrehqgallNGnVCvIljpFK1lykePFnrsVAswJ91T7ZJ70OPDdI 7F5gpDuXvzqRGF2RbGhoJDk+s+6p/+4munKzfpVTrL04XZjsSU3by2xPn7vFdlSm6H yD+covM9C2PhSVI5u/FbnuE/yfXr1E596QlYOFAA3yNQ706mMZyehNdZ3MyAxvYKwd m0sFJc/XeQ6IhbHdZ73jIRbFo5Vm5yVks5Vqodm22+SJx8emzEn3lkDrhKa2SDrw68 +2iVp9zq95yEQ== Received: from odin.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id C7643C009; Tue, 22 Jun 2021 23:03:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1624395802; bh=HMR4unNIvosEkM7YP6TmchXmd0KH3uqdRi9sNvieci0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TXisU0e1ptgLwIoro3Scw6OGxd8eKu3UrK6nfJ+4GoKc1GFCzMUMPtBveeVIlq05U 7vusR6f3ccsqDwh5tHrehqgallNGnVCvIljpFK1lykePFnrsVAswJ91T7ZJ70OPDdI 7F5gpDuXvzqRGF2RbGhoJDk+s+6p/+4munKzfpVTrL04XZjsSU3by2xPn7vFdlSm6H yD+covM9C2PhSVI5u/FbnuE/yfXr1E596QlYOFAA3yNQ706mMZyehNdZ3MyAxvYKwd m0sFJc/XeQ6IhbHdZ73jIRbFo5Vm5yVks5Vqodm22+SJx8emzEn3lkDrhKa2SDrw68 +2iVp9zq95yEQ== Received: from localhost (odin.codewreck.org [local]) by odin.codewreck.org (OpenSMTPD) with ESMTPA id 963b3b99; Tue, 22 Jun 2021 21:03:16 +0000 (UTC) Date: Wed, 23 Jun 2021 06:03:01 +0900 From: Dominique Martinet To: jim.cromie@gmail.com Cc: kasan-dev@googlegroups.com, v9fs-developer@lists.sourceforge.net, LKML Subject: Re: [V9fs-developer] KCSAN BUG report on p9_client_cb / p9_client_rpc Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, let's keep the lists in Cc :) jim.cromie@gmail.com wrote on Tue, Jun 22, 2021 at 02:55:19PM -0600: > heres a fuller report - Im seeing some new stuff here. Thanks, the one two should be the same as p9_client_cb / p9_client_rpc and p9_client_cb / p9_virtio_zc_request are very similar, and also the same to the first you had, so the patch didn't really work. I thought after sending it that it probably needs to be tag = READ_ONCE(req->tc.tag) instead of just assigning it... Would you mind trying that? > Im running in a vm, using virtme, which uses 9p to share host filesystems > since 1st report to you, Ive added --smp 2 to my testing, it seems to > have increased reporting I'm ashamed to say I've just never tried KCSAN... I can give it a try over the next few weeks* if that patch + READ_ONCE doesn't cut it (*sorry) Thanks, -- Dominique