From patchwork Wed May 31 12:04:49 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: 101398 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2828424vqr; Wed, 31 May 2023 05:09:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qy4HvzBKBiRpdg22SIjFZQbTVv6tY2sh/YUydjNh20DlDkqg48S575r+aVlZnGL3zoHj/ X-Received: by 2002:a05:6a20:9146:b0:10e:f369:2809 with SMTP id x6-20020a056a20914600b0010ef3692809mr5326308pzc.21.1685534988302; Wed, 31 May 2023 05:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685534988; cv=none; d=google.com; s=arc-20160816; b=kem0HBl/at9A2emOqQJ682Q2zWYYTMXO0VTJam1e/MXIQI5LwqUcQsrbQ1S4jPW+g2 4UZ0QKvaChKIekqdZzDbNVv0Nu711yHoJYoe819XYaeREEOXMfswZIN7FEHp2THcChZl DlnD55czpmhV7PwcB4XxtpMABwTi9n9Z2VI/NQz2Z6uo4Ptc82gpIjrMYlfpGnJOuQQI wfyNNk5+iX3bTzlCasvMtm/7rp1SEeId8KOPHid9N0aFVcG5JfhvQDuQuU27bKf6YWfj WbJlOWhwf+tuQzoGdovokHSR44eFUlx9tYemtQJ1QOkY8d3w8EHYDBqE4jYwx3+gxtsV XKBA== 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=rNwUXukSEl/JgYnsL6fJJ1J4br3SvY99FMxfaCaZ3Cc=; b=xRd/D53Waf+EkVYK11+m0Mzd7xJGQAF2iJScBNS2MhAoNEplHTAHgERKwj22sVR0ff /9G8fuI0tNru9pbeiLe+kcudBjsNnPTVnUhPU0RA4kPOCaIGDH3gG/xcHZqhCWCOQsXZ 9PN3fK9tzMnV1NjEE0EPXB7/xvyydRZ2kW8Jw5kHtnjQlR9AxgAYuCGi0HAGKbKYfkvt QH8k1DFsh1ErZ1Q4pgqqdDfCdEsWLwp1CiMjruiXk5gVFabrXMjdyKVOQKEZmDZITBFt E7mj97U1rq3zvRF/Pwm9ibcQ2asoildi+UyPhA9Jg6JKjvMCZXSkA1iANivjH+ZD9DRP V7/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ak8GNogf; dkim=neutral (no key) header.i=@linutronix.de header.b=2my4tOoa; 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 u190-20020a6385c7000000b0052856cec94csi802411pgd.877.2023.05.31.05.09.34; Wed, 31 May 2023 05:09:48 -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=@linutronix.de header.s=2020 header.b=ak8GNogf; dkim=neutral (no key) header.i=@linutronix.de header.b=2my4tOoa; 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 S235873AbjEaMFE (ORCPT + 99 others); Wed, 31 May 2023 08:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235750AbjEaMEw (ORCPT ); Wed, 31 May 2023 08:04:52 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C22910E; Wed, 31 May 2023 05:04:51 -0700 (PDT) Date: Wed, 31 May 2023 12:04:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1685534689; 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=rNwUXukSEl/JgYnsL6fJJ1J4br3SvY99FMxfaCaZ3Cc=; b=ak8GNogfuNVQNKbMkypBkrAkC7i2N5ysg6AERNmOG1xL9bMdPZITw8/jD4uSFZc//0XUDu +nLSrLsx5FCIuxiIh8vt7aAKT13ep21jAsZreTviMSxXRXpHg75T6VhT260Fe+CaWElPjY hrqb8yvJXqgNXpwlNNXl+ZtlUCltNP1Nl1VRYa9+1uuqmAtc8fEBpOuxEhKq9EBFOQR2wD 6AA7yU7CS9h0X830qGzwe/bvXc9T684+VxaRupbNPxSWbGsy1muJ6k5TCF9nQIVoZ9yj4V Us9EQYXCaXTvyzpIhQBQ+yGOLxu21n9i/BTPTEG3HhsgwT8FdKwRepSK/Z3X6A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1685534689; 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=rNwUXukSEl/JgYnsL6fJJ1J4br3SvY99FMxfaCaZ3Cc=; b=2my4tOoarOyW6hz1DKRhNqMOuWC1U6c1qnlS5U59nXT36rJEqEB+OV/JGQySN0xR6/Ow0C K7kkkJpY0m6d2dDQ== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched: Make task_vruntime_update() prototype visible Cc: Arnd Bergmann , "Peter Zijlstra (Intel)" , Vincent Guittot , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230522195021.3456768-5-arnd@kernel.org> References: <20230522195021.3456768-5-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <168553468933.404.13669678273109677886.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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767411535384387795?= X-GMAIL-MSGID: =?utf-8?q?1767411535384387795?= The following commit has been merged into the sched/core branch of tip: Commit-ID: f7df852ad6dbb84644e75df7402d9a34f39f31bd Gitweb: https://git.kernel.org/tip/f7df852ad6dbb84644e75df7402d9a34f39f31bd Author: Arnd Bergmann AuthorDate: Mon, 22 May 2023 21:50:20 +02:00 Committer: Peter Zijlstra CommitterDate: Tue, 30 May 2023 22:46:26 +02:00 sched: Make task_vruntime_update() prototype visible Having the prototype next to the caller but not visible to the callee causes a W=1 warning: kernel/sched/fair.c:11985:6: error: no previous prototype for 'task_vruntime_update' [-Werror=missing-prototypes] Move this to a header, as we do for all other function declarations. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Vincent Guittot Link: https://lore.kernel.org/r/20230522195021.3456768-5-arnd@kernel.org --- kernel/sched/sched.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 192e781..ce07782 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1245,6 +1245,7 @@ static inline raw_spinlock_t *__rq_lockp(struct rq *rq) bool cfs_prio_less(const struct task_struct *a, const struct task_struct *b, bool fi); +void task_vruntime_update(struct rq *rq, struct task_struct *p, bool in_fi); /* * Helpers to check if the CPU's core cookie matches with the task's cookie