From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795995748; b=aUy7Qj9qGv/gCaloBKv/ezULm8iHNG7bdwyzi69GaQusECSFDiTq1T3AEJ0iM5gB41ux skVRRbbhtLDQ11QRmVS955eUR95E2K9b7VfA/lzSmDhj0k7lU9YqHiBCikAdWplexdGrL 3kL1mwxjabGzSqt5CJbt5zq6kr127Qc+vy7WiqdMdRWDD2RZKDwgNPMLrhPu7s+9wyait oTgd+aded3mnYez+H9VPANpCxXnlAvL3ScxBoECJimzTypkVJFx7ZBJ4UTxwvGjEH1soR ZyGcPIAglr/twI7Trpb4VqDBMnWDBjD5Tt3tkqPo1P8q5YmepTxnv7I3uh6CtaZqepA== 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=dL3QAdfKkH7rzbY1LKzXPew2UdxJO9h0NMwKMpGvBazucMngYjKZQgPEjI//qEsD9Rq1 Q8wgXK4a2FLWmGmb/5zpDj7WtwtCjILYMwbb9o83WKZe5p+PB0hP0V3Lpt7E04M3K/ni8 RnUj5/qAcJwK3UZ//G7eFse5Qqykx1SJo6bf77grtk4EfE12Rvr5qT6Zx4MK4udMQqdN9 RSguBkrX0wUMbdTlO0hpzvJFOuRbvpuRKQioFgpZx9TeVRaSrJb+yg4tpzSV7x2q4e+B3 GIHSdeQqSAhWKw3+WPgpXRHD5AyeiP3vl11q9Oy8tlPT7d8m9kohjRRsK1UFbQgAQEA== 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=pkyXssoN; arc=none smtp.remote-ip=209.85.128.48 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 20F9D606A327 for ; Sun, 29 Nov 2026 23:42:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 20F9D606A327 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=pkyXssoN Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4a3517554f7so88855215e9.2 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=vger.kernel.org; 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=pkyXssoN+Lz7LPTCvhUt5TYJ64b67/D8B6rp9EJOsyIyg63PSf/LpoczMqdD/DPDBb KZDJGHYnurtvTEDQ+uFz3yokLyOMSJdIlLYpwUJwmW62huQx2XR9CqYolySG1745W5BM sGukSI+NUwXJ7obkYqGd9ZiqY0JlnjaQfim5/Kd7IqSv6CWLfJW9US99hggh3zWGzISf rcfBgC2EG6h0Y+od3RvN0FPEh32ipUJKvADc6HZqSBuIgMOtHhg/R5s86f5eBgbmUtwn myFOquawlE2ezEV5u3jEYwj9MfNMAIc8YkFg/m8qnmmKb8oaWSzNaGs1uhIx2Vh9r3QQ LppQ== 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=TMvuYMY/mlEUozXIUHkXXGJy8k0DIEPTXEWdJNgjyv5hVTG5kFXggWfStOEeRtSqNp nVftcDc+BQdU/qYVF97CcHhWLpcoymqdL2fcft/hv1exT8t13kuNnTcpe6t/URLypO72 nu7gVWg+zd9q3TP5/elnUfUbBKihIt47120tDjsM2qv1WsQ/if3JB5Rb2J06O+lRdOse v4E+az2KFwWvrKPbAY/ts3Rcx9ILYCLCMZGKYkyTWeDJgESSYQ+80lYXMCnoDjilkTFO mLaWrljXo1fIu9W3+axw2PqPxf+AuiEkoz0l/rQPwrgM7dqfi+z64cYQNkbeKw1/G+lL CbQw== X-Forwarded-Encrypted: i=1; AL+hErFykalTcJpP0S6ZGh8WdLEnIE4WGyr62lRwhuBvD24DPVnpowVkOu92VqtZPrnESQNt1xafOU6v8AIMjc0=@vger.kernel.org X-Gm-Message-State: APuU4Z8kqOwm5jHHHVE+cWm2eUWTYbC+FpjB/suQBC6KM3OGybVG+loT Oca10A6vbo6U1/fQLVpQOFHhl8lIzQcIQSqCbtY9809AakIPhaMIxWR7v6S4EbiidCE= X-Gm-Gg: AZFdTZexgRy5skHWpr/EP9O4akJHo6MmLaUFqUJJ2+WLXpZ4Gifvi0QL4HasT7qO/4p cvFsDpIBQhOxv7zgwPuRCuqGXQ3IFaQbguSTGEnBo6WzN9tN3ZPhMHBiJwVCeh+855D1gLVVQw/ LU8j2QEmeJYDBqL7EsPYhqYBO+Nd9lChl0KVAfnK8az6PM4akZlWmlCkiraU+4On3OijOZsmB9c r3wnKXauFTE4jHT89Cx7jwQiuCa9n/lAN9Rta1OfmV7z/zIGKV3zyI0r1Ef/LRu3faS0Bgy+dvE GVGgBBoRrxOMyXTfTivCz9aIGsjoZEkPo3LE8wKZrnnN/ZqAfxKE4nJo5mjiLWT+mLXTLzqG5V9 zOgkPLp2xj35wX72zCAbcInVR7QqJlETN6HYo0xLLxfJxlruyhmU8MgU4CwHKimxFOa4FjEBCW6 kTL4T6Jjc2Loi1rqDE7XBk/7iQYu2wqHotp/CRn8PxO5Q8qyW7VuSCfpagM+WkcPdcgIQb8Ti23 dNyLWYPwT3lhEXb8uaaKapDdIeRZJ6OV4f/pGJHwDGZblzaNCcIyO+GbUOwFZ6cmqMaoJ2Sr61M oOfx8hz41qVxZJLcGK/sne56O8koBKvim0w0kU+SRifX8mCFZ+b8qOuBOOVJvbp171GLu9lYuyj glmombw7Jm/GwRKIMF8cXSxjCj8q4kA== 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: linux-kernel@vger.kernel.org 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 */