Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6393207rwr; Mon, 1 May 2023 23:00:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7udbja59lZv/Oy8xCLQOeeqFHbjcR+WXMYgL/6YR4jON1lG0N49Bz/cp3STVfepWqApi0A X-Received: by 2002:a17:90a:dd83:b0:244:d441:8f68 with SMTP id l3-20020a17090add8300b00244d4418f68mr24719499pjv.16.1683007244095; Mon, 01 May 2023 23:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683007244; cv=none; d=google.com; s=arc-20160816; b=TH7JnNJ7lohZ4UbEBRDikaExUBS3P3Ldc9p/XxUxas/yqyciJFi66j0ZmKNAfexOYd f2dataI9Vhns/yIwapcgDpBvynWxKZQNe9dveukmPaMXomwFGtyyJEsYDY6TH3I3NEvP pqqUuXUn336qQKEKq3yNTRF+HlY2j6eoYPx0hMZrmMwUKCd95Vi9hSiWCBeO3VdeEIlM ifU5RMk3+n0k/IimpHyZBKGTKTNFWfBqFykLY9rQI7dhZsjkaf/peu3aM7JVk8oaYMmY PPoKDDuPxRnv8kKEBEaR2VelYfDmVtlKfEwyFwzc2TkxEmh8MbjSscQY4UmXQkMiWZph 2NBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature; bh=L2yccSjdHtS3vmurCVuzHV7VToYRo/5t3+9/yGqQm7c=; b=MIaAEKzRqeTGnh4OFdgTrL1VP2k1SklIePKIMotB65leMKmxY414nGT8MAY11ZRHtX eciHlAoGmPSsJJnWGBZuGTnNvgXvLb6dK7Qej9oBc9jUPkWHyIN7AuZQZnVMOf4RfWcT gpsAxOGarLhH7dTuFOdzVHPLqIuzUt368C9POJ19IlrRQM4Ue7LsELLzBB7pB4G5QMOc QaA7NWKlRitJ6jYv99N34HqhcVv+gySWHhSKg2x5dJPDXrw4p14fwVbd9H5WaCsIz58/ oynH9j1IMIljZfxvGzHvxXJm6a5R1Evm/pUOTPGpJUlJUIEbGLP9GiLEa2D+BT4+/zjZ qoaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=GqVNG5J8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h1-20020a63c001000000b004c259db61fdsi30074663pgg.561.2023.05.01.23.00.17; Mon, 01 May 2023 23:00:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=GqVNG5J8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233412AbjEBFxi (ORCPT + 99 others); Tue, 2 May 2023 01:53:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjEBFxg (ORCPT ); Tue, 2 May 2023 01:53:36 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EEFA2702 for ; Mon, 1 May 2023 22:53:35 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BB6865C01EC; Tue, 2 May 2023 01:53:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 02 May 2023 01:53:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683006814; x=1683093214; bh=L2yccSjdHtS3v murCVuzHV7VToYRo/5t3+9/yGqQm7c=; b=GqVNG5J8PdJPsNqifSZuzBoQAg5dv 8JbQpHCnAbqZs6SERjZ/y4Yux9bUdOsNC53dqd4oHN/odG271Z4rgLBsAj+8MjIB L+ICrkD8P4LqZ0XeanU+N18/Mi6FC4iKCNfwcrlJ1ZlP1hfkbWwP1C9xC+EA9h0K fbm2vlAS/vgEbewbgiyMjkfync+ZCOoa8pXh2M2URvAzf3DD2hcM9oJlpEaXbIhq xHhHpHEDsVcSeR7TIjdhYA4TzzgK0fW8tL1icDbEqbxKsvobWFAyMozR/dCdJY6u 83G04ZFQlXGGnevGp6x9rJW6RVsbt4dt+32kJs48IBB7Hz/ZOxYYbOOGA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvhedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefkugho ucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhstghhrdhorhhgqeenucggtffrrg htthgvrhhnpedvudefveekheeugeeftddvveefgfduieefudeifefgleekheegleegjeej geeghfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hiughoshgthhesihguohhstghhrdhorhhg X-ME-Proxy: Feedback-ID: i494840e7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 May 2023 01:53:33 -0400 (EDT) Date: Tue, 2 May 2023 08:53:29 +0300 From: Ido Schimmel To: Thomas Gleixner Cc: Schspa Shi , longman@redhat.com, swboyd@chromium.org, linux@roeck-us.net, wuchi.zero@gmail.com, linux-kernel@vger.kernel.org, syzbot+5093ba19745994288b53@syzkaller.appspotmail.com, danieller@nvidia.com, petrm@nvidia.com Subject: Re: [PATCH] debugobject: Prevent init race with static objects Message-ID: References: <20230303161906.831686-1-schspa@gmail.com> <87bkl9jt3a.ffs@tglx> <87sfdw8yru.ffs@tglx> <87pm908xvu.ffs@tglx> <87zg7dzgao.ffs@tglx> <871qk05a9d.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871qk05a9d.ffs@tglx> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Mon, May 01, 2023 at 05:42:06PM +0200, Thomas Gleixner wrote: > The change in that patch is neither debug_objects_activate() nor > debug_objecs_assert_init() no longer invoke debug_object_init() which is > now the only place doing pool refills. So depending on the number of > statically allocated objects this might deplete the pool quick enough. > > Does the patch below restore the old behaviour? Yes. Couldn't reproduce the issue with the proposed fix. Feel free to add: Tested-by: Ido Schimmel Thanks for the quick fix!