Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4520522imw; Tue, 19 Jul 2022 08:08:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vIOmASOfX4N1UBpMjNuQ18VQUlAW27dYv0aZ2ifp7RteA38jobeGJBZBaZfol/5uO5b1B0 X-Received: by 2002:a67:e355:0:b0:357:5d02:40e8 with SMTP id s21-20020a67e355000000b003575d0240e8mr12246686vsm.19.1658243282357; Tue, 19 Jul 2022 08:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658243282; cv=none; d=google.com; s=arc-20160816; b=gpUj0knM7gyANalvRjzt9pL93mH3RqaSxvLF8CNbTNJK6lbWOLrYsFBPj//Z0mhI6s mEPMmsfWDhsL8IjN+wsWEGs5ERECRHvhbd+/pgCh5WGvEXuU53My9FGPMXW5GYTVusa3 /w5Zzk37xoKCFyuXahzg/CNb1r0uumcSlVmKySKBLHdOvSPvl1OpwlzqBFhx3LUm0jU0 E4OJQVMWoX+9WvcoeUOPQynGB59mdM3KIntBXtTqJ64NIKXlvoYkOTqw0cuvIt6ZGEsX 7ZuxWDNnXScbswLy66u588MaPk7t0tn8QhQYvWhpqj3vaIw+9YoP57MAtaT+ApFU8aUo INlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=dQkGZ2bUCaXoPh/D/Jj4IPkCDd93zpdb0jFOJ4x+L1k=; b=rFu4Yd1mSOXv5yqzh6KoFuPuYoLAULz5gwNq7bgvZuwHVUaMwLre0H+n4kUYIHj4cC M/yoSkMJ53t5Wi9/dCWFRkkly0Y1eih5bk1x/GC34J+Sa1FbK/ldGmPmZwYQGAKNE3Oi lKh1WupMC74m8ZDZbuCCecS/lrgfLqf0PPQ3hJTaUNo09lQtFPRltaaVd+4Y6U7TgaCT 5Ef3A3oT4O4qW/lwn6d3ZeCwX92bTC7PPHnaqIa8wXQOJzhb8QTlpN3t6BAZf/KZPMwq daIMhYknkBI3ekzvWZ30qf0NvsLT05cThwid42TX88RZZdBaiTSvtvinUnW7vo98HuWf x9eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=RXpYSGlm; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l24-20020a67d518000000b003571b99f224si2480247vsj.42.2022.07.19.08.07.23; Tue, 19 Jul 2022 08:08:02 -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=@suse.com header.s=susede1 header.b=RXpYSGlm; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234401AbiGSOMw (ORCPT + 99 others); Tue, 19 Jul 2022 10:12:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238388AbiGSOMd (ORCPT ); Tue, 19 Jul 2022 10:12:33 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 236F1CE3C; Tue, 19 Jul 2022 06:35:14 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 94DEA347EB; Tue, 19 Jul 2022 13:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1658237713; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dQkGZ2bUCaXoPh/D/Jj4IPkCDd93zpdb0jFOJ4x+L1k=; b=RXpYSGlmRcef3l7YiwRFdAApPwXNCGsn0BDGq8RMYOlXFurF0+ck6ho6rGcVbsWtc/fUP6 De4sOP94LDSs7rGW7/DXiKXGZ3iMCVaCS8xrKMTqCvGXTFpvP8npNoI8fDTvetmmD0jubo mc2b6WY+Bg2Qby9yeLCG9cnhEe+PPKo= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5975513A72; Tue, 19 Jul 2022 13:35:13 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id I8ALFRGz1mLrXQAAMHmgww (envelope-from ); Tue, 19 Jul 2022 13:35:13 +0000 Date: Tue, 19 Jul 2022 15:35:12 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Jing-Ting Wu Cc: Tejun Heo , Johannes Weiner , Zefan Li , Matthias Brugger , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Shakeel Butt , wsd_upstream@mediatek.com, lixiong.liu@mediatek.com, wenju.xu@mediatek.com, jonathan.jmchen@mediatek.com Subject: Re: [Bug] race condition at rebind_subsystems() Message-ID: <20220719133512.GD897@blackbody.suse.cz> References: <1978e209e71905d89651e61abd07285912d412a1.camel@mediatek.com> <20220715115938.GA8646@blackbody.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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, Jul 18, 2022 at 03:44:21PM +0800, Jing-Ting Wu wrote: > Accroding your description, is the following patch corrent? Yes, this is what I meant (i.e. grace period before invalidating the removed rstat_css_node). > If the patch is correct, we will add this patch to our stability test. > And we will continue to observe whether the problem is solved. It'd be great to have such confirmation. Thanks, Michal