From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.51 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795995748; b=L3Id89iVTpSX0sk3eG5Lt3enZL6xwZUvP+86tpmAEQvOcGrIbkuRAR/PmBsWsvMWhLvi e6RwvLnIyWwFlzAlHGpf8onPqfsZOcrEayIWYqXbvuk7LNgcSX0a/z9KbqD4CdhuESFLp L9dpOwPZQeFdV+YDPdDz16kKjFf/w5rYd0MLfQ4IjRThvkRMZC1cboF3Ec/rrQSW08CW/ ykKZajQxFlAcrvD65cHvrDRCCuThW8q0cvCmcHJYc2f98VfDbYbxZpF3MqMsPK98vt62O S7blibu0sIGu7E6wFSrYwle4UFWqpeWd5LG7ALugYKdaOcLGbg1Xm7L7lN0qnHpShpw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795995748; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=2Til04peOjmWa4GA0bMLoxw9E0qwLsgF5lTI1fwNOdc=; b=CrQYniIZ5jt1HXAAXwu/IKCEEUrceCh1VETKltlkiGgnBER+8JJKPPnlRMfe0fEGgo8X PelldJC046Nzfr8mEB3FUiInVxofEKTs1/5JBBKci3ZKFOPhSxC6o5dDti0ou8SKCKwLw 4+NhcWSMDLWiZbUrN2836fD7ypoop/TenN9K44/p3uJQWiHzdzvjyfcsakY0PvWaC99+z C0MBiX6/tbounQfcs82Uqjfg4tOgkIWh5gmAIoa9ooYPRdHSculNKcPGpShrhPtMWwjYE sbrFQe5cPUOsm6vHDnztiNDtsPrDyUgNLxShCnK+IIc3TYUV9BH1zop4j5K9SKzbMgA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=layalina.io; spf=pass smtp.mailfrom=layalina.io; dkim=pass header.d=layalina-io.20260707.gappssmtp.com header.i=@layalina-io.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=O2CEKVzq; arc=none smtp.remote-ip=209.85.128.51 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1909F606A31C for ; Sun, 29 Nov 2026 23:42:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1909F606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=layalina.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=layalina-io.20260707.gappssmtp.com header.i=@layalina-io.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=O2CEKVzq Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4bb6c7b6dbdso90879565e9.0 for ; Sun, 29 Nov 2026 15:42:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20260707.gappssmtp.com; s=20260707; t=1795995745; x=1796600545; darn=lists.linux.dev; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=2Til04peOjmWa4GA0bMLoxw9E0qwLsgF5lTI1fwNOdc=; b=O2CEKVzqu9cd9paKq0CaZHZIt5h9s2at5MOp0rhY1ddlamds4jsZp8aCr6o/v9exyP M5m3k5+FnlwvK+Dy3T0hkqi4d4AI3XQRfLU9wIJf3iv4n0ejFr+O8ETdlG8zCBu1UVG0 rNps7OEkIw1WfJm3kz/dg8pJzhzXyTfK6TgQ0lYfm/wlMTI167dTLpULn5ZXa78QYPo5 H4Zsxpr01JOWbKawt3LpUjM393phg/M4wLaO60C3WTB8LMffwYWwmF8b0fc7G6OWGQD9 Df3B4c2oVnPNCoUiEiXDeaYlyjn85aCjnlV3FwVLgZIM+XhhD/xgbK8MtsHCq7dbHCbi dUEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795995745; x=1796600545; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=2Til04peOjmWa4GA0bMLoxw9E0qwLsgF5lTI1fwNOdc=; b=QlKv7ofe+upv3LOnepYSCcKBNMRpG+AhLNXKFjzx1c7wLzo+p9+1hOMAEUW7hwr3p8 7fnHNeszvRMwdhTehOinomdZ04NxwM/46nXns4hXvpYQOoD/ilJNRbbkuhbgAz4N9xTX slJrm39N85AH2F22ky0zRGafLJYsSPbjJAk3CPDF4zjHm1p7aU2t4NYhWx9pdTUjT1gr 0LD05KYdkWl4+Hw0CnCnifzHd+JDuZX6RoFd4rRBACgM1ohnAz6QQhgwuhzZDIMJEBjK 8vx+4Mm2HDuAWy3AD5MppIkOWUt6RUHpA/4FzIkqqWgRgd+pgO4zd424K626AAw4W6jp 7lmw== X-Forwarded-Encrypted: i=1; AL+hErGB/0l94+TWj3mRVZsq1TzdadB7ugOMzPyuwIwCjjIan1Aaa0wtuE9jFKjxLGLAGWUA9SAq@lists.linux.dev X-Gm-Message-State: APuU4Z9Spe0zvwwZAVfjuP/f+YiW0f1ta4GuI8V7dcgx1AvjAGmWWblx uyBr6OeX7vKRkHkvxiKoT2y8Gg3bAzGlGzWB5BN9hNdgwh2h1KEpbA+CtrD+DS8cZgI= X-Gm-Gg: AZFdTZfPp1SGA4eZnk4RKw72xEFOlAjejjhxxiu7B10rHIUVW6ALwY3LZViQZQIIpoB Yx3jiBjlYCwTRHjUXQoUnaUBULz6JQ9+RDCKAm8UlU9eyNZsp6DynSmbE5ByQBN9P49lgaH98nr 0pIO7MBhkarnf920RJiRd+laRAHpdXjmIvBXssDCnA2v44XoEpZiGbHZnMDL1zgib0uiQPheKtq e2H/xCcaO1lji/5yqwNsfVlYPsrsX1nqZH6QQJ8i4pOROffyWAzlz79hStFNIE6eWfH2i9bKYQd QihOprcDAWGr6HICP97MHGLBuG1PQGEo+2/0IoExF2rQIwO7bbsKrRjoHvoYN7JEXdzeNSDeThy H7+PvpZPBG0PEYevUZ21S6J8nbSczKUxxUGPSPXGm8IFsiJ/TKB+0SjLrW4IMura8VXEJnBIC6e W+TIYi7wq08cNI8jOFFUutYfwKDEsPP68VfaNAHie2/F4L7lhqyqtUrghosR5SpYMJOHL5rjS5q NSUNX0ZgE6g77AvFtWFh5zF1A5iW1DQD6tYhwi/MYGUttfM+7ZyZnjE/GqmWMBGzG5NpNSXVPHs 6Y7S8bCHHhuDwuyA7OHdqk5LugANKAiRQ+ZUPFvtfSYARTIHZHknPgMndtNnSZjQsWkYxF8JHLV rkuHgio+Aan6eN28rJlpLXvZZ7cF6hQ== X-Received: by 2002:a05:600c:37c9:b0:4a6:eca1:7d5c with SMTP id 5b1f17b1804b1-4bb888251b4mr560645965e9.32.1795995745030; Sun, 29 Nov 2026 15:42:25 -0800 (PST) Received: from aerith (host109-153-232-219.range109-153.btcentralplus.com. [109.153.232.219]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b8b7888sm61150208f8f.42.2026.11.29.15.42.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 15:42:23 -0800 (PST) Date: Sun, 29 Nov 2026 23:42:18 +0000 From: Qais Yousef To: kernel test robot Cc: Ingo Molnar , Vincent Guittot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Christian Loehle , Dietmar Eggemann , Steven Rostedt , John Stultz , linux-kernel@vger.kernel.org, Kayra Cizmeci , Wei Wang Subject: Re: [PATCH v9 3/3] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq Message-ID: References: <20261129184052.15594-4-qyousef@layalina.io> <20261130065142.jL2yjqPL-lkp@intel.com> X-Mailing-List: llvm@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20261130065142.jL2yjqPL-lkp@intel.com> On 11/30/26 07:03, kernel test robot wrote: > Hi Qais, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on tip/sched/core] > [also build test WARNING on tip/master peterz-queue/sched/core linus/master v7.4-rc4 next-20261127] > [cannot apply to tip/auto-latest] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Qais-Yousef/sched-uclamp-Use-wrappers-instead-of-open-coding-UCLAMP_FLAG_IDLE/20261129-184050 > base: tip/sched/core > patch link: https://lore.kernel.org/r/20261129184052.15594-4-qyousef%40layalina.io > patch subject: [PATCH v9 3/3] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq > config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20261130/20261130065142.jL2yjqPL-lkp@intel.com/config) > compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 04597ff5c4eda9d66da39a536aa26a7bab2fb2dd) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130065142.jL2yjqPL-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/20261130065142.jL2yjqPL-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > >> kernel/sched/fair.c:7948:6: warning: no previous prototype for function 'task_is_throttled' [-Wmissing-prototypes] > 7948 | bool task_is_throttled(struct task_struct *p) { return false; } > | ^ > kernel/sched/fair.c:7948:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > 7948 | bool task_is_throttled(struct task_struct *p) { return false; } > | ^ > | static > 1 warning generated. > This was also caught by Sashiko. Below should fix it. --->8--- diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 479707e252317..ca1c3e2fce9ae 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -7945,7 +7945,6 @@ static void check_enqueue_throttle(struct cfs_rq *cfs_rq) {} static inline void sync_throttle(struct task_group *tg, int cpu) {} static __always_inline void return_cfs_rq_runtime(struct cfs_rq *cfs_rq) {} static void task_throttle_setup_work(struct task_struct *p) {} -bool task_is_throttled(struct task_struct *p) { return false; } static void dequeue_throttled_task(struct task_struct *p, int flags) {} static bool enqueue_throttled_task(struct task_struct *p) { return false; } static void record_throttle_clock(struct cfs_rq *cfs_rq) {} @@ -7987,6 +7986,11 @@ bool cfs_task_bw_constrained(struct task_struct *p) { return false; } + +bool task_is_throttled(struct task_struct *p) +{ + return false; +} #endif #endif /* !CONFIG_CFS_BANDWIDTH */ diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 40a39f0a2731b..ca2fefb0450e3 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -623,6 +623,7 @@ static inline int sched_group_set_idle(struct task_group *tg, long idle) { retur struct cfs_bandwidth { }; static inline bool cfs_task_bw_constrained(struct task_struct *p) { return false; } +static inline bool task_is_throttled(struct task_struct *p) { return false; } #endif /* !CONFIG_CGROUP_SCHED */