Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1037708ybl; Tue, 3 Dec 2019 00:10:28 -0800 (PST) X-Google-Smtp-Source: APXvYqwBC5rgMBbbnFD6uz4xh45RgfwVKbYHfwbnqNUEDDAz5Ld3r2LWAuPcVCmZro48aV0SNgiy X-Received: by 2002:aca:5487:: with SMTP id i129mr2452779oib.167.1575360628532; Tue, 03 Dec 2019 00:10:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575360628; cv=none; d=google.com; s=arc-20160816; b=hZr+2wWBGAQPRWhUqsRDIP+/WfvGmUrm90TXD/LZU1M4hNivrIQaN9u0b+mxi9KzCo Ju4zME2GKPooPB+Zd0DwtRaDkhVMBameFXJ/cpnIJZvC7zaCyIIl7a7eYOYjsEcVpThe 1PRUXwBbirvflxC6bImH0S7VU1uASbg1v+Vwrjb9OgMo2d96oVOycfxqpSHIpWO3Acrn 9cy4v+oN0oJF44Lpu5oV6uV+Gqhw65JMagGTpI1eXcjcTuc8vuAzzdrsapRBwsdJ7lZK nuR4RIuTU1W7cpcpL4egBkKNhLGxoOKdX1rNA2j9iccmgWAmStzi9ksewmFEZhogF5k1 smJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SspNNO744ispkZTZcVq58peEBfNku5BUxs4QI9t0XIU=; b=WsF/QzBlCB27n/+SLljhW3TEz//gOxy5N76ONsisnNI2ECLWX+a2NWQH7NX/87hiA4 AOpxRKsdZMiCkM9GaV4q2XDqLMeb/v+QVqL4JWCEYtjcdo9BFM/S1tW0tPhjiGnl/IMJ 289yJdkuWlOcBzoXjhqSGNDG5DopQCDTQ8Y2CEFfKIR+b491K9v7elf1xpj9hHC23S9c Iz4v/qn+2mmN2wo52PGacz8Hnv4eXFICB1laVNATCB1h8ffa6oVXEuLPPj5Hki9VMGCQ /rrhqTP/yLS7opZH7ZSjkun3JfZLpS0L5wGGuTDAKFKGohBzT/ZeeySgxEj5GkOAfuGD L2Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sIuY74ut; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p131si950498oih.34.2019.12.03.00.10.15; Tue, 03 Dec 2019 00:10:28 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=sIuY74ut; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727158AbfLCIJo (ORCPT + 99 others); Tue, 3 Dec 2019 03:09:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:51152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726991AbfLCIJo (ORCPT ); Tue, 3 Dec 2019 03:09:44 -0500 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C3B3B20675; Tue, 3 Dec 2019 08:09:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575360583; bh=aFg9Veo796TteFVQHjjernjk6fU7EC2u23Cdf1+3pFg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sIuY74utBClz+BedqnpDyan2E2lvp8+7jDlKap364WLMq4s/fD4kbxrVO08/dmcf6 AKq5dRqifCI/e8kcSS6MSR22EyLPxez53ZosL4/6/dgEk+/a88GjlQCgt9h0eAliv6 ZllQbTnJGnvhV5+Cugb1jF4pFkHuZTcdM0kuQqJE= Date: Tue, 3 Dec 2019 08:09:33 +0000 From: Will Deacon To: Rong Chen Cc: Ard Biesheuvel , Linux Kernel Mailing List , Kees Cook , Ingo Molnar , Elena Reshetova , Peter Zijlstra , Hanjun Guo , lkp@lists.01.org Subject: Re: [LKP] Re: [refcount] d2d337b185: WARNING:at_lib/refcount.c:#refcount_warn_saturate Message-ID: <20191203080932.GA6481@willie-the-truck> References: <20191121115902.2551-9-will@kernel.org> <20191201154913.GQ18573@shao2-debian> <92d23f27-5ed0-5765-a9e3-9bc9fbd3768d@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <92d23f27-5ed0-5765-a9e3-9bc9fbd3768d@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 03, 2019 at 04:01:46PM +0800, Rong Chen wrote: > On 12/2/19 5:43 PM, Ard Biesheuvel wrote: > > On Sun, 1 Dec 2019 at 16:49, kernel test robot wrote: > > > FYI, we noticed the following commit (built with gcc-7): > > > > > > commit: d2d337b185bd2abff262f3cf7de0080b3888e41c ("[RESEND PATCH v4 > > > 08/10] refcount: Consolidate implementations of refcount_t") > > > url: > > > https://github.com/0day-ci/linux/commits/Will-Deacon/Rework-REFCOUNT_FULL-using-atomic_fetch_-operations/20191124-052413 > > > > > > > > > in testcase: ocfs2test > > > with following parameters: > > > > > > disk: 1SSD > > > test: test-mkfs > > > > > So we went from a success rate of 0 out of 24 to 0 out of 24 by > > applying that patch. How on earth is that a result that justifies > > spamming everybody? > > These failures were triggered by ocfs2test test, and all tests were failed > include parent commit "2ab80bd4ae". https://lore.kernel.org/lkml/20191119182745.GA11397@willie-the-truck https://lore.kernel.org/lkml/20190912105640.2l6mtdjmcyyhmyun@willie-the-truck/ The refcount code is doing its job afaict and its the ocfs2 code at fault. Will