Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp147921rdb; Mon, 15 Jan 2024 15:59:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3Vp7ZZBMmKfXb0XZz28hwjXW0tVbQ8BDw41DaISOpEq4w1RPxKoc7xzXe53ll8ADlZhsH X-Received: by 2002:a05:6870:8a27:b0:203:ff3f:fd30 with SMTP id p39-20020a0568708a2700b00203ff3ffd30mr9359868oaq.82.1705363196752; Mon, 15 Jan 2024 15:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705363196; cv=none; d=google.com; s=arc-20160816; b=etPzkRKepnq/kgGO4bfyvZZEfCIHsQGgneox04TwIJrzUuOqGtCyFjUcph2qxZVbam fqjcrswwKPeCI5Ae3INT+dS72+etpv8L6/RVSmXZG9APGrHwqqQgqZW5itbUXxeRLg2V h6oU4kaOJ/C1GB0cVQKIgo1WhirDeHt66h4wIBP1id4ks6EatDBMbJi35uPzNREcsQlW O5H1anID9Vhkfw2AV+rjjFXKHCHwyqJKiRQOpcSJpSVFfRVIHuWQwVHWinLaGZsrlgch /JZ/XNvHX/6Jc39CniVvtOgqhNLvrY5ojofA57bYMJk/FB3FnfQIFkyM4iu9UzdeSf86 jx6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=RM7FDMosG0aYjmuGicLPQ/Q3XT9/g2/+sXlks7EAn30=; fh=hasSvV2wrTcqr452LWIIe9qWLeR53Ku5rEl96gKVp/w=; b=TpWC3APEklfrFXe/h/fDOxIE9JCTTerPAHoke0yInRnKAuTHSODxpRdKSqER1eoFhr FkF4sooXS60zAQRhcZrii4zsso2fiNxjfScYmVlg6w3NAZVRU8lj409gV34yzogVj0Gs rvYkNFP3KCTCblwvNIy0rACzN3rPCPjcm+W4dAymlW3VCujtPuUz/OfQnPvFLxM3r5Cy XaOMAyFonmaAIr+Fm6NsCfENLA2nfZTX7IJexSqNiLe4hpSpAKxn7AJzDsWO+nCWJ3GF dTqph1lX4RUX5zTKJ6qHBzCz1zIGEKrqZICM7+XiphTi6sKKBrGFuxneozzYp39uP1cU 3uqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=osiQcpyQ; spf=pass (google.com: domain of linux-kernel+bounces-26610-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id bq7-20020a056a02044700b005cdffc2828esi10856960pgb.182.2024.01.15.15.59.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 15:59:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26610-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=osiQcpyQ; spf=pass (google.com: domain of linux-kernel+bounces-26610-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26610-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id BF697B219C8 for ; Mon, 15 Jan 2024 23:59:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DA311B7FA; Mon, 15 Jan 2024 23:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="osiQcpyQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F0901B7E2; Mon, 15 Jan 2024 23:59:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B971C433F1; Mon, 15 Jan 2024 23:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705363180; bh=/NQXU+ICRnTUS8fBizZVZS75t+q9655X3GTJxIPttf4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=osiQcpyQ1lrMVGlW3TQSRmSuGxmp+D3slzGc3WRe98ckxqiRLBmakOAg7xjHtVj4d 9L4ZWwoD7Hw7Z0/BFR/7wSDVzygOb8txtAVDTkQoWQyFlbxyuwt0WlcNROuTK2xtES IZM12grch7k/wwfTh1fMg9Cnx128ZH9AqMhHDnZCEIiPRk0HOkY15XMNLFvqg+AzQE OeKP8wnccCrRBz7nMu9qL7jqE0GZ/4E2ToFURq+arPuiMxi1LC4tYBpytyhWSs3WyA rFRNJ2D9vf7qOdXfFdmqG1rsUL9gwkisjMreWZNRRA88DnFLWi8fPkbjQ/wfZSGOSa /H0teNu/tjmnA== Date: Mon, 15 Jan 2024 15:59:39 -0800 From: Jakub Kicinski To: wangkeqi Cc: "Yin, Fengwei" , davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, wangkeqi Subject: Re: [PATCH] connector: Change the judgment conditions for clearing proc_event_num_listeners Message-ID: <20240115155939.5d206775@kernel.org> In-Reply-To: <9ac38d2.916d.18d0c71c748.Coremail.wangkeqi_chris@163.com> References: <20240115075120.186143-1-wangkeqi_chris@163.com> <7170ecaf-32e3-4bfc-b20d-a08a341ae381@intel.com> <9ac38d2.916d.18d0c71c748.Coremail.wangkeqi_chris@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 15 Jan 2024 17:26:39 +0800 (CST) wangkeqi wrote: > From: wangkeqi > > It is inaccurate to judge whether proc_event_num_listeners is > cleared by cn_netlink_send_mult returning -ESRCH. > In the case of stress-ng netlink-proc, -ESRCH will always be returned, > because netlink_broadcast_filtered will return -ESRCH, > which may cause stress-ng netlink-proc performance degradation. > Therefore, the judgment condition is modified to whether > there is a listener. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-lkp/202401112259.b23a1567-oliver.sang@intel.com > Signed-off-by: wangkeqi > Cc: fengwei.yin@intel.com Please stop posting the patches as a reply to the previous submission with a quote at the end.. Post the new version generated by git with --subject-prefix="PATCH net v2" and send it with git send-email as a new thread. Please add an appropriate Fixes tag. -- pw-bot: cr