Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4412744rdh; Wed, 29 Nov 2023 00:11:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCJ+fCYCkSAgmK9BJ4hntSZ3MXIkKk/TpHShbd5wlJLLnZcUq0fekoFf3D7OmSW3nSOFlG X-Received: by 2002:a05:6820:1ad3:b0:58d:97ad:4c00 with SMTP id bu19-20020a0568201ad300b0058d97ad4c00mr9857207oob.6.1701245502584; Wed, 29 Nov 2023 00:11:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701245502; cv=none; d=google.com; s=arc-20160816; b=seJB+qiuIvAnQiPoJI6s6iBnsWKLmeU//rSxxk1xpnKfJMtICbGPCWMz6p7pS80EE+ vQa71DTn73OonHozvxEhkVpPhg9XUTrywj6ncWA1gQt7j1RETAZ4IsqQ5/RRi0sji5Lh nIWFPGPOfUdzlWZ+tql8NSpytj6bdZ8SvXN8wZX0IpK3Ha1+cYcO41MnnkDgu46/4bNg 46G6bA9x6/5CqsO/uErJhUbrP+DbzX6mHja00KTkMu/JcF8gdzWW80UTM38VTWC/xDCX eiT/wLe4cC2KIUbCYaipx4YpsoPI8iL/CAKIPLxxzy5HWBucUxH9ZMwIAou8vxDgJ4xG 0RGg== 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=3TpNdnOe4L/8E2ZYsFFxMsmTtg8QSbXt5NgPNPOgE34=; fh=jShKQAplIBCWeEP6OJBlCM21jMiJ4IVxwWjs7m9Dalo=; b=fkRS8dI8z1yBjbRB4/s5jQ0hoajNp9KqjgeTcuIcO1cVtAoTnscCRiuJTixNm7I1h/ 7rRXnIPbJMtPWj3g3S49PudG2o7z3SaHONQ2B8UkWbPAm8bM4wkcZ0S+znHymKd9PePA gP9fTVzOonjFGIBs38S93InxtKm/fGgcIKr20JXu3yuNOI1BRf3+4wGRbcvDdcsJyCsu AH+rTwANOeMvZBx9zSrjoEn/KoUFggXL/ior3o+JTGT+OyIP0Zlu2JRxWR11F2RQ+cJb f7ZG/13pFDDeINHKyzwKc7Qjpho0MWEVrltGdX7HcDInL64RQpu1DTvvU8Qygl2k4clM tqyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RbXPJc6y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id i12-20020a63540c000000b005849fe1d3aesi13280205pgb.458.2023.11.29.00.11.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 00:11:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RbXPJc6y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 40DD78047518; Wed, 29 Nov 2023 00:11:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230168AbjK2ILZ (ORCPT + 99 others); Wed, 29 Nov 2023 03:11:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjK2ILS (ORCPT ); Wed, 29 Nov 2023 03:11:18 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B6B91990 for ; Wed, 29 Nov 2023 00:11:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701245484; h=from:from:reply-to:subject:subject: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=3TpNdnOe4L/8E2ZYsFFxMsmTtg8QSbXt5NgPNPOgE34=; b=RbXPJc6yP0DVdJ5BRC6V8oSdyqtZCw42E/Gdma0il0AG3OeVZek7+wdIJwVMiUOBqUwQXQ 4YmHPsiDtZeXwbhogdXPYVED0lODPXS5pxpkjF7VRmSdQwF30yWkQUnapel+1W7nFGw1Ao vf1SeyHL7FagI28FpMBNbvq2J+9DZZI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-483-YJMkMR_vNOybQcjc5jCibQ-1; Wed, 29 Nov 2023 03:11:19 -0500 X-MC-Unique: YJMkMR_vNOybQcjc5jCibQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 48F58185A781; Wed, 29 Nov 2023 08:11:18 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.224.14]) by smtp.corp.redhat.com (Postfix) with SMTP id 56C6C492BFA; Wed, 29 Nov 2023 08:11:15 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Wed, 29 Nov 2023 09:10:13 +0100 (CET) Date: Wed, 29 Nov 2023 09:10:09 +0100 From: Oleg Nesterov To: Kuan-Ying Lee Cc: Jan Kiszka , Kieran Bingham , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Morton , casper.li@mediatek.com, chinwen.chang@mediatek.com, qun-wei.lin@mediatek.com, linux-mm@kvack.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH v2 1/3] scripts/gdb/tasks: Fix lx-ps command error Message-ID: <20231129081009.GF22743@redhat.com> References: <20231129065142.13375-1-Kuan-Ying.Lee@mediatek.com> <20231129065142.13375-2-Kuan-Ying.Lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231129065142.13375-2-Kuan-Ying.Lee@mediatek.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 29 Nov 2023 00:11:40 -0800 (PST) On 11/29, Kuan-Ying Lee wrote: > > Since commit 8e1f385104ac ("kill task_struct->thread_group") remove > the thread_group, we will encounter below issue. > > (gdb) lx-ps > TASK PID COMM > 0xffff800086503340 0 swapper/0 > Python Exception : There is no member named thread_group. > Error occurred in Python: There is no member named thread_group. > > We use signal->thread_head to iterate all threads instead. Thanks again, Acked-by: Oleg Nesterov > Fixes: 8e1f385104ac ("kill task_struct->thread_group") > Cc: stable@vger.kernel.org Is it possible to merge this simple change before v6.7 ? Then "cc: stable" can be removed. Oleg.