Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp513408iol; Thu, 9 Jun 2022 08:10:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHxMh/FfxbmFs69D6OsnGhqSc0WGEEOxAQyXIfkMl4/Nom70jIztgOC3w5SFRxNfqr3Z5d X-Received: by 2002:aa7:da8f:0:b0:42d:d4b0:56e0 with SMTP id q15-20020aa7da8f000000b0042dd4b056e0mr45225450eds.359.1654787455859; Thu, 09 Jun 2022 08:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654787455; cv=none; d=google.com; s=arc-20160816; b=S2v47q1r0AELVBQ3gAEHDhEGAQp7FgblRAafS5/4B2fDKbaSNhDe1CciIqp7guHznk DKOJld84muHvrth+tUasWFq99cN/9ue5DuTYCS772aLNUlQ3vsCoG6ERLSVR06+GH3kQ LxNdpdEOp5zfnSs7jIrxXfZCBIAfNJCHCMWfgatK08PyfVwufXJhIKIEdoN4GdslHgw7 S5GVUqP26uhekN8jWjQv9EE0nidas0ZPABd4DN8wyaGkpkriR7Zg1lexZaM7InlXHzhA 0X7kHvXiK2/fy5/8t4ah3wu/hRIqzNa3pb7i+pzCQOeGzEyzGyQ7fhFPu+ONLALp4z+U avyA== 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=OP+FCzdv75xf3AHqKnJ+4LChpmPuksRBqF0JcYhkehA=; b=fT1w7hM6hAg4H0q/G2wE8q4pbQIRpvyYaG4hLwPSX/IT6wonARivxFIP7NkgZqC+Vi f4lH1A/G6dltjGy1Xi7W0gCq/kmzzmm+zAAOX+edMlBsacn08SMa2tKJd4/ttKwvQKkS 7sO1cQC+PSDvmkaxnkrEbx692JW1Aah6kgyNi0wKF0PS6pC4p00Ipbsceb0incZu99FM qF53+wrDob5XuXTUC7athbPZUC2bDASQy/6Xvw+8uOxFMidUWBIXzWLEzIKcxUjj+oBj 9BTZymCEAnr1gYVpyp+PV1FUG2m/qzsSqbC8dcxnVT5fH+9SNcluvsJGJzwbuWAxJLed kgIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=SQObC06k; 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 e1-20020a17090681c100b006fee9ca7540si7608504ejx.244.2022.06.09.08.10.26; Thu, 09 Jun 2022 08:10:55 -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=SQObC06k; 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 S1343665AbiFIOz7 (ORCPT + 99 others); Thu, 9 Jun 2022 10:55:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343489AbiFIOzy (ORCPT ); Thu, 9 Jun 2022 10:55:54 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90DDF37F906; Thu, 9 Jun 2022 07:55:52 -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 4BFC121FA9; Thu, 9 Jun 2022 14:55:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1654786551; 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=OP+FCzdv75xf3AHqKnJ+4LChpmPuksRBqF0JcYhkehA=; b=SQObC06khT/SS84YZt1lyljm9Cr5+NeogHGlZxt5pxfF9ZvnQLukKnj55bh+5fUCYBr7Yi NlraG861F/YQs96MkzjDx/3/U+FfUtp5HlV7liTe3y13/Ld9SWoy9qp1WgypBmB1npDRMw KIkohhqcvxF2/4K0d+30WALHcLZjlZg= 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 E70FD13A8C; Thu, 9 Jun 2022 14:55:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OFs0N/YJomK9fAAAMHmgww (envelope-from ); Thu, 09 Jun 2022 14:55:50 +0000 Date: Thu, 9 Jun 2022 16:55:49 +0200 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Tadeusz Struk Cc: kernel test robot , 0day robot , Tejun Heo , Zefan Li , Johannes Weiner , Christian Brauner , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , LKML , cgroups@vger.kernel.org, lkp@lists.01.org, netdev@vger.kernel.org, bpf@vger.kernel.org, stable@vger.kernel.org, syzbot+e42ae441c3b10acf9e9d@syzkaller.appspotmail.com Subject: Re: [cgroup] 3c87862ca1: WARNING:at_kernel/softirq.c:#__local_bh_enable_ip Message-ID: <20220609145549.GA28484@blackbody.suse.cz> References: <20220609085641.GB17678@xsang-OptiPlex-9020> 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,T_SCC_BODY_TEXT_LINE,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 Hello Tadeusz. On Thu, Jun 09, 2022 at 07:30:41AM -0700, Tadeusz Struk wrote: > Are you interested in fixing this at syzbot issue all? The (original) syzbot report is conditioned by allocation failure that's unlikely under normal conditions (AFAIU). Hence I don't treat it extra high urgent. OTOH, it's interesting and it points to some disparity worth fixing -- so I try helping (as time permits, so far I can only run the reproducers via the syzbot). > Do you have any more feedback on this? Ad the patch v2 with spinlock per css -- that looks like an overkill to me, I didn't look deeper into it. Ad the in-thread patch with ancestry css_get(), the ->parent ref: - is inc'd in init_and_link_css(), - is dec'd in css_free_rwork_fn() and thanks to ->online_cnt offlining is ordered (child before parent). Where does your patch dec these ancestry references? (Or why would they be missing in the first place?) Thanks for digging into this! Michal