From patchwork Thu Jan 5 10:59:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 39484 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp243286wrt; Thu, 5 Jan 2023 03:07:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXuz2AYy7/0QWKEThkhE/nkmvtFJXd5oqe8yYOLCdkKcksFPVr/hp8wp5haSrQ/0+NogQw4l X-Received: by 2002:a17:906:380e:b0:7c0:be5d:59a9 with SMTP id v14-20020a170906380e00b007c0be5d59a9mr47636160ejc.20.1672916825124; Thu, 05 Jan 2023 03:07:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672916825; cv=none; d=google.com; s=arc-20160816; b=gLKHHm59hWDZ7l60ZliWQGtNTxf5bYCWr/5A2OO5fz/VRJRUvnzZTc9nclhHUVcTUf ElYNii4eQ6Mguk92sUzxzcNk8y3uxriGhp2dNy8E4jfUJ4vvoWgIDCOnu/QAbSLsESkX 9jhwGuSFHJIR9nEn5+UhpwNrA3P1YDsDvx6IZ6Zl30urMy8TYOnrKKb3Xb2y5Ktohz9T WtLmaDExx6TmigW1LQVS3UxXKP3mkN0GndHBfotp6Ft0ziBBcQTjozIQBtHDM6KyyW/h xn8qkDLxaEwQW3nH4BSwSJiwJsh5M7shDPSHxxlhbun6jl3BG1Vu1QlyOA40f7Hfnjoz Q0Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=pRSZUNHOweE8Gbgz6Bx7yitBQCc4aVsvA+KeqzR9PJQ=; b=CxmW+2W5JXpAn5IAFmh9dbqFOFTOOqxx1nBIuUPvdaLSDGdI6IOjDzXcGB0dZ3zRGX uz3XM6xqh/Kmgv0Wsh04JQjt/EUnGO74qP5JQTP+eTpq/MTqtBvQX7rv7Veeh5Md6g2l ZYmNzYaS5xGiEUvN/QQDn8kpgE1CCksKqyZJ0Dtv+25A4kJouJTIRpWN9Pp5FB3NF6qp ZRrMBYVPjHi2dK+chXBXJkSpQ1wLjx+M2MpFBCn4ursQ7E5NhIxz8rVAMugusK9/ooGd /2ol4vx0GiZSWTH+PWywUo5kIkE07506DCEvcBTbdEePcAPEpjhhQTozffcrD61kTp4s D4tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="Tenx/PkH"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=9VVgMjgj; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du1-20020a17090772c100b007c11805a849si33295170ejc.341.2023.01.05.03.06.17; Thu, 05 Jan 2023 03:07:05 -0800 (PST) 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=@linutronix.de header.s=2020 header.b="Tenx/PkH"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=9VVgMjgj; 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=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232483AbjAEK7M (ORCPT + 99 others); Thu, 5 Jan 2023 05:59:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229834AbjAEK7K (ORCPT ); Thu, 5 Jan 2023 05:59:10 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 539E354713; Thu, 5 Jan 2023 02:59:09 -0800 (PST) Date: Thu, 05 Jan 2023 10:59:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1672916348; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pRSZUNHOweE8Gbgz6Bx7yitBQCc4aVsvA+KeqzR9PJQ=; b=Tenx/PkHx2f/Fzgd6hifUtgIw5jZSI41cl9aNKrMsF3gSq2+CJEb6aBQxJJlp9naRzFnmb jGK0O5Kda6GkmrmNKSefXzNwZRT5ViHV4/3TBh6MEiNFPLZfaCHq5tcq0NJaEuIuS2l5kW gu8536ZUqt567ErCQBQV/+9m6Lmtz03opmOhV231xWvcFWz+ohwNkY7VOwn8iJUegr//vN E++O5IzJPyArz48VgixPjfyfU1fudfyshsuck9AfbY9/7FCuN/uenU1nz4vgdvecWTPgD1 bnq4KEbT9MPtPMpt6BvnkPwzSNTAanAz0Ud0BqYySYbRphxSpi2HyKK8yucrSg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1672916348; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pRSZUNHOweE8Gbgz6Bx7yitBQCc4aVsvA+KeqzR9PJQ=; b=9VVgMjgjvk8UUSQeb4jt/9C36uMGct/SOdRtecOg7GJllZ6Hj27Nlk4oUNf0SZXP/CxiFl +GfwKZzlt1cISvBQ== From: "tip-bot2 for Bing Huang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/topology: Add __init for sched_init_domains() Cc: Bing Huang , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230105014943.9857-1-huangbing775@126.com> References: <20230105014943.9857-1-huangbing775@126.com> MIME-Version: 1.0 Message-ID: <167291634746.4906.10815870728779627297.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754180433232292310?= X-GMAIL-MSGID: =?utf-8?q?1754180433232292310?= The following commit has been merged into the sched/core branch of tip: Commit-ID: ef90cf2281a013d359d24d51732af990badf6e03 Gitweb: https://git.kernel.org/tip/ef90cf2281a013d359d24d51732af990badf6e03 Author: Bing Huang AuthorDate: Thu, 05 Jan 2023 09:49:43 +08:00 Committer: Ingo Molnar CommitterDate: Thu, 05 Jan 2023 11:42:13 +01:00 sched/topology: Add __init for sched_init_domains() sched_init_domains() is only used in initialization Signed-off-by: Bing Huang Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/20230105014943.9857-1-huangbing775@126.com --- kernel/sched/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c index dea9fa3..d93c337 100644 --- a/kernel/sched/topology.c +++ b/kernel/sched/topology.c @@ -2451,7 +2451,7 @@ void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms) * Set up scheduler domains and groups. For now this just excludes isolated * CPUs, but could be used to exclude other special cases in the future. */ -int sched_init_domains(const struct cpumask *cpu_map) +int __init sched_init_domains(const struct cpumask *cpu_map) { int err;