Received: by 2002:a05:7412:bc1a:b0:d7:7d3a:4fe2 with SMTP id ki26csp486407rdb; Sat, 19 Aug 2023 09:33:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfUSoft2+6X/C+hbqOOyTtD1iOtOK9FUWcmRd3Sof6l/QWIh7HVttSm7G5620GpVwlls7d X-Received: by 2002:a05:6a00:808e:b0:67f:7403:1fe8 with SMTP id eh14-20020a056a00808e00b0067f74031fe8mr2839652pfb.3.1692462831740; Sat, 19 Aug 2023 09:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692462831; cv=none; d=google.com; s=arc-20160816; b=DYexNXGfPx4aYpSUXiKNCPGq96LEMnlJVI+MJuXqfffbjMfkpjQMafqcH1nsmpAoay L0BfrydLqkRWdRtGnoWkTCq2EioYhZsIyMpkMLP8Y+oFnob5a2FVPZo+CJwzEZB4U7w8 h6jjF37jOSAdVqESBSkbm4ZsRTe80EJIHvHlHPrdbW21lhr8D8sgXF2KT1VOsXot5lLS BodDT0gE87yVeex0rupx26F2L4tpgvrkrvESeMwiU1GDvn/JuqTHbMC/VfK1koQWy8z3 67P/T1JuALE7vhvlXE7z5w7mMi/yBEemWjLbg6fO77CPNFk8dNbm2mAI8l4RDmIcoLMm fL7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=UVz/FVLo2O9Y9i3m8SGvxBam07O4u3QuZjVHdDXSdGA=; fh=waO5awxINLznz554MP9GQ1DeCoZHBEK/NIQ/vs2FOhE=; b=VDLWB0kUYyKXxdoUeucrWxaLsCAFkc5FUDqWoUeOHSCAnovLKHxEuNx2wP0sIgfycs 1uXa+RtViLh85FhHVnD6mAm3SVlt3N3IxmrqxtDQwaaCjvRT30kLdjgaeb5EXbwLZMLx rTdyd9Ny6Lwe52DHMcRzDlNYfwdXqyX6g6jYJ48X6E/nhZ1yr7zH3tz/2WhAl4XNHxSF T6B4az6l+cLOOah94uX7cf98pL1noGVjcx19ezyFSizF2G26T8ZG68inwbRdsHRgyVou ucftQ3Cxh1ZvxMRv2vekbkycqsalpEb9/fTx92kZezdZp4yGV6tJW4UfrNNWRVZw3Gsv wKmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=jBqOdlj5; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=btvEHq1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a25-20020a62e219000000b006873fff5254si3487107pfi.163.2023.08.19.09.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 09:33:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=jBqOdlj5; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=btvEHq1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0793D112A49; Sat, 19 Aug 2023 01:51:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241106AbjHRVsZ (ORCPT + 99 others); Fri, 18 Aug 2023 17:48:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241087AbjHRVsT (ORCPT ); Fri, 18 Aug 2023 17:48:19 -0400 Received: from domac.alu.hr (domac.alu.unizg.hr [161.53.235.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D94412B; Fri, 18 Aug 2023 14:48:17 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by domac.alu.hr (Postfix) with ESMTP id 56FC060174; Fri, 18 Aug 2023 23:48:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1692395295; bh=kYq3e4DSnRWidSKy5n0H2X3KllpBz86zHAUXjGmyKZY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=jBqOdlj5XF0DllTW4g8I/Be9haSOBJ/MJICTI38nhbpbO+yztImjigmU0XHenlHs5 7KE//EGT5MPBSSACkBbWus9uHOV8azetz9N3gsmM2pQmNtdQf/eqkTFt+kGGKAfYmG 0607p2auykOwUzcSSijeiMaCN9ETGFz1Zpz4umF2m1WJUtgREXSXFrR/ysvaXA+qTX wbB3BfPKHj13+yC+iNcixPHwnR14+28DFdSddqAnJ6p3D9SyaeKoiuKcv7g+WcqS61 1y8tL+xYsLpv7kCNR8Lf4548TCfMPPrcqggBQ19Vol0EVx2NNBCq+V5vbNB7Z90mvR XXGpgkX+ubSZg== X-Virus-Scanned: Debian amavisd-new at domac.alu.hr Received: from domac.alu.hr ([127.0.0.1]) by localhost (domac.alu.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PDYZX5sLZhkB; Fri, 18 Aug 2023 23:48:12 +0200 (CEST) Received: from [192.168.1.6] (unknown [94.250.191.183]) by domac.alu.hr (Postfix) with ESMTPSA id 012216015E; Fri, 18 Aug 2023 23:48:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1692395292; bh=kYq3e4DSnRWidSKy5n0H2X3KllpBz86zHAUXjGmyKZY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=btvEHq1sWIXnomXVCaOYnmOfp3y9elwFfHt+Is5jkx4Xrt8XaP6ChEcaVPb0e0LQs gMu5Sl3gTPJN5BRM0o78qUsL28nEuBiY1qkPBXe+bQLM0qhjqg355nvaeI39Hi+2s/ 3FaR6r8y0Zdw7knmvILNtTWd2fDvMZ/jW6w2kSCXDQ07ZsIZ2WtVzzQ/oBI1FnRJKm D80xfCbyg6lSITua4e5l6V4uhigWzZKZpeL2YYHZfcpcmjoRU01SSC1K+7lB9FISSu xaWHmGi936vVhsR8Ax0jBA8jCYnUpPufc4PVrREBWao8p0fGxvnpOuMOm2Bai9k6MG XR+xEKPed6h2Q== Message-ID: Date: Fri, 18 Aug 2023 23:47:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [BUG] KCSAN: data-race in xas_clear_mark / xas_find_marked To: Matthew Wilcox Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org References: <06645d2b-a964-1c4c-15cf-42ccc6c6e19b@alu.unizg.hr> <873686fb-6e42-493d-2dcd-f0f04cbcb0c0@alu.unizg.hr> Content-Language: en-US From: Mirsad Todorovac In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/18/23 16:19, Matthew Wilcox wrote: > On Fri, Aug 18, 2023 at 03:37:10PM +0200, Mirsad Todorovac wrote: >> I am new to KCSAN. I was not aware of KCSAN false positives thus far, so my best bet was to report them. >> >> I thought that maybe READ_ONCE() was required, but I will trust your judgment. >> >> I hope I can find this resolved. > > I haven't looked into KCSAN in any detail, I don't know what the right > way is to resolve this. That's OK, I suppose. I don't feel clarity about it either. I am certain that the original developers have the big picture. :-) Best regards, Mirsad Todorovac