Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1914231lqo; Mon, 13 May 2024 02:11:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPqgyEEnx5MSy9Bav5afOmZ66DCwO+G9sh7R4BIOe3OWMv/b1oAxh8Wix2MGVrjALqhm7kX5DFJcSkzarH2g7Z7rgKCKRldBplzFsrvw== X-Google-Smtp-Source: AGHT+IG2T5lccZ3sujT0JtDUc/H3ySyhwdobQcPDY7stXYJXwWnkCB74ng4+QZU8ute9I9NNmgGX X-Received: by 2002:a05:622a:148b:b0:437:9875:9905 with SMTP id d75a77b69052e-43dfdb49768mr99521391cf.27.1715591463986; Mon, 13 May 2024 02:11:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715591463; cv=pass; d=google.com; s=arc-20160816; b=Di0a2LX5M5d0T5DSUX07hvu6HFjpjLcchVpijZN6sn/rWJJTt0b6YFD8xlAa97Et90 R3XFgCS2q1KNRYQpogOo9uvA1u+p8MlOsEu5TVwsFcRQs5jBzBHJWCJQXsGc2GIbq8FD G6PnBxRNkS/qZKq6wJcSybi0Lq123A9kRuhdieZFPN4zenLaETW2HdY0WUE9xe/buhIE vVLkpf7JtIhHULEuvKn8oez5gvkS8kEBcxtyw2x0LNExxiSPxqenXMLZDKb429m0a6PS gWoaPwPdgC3ULeZgF4M/uIygBuUqrWvGGmOj4wvUR1olCgNi6D2o3yUttO29NOfVB+7n +0Rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=ne5ALsr+uIXtyKGw+qnsLVKR96q7nxmFYmWh1as35WM=; fh=bX2QOdD6yLjwnktG11DX7rt7rFMFFuD/FDRsb49ScMc=; b=RNZ+R+BngksBFBUpL9/zY+lQeqgaNhs36JyeaXLifKkVPCcx3tbblwxUpKB1k/cPKY plExdLujqjLPanlO6ZcRxxjc3C0gj877Wf8PB2+r+y5jrmJIWtmlhCp2PmrFQqZCM/pX CwJmIbSgGybcDHm7nosZSp47F0AW6kksgyGJJE3bUVHhlB+SjARGKXm6PP1BordgLNDY 2vY3rj/oEvUl2Bu7xoagPLOwaQftkFFTsV3e63H0tJRYwSSmOHF8OjpFDqzgN2va5Ina tJDP//ExL7y5KYGiqQ7OCRYobqHMPWGGIx9l1ZXSO9MhTqTA9pDLdXca91qog0FFbRJJ IZsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IBzkqIMn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177388-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df56d40fasi94206911cf.674.2024.05.13.02.11.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 02:11:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IBzkqIMn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177388-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177388-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A3D351C214D1 for ; Mon, 13 May 2024 09:11:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36E57149C4B; Mon, 13 May 2024 09:10:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IBzkqIMn" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4467B1487EC for ; Mon, 13 May 2024 09:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715591402; cv=none; b=Zhx4bMP22RXt1kazNjA8CMQWYhRp3TfG5yFmVXH/gmyj8uU51dcyZW9NoZuwpKOfgwEyLZ6KjAApXrZCssVV5atLpu4iqSevx1o2bA8Mr5pRzwPjIKiTNDMxfazm4R8lPkB+whTi7+9sJlt0OdqbiwSTqHExI75E1XmcKmFU1UE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715591402; c=relaxed/simple; bh=MvnsIUTYIx86qi1UwqAPeXoIBqXgyya1HBN7fah5cvg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a3XHgCaSZ4P/jWfrXbemLi1UAcdIm9M73t/lXVg7uJMGRZlZGCXwBlF7rkPf/1WJRs0nR79Tq7KVzW9ydTQOUxxYKXL9QMu5x0xRJMGeHq+MGxpTTmERV1gzq89Xg276O4tc8ofXmgX6OqOAR4qCoW5xBjnRwVsNqTR2PWZe0Cc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IBzkqIMn; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a5a2c05006aso358864066b.0 for ; Mon, 13 May 2024 02:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715591398; x=1716196198; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=ne5ALsr+uIXtyKGw+qnsLVKR96q7nxmFYmWh1as35WM=; b=IBzkqIMnYqqFlZhlNh/MbsfN7tmIop8r2c5ZB2fqQFhMWIkEedI/wU2onzGHvZv4zN UCX6q6wyPlo+XREoYhBhAfTIBYvZRzlNzazeOWvtg7gTWHgxM99+78SG1W/1iRTGL2pv 4V5np1FjdfT8KxeaAQjfVqhtKMQ8mDsYvbMc8Gt/t7ImZ0Qlf6Q3+1w1l+7rANEuHFyV BzrIF2bi07IkmzMiX+OXlHnHllrdsRmyeui8v1Vm0Xmw+q+bS0oMwbN6nLP65ryor0oJ VCfzYtquTbv4emXc0cq4TASiKoGCkDDuueH0n8XN2aORBcgbD0WbFSk0TaoSyo+HKpWl bZWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715591398; x=1716196198; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ne5ALsr+uIXtyKGw+qnsLVKR96q7nxmFYmWh1as35WM=; b=C2payEZQe/1wx/73u/6XNOqTTarwMOvwnAkLedCjRMkn0Ig7Z3EHPytNO1XG8dYgcr Y5KySPUp1mSV+y3ixFcAFzlE+iN3VDrHmoQmQ9bbMYHQRf3FHHoynwqTS7WEcxcFs8Bu HWGQZ7X/9zAWTbizuAXZIpgC6L3/jFX0k3yD/Hhar27mH6kybhwcViAOqwH0uiMKjMlx NvXv1g3QPdaQB+AQ9Z6Bp0v9ZH6HowbzRghmu/MRCFh+YEIB9PrWfpPPUhIPVHj5yW50 KP80Dwo7xlIaswj7OYKCOuZIkrU5vaufaDK1bnRLJWc8tbAX5typkuWuOTTpDyhoRUkp hBbA== X-Forwarded-Encrypted: i=1; AJvYcCW/oHxJ6tMGWuB7b44aAEODPP41Zh2K1HXprYRGpGd7fFDgCAQI2an6YxNnewmFh1yFxLIyKbOeWBvovqkoyzF9QHf2AKTJZ1QTv2gm X-Gm-Message-State: AOJu0YxT4N7SG2nkmwX7uEwgl8GmuX/7ZENKfHm0q74buraAslcHBLR9 2ESG1Evhz/fwUh/vsOWPrBHC7KNbEawxbdOLxen2iO+eAdZ8PVeo X-Received: by 2002:a50:8e59:0:b0:56e:10d3:85e3 with SMTP id 4fb4d7f45d1cf-5734d5c0f52mr7725760a12.13.1715591397977; Mon, 13 May 2024 02:09:57 -0700 (PDT) Received: from gmail.com (1F2EF402.unconfigured.pool.telekom.hu. [31.46.244.2]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733bea6592sm5933661a12.2.2024.05.13.02.09.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 02:09:57 -0700 (PDT) Sender: Ingo Molnar Date: Mon, 13 May 2024 11:09:55 +0200 From: Ingo Molnar To: Vincent Guittot Cc: Linus Torvalds , linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Shrikanth Hegde Subject: Re: [GIT PULL] Scheduler changes for v6.10 Message-ID: References: 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-Disposition: inline In-Reply-To: * Vincent Guittot wrote: > Hi Ingo, > > On Mon, 13 May 2024 at 08:35, Ingo Molnar wrote: > > > > Linus, > > > > Please pull the latest sched/core Git tree from: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-2024-05-13 > > > > # HEAD: 97450eb909658573dcacc1063b06d3d08642c0c1 sched/pelt: Remove shift of thermal clock > > > > Scheduler changes for v6.10: > > > > - Add cpufreq pressure feedback for the scheduler > > > > - Rework misfit load-balancing wrt. affinity restrictions > > > > - Clean up and simplify the code around ::overutilized and > > ::overload access. > > > > - Simplify sched_balance_newidle() > > > > - Bump SCHEDSTAT_VERSION to 16 due to a cleanup of CPU_MAX_IDLE_TYPES > > handling that changed the output. > > > > - Rework & clean up interactions wrt. arch_vtime_task_switch() > > > > - Reorganize, clean up and unify most of the higher level > > scheduler balancing function names around the sched_balance_*() > > prefix. > > > > - Simplify the balancing flag code (sched_balance_running) > > > > - Miscellaneous cleanups & fixes > > > > Thanks, > > > > Ingo > > > > ------------------> > > Alexander Gordeev (5): > > sched/vtime: Remove confusing arch_vtime_task_switch() declaration > > sched/vtime: Get rid of generic vtime_task_switch() implementation > > s390/vtime: Remove unused __ARCH_HAS_VTIME_TASK_SWITCH leftover > > s390/irq,nmi: Include header directly > > sched/vtime: Do not include header > > > > Ingo Molnar (28): > > sched/balancing: Switch the 'DEFINE_SPINLOCK(balancing)' spinlock into an 'atomic_t sched_balance_running' flag > > sched/balancing: Change 'enum cpu_idle_type' to have more natural definitions > > sched/debug: Increase SCHEDSTAT_VERSION to 16 > > sched/debug: Allow CONFIG_SCHEDSTATS even on !KERNEL_DEBUG kernels > > sched/balancing: Change comment formatting to not overlap Git conflict marker lines > > sched/balancing: Fix comments (trying to) refer to NOHZ_BALANCE_KICK > > sched/balancing: Update run_rebalance_domains() comments > > sched/balancing: Vertically align the comments of 'struct sg_lb_stats' and 'struct sd_lb_stats' > > sched/balancing: Update comments in 'struct sg_lb_stats' and 'struct sd_lb_stats' > > sched/balancing: Rename run_rebalance_domains() => sched_balance_softirq() > > sched/balancing: Rename scheduler_tick() => sched_tick() > > sched/balancing: Rename trigger_load_balance() => sched_balance_trigger() > > sched/balancing: Rename rebalance_domains() => sched_balance_domains() > > sched/balancing: Rename load_balance() => sched_balance_rq() > > sched/balancing: Rename find_busiest_queue() => sched_balance_find_src_rq() > > sched/balancing: Rename find_busiest_group() => sched_balance_find_src_group() > > sched/balancing: Rename update_blocked_averages() => sched_balance_update_blocked_averages() > > sched/balancing: Rename newidle_balance() => sched_balance_newidle() > > sched/balancing: Rename find_idlest_group_cpu() => sched_balance_find_dst_group_cpu() > > sched/balancing: Rename find_idlest_group() => sched_balance_find_dst_group() > > sched/balancing: Rename find_idlest_cpu() => sched_balance_find_dst_cpu() > > sched/balancing: Fix a couple of outdated function names in comments > > sched/fair: Fix typos in comments > > sched/fair: Rename root_domain::overload to ::overloaded > > sched/fair: Rename {set|get}_rd_overload() to {set|get}_rd_overloaded() > > sched/fair: Rename SG_OVERLOAD to SG_OVERLOADED > > sched/fair: Rename set_rd_overutilized_status() to set_rd_overutilized() > > sched/balancing: Simplify the sg_status bitmask and use separate ->overloaded and ->overutilized flags > > > > Qais Yousef (4): > > sched/topology: Export asym_cap_list > > sched/fair: Check if a task has a fitting CPU when updating misfit > > sched/topology: Remove root_domain::max_cpu_capacity > > sched/fair: Don't double balance_interval for migrate_misfit > > > > Shrikanth Hegde (7): > > sched/balancing: Remove reliance on 'enum cpu_idle_type' ordering when iterating [CPU_MAX_IDLE_TYPES] arrays in show_schedstat() > > sched/fair: Add EAS checks before updating root_domain::overutilized > > sched/fair: Introduce is_rd_overutilized() helper function to access root_domain::overutilized > > sched/fair: Simplify the continue_balancing logic in sched_balance_newidle() > > sched/fair: Combine EAS check with root_domain::overutilized access > > sched/fair: Check root_domain::overload value before update > > sched/fair: Use helper functions to access root_domain::overload > > > > Vincent Guittot (6): > > sched/fair: Fix update of rd->sg_overutilized > > cpufreq: Add a cpufreq pressure feedback for the scheduler > > sched/cpufreq: Take cpufreq feedback into account > > thermal/cpufreq: Remove arch_update_thermal_pressure() > > sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressure() > > There is a fix for the one above: > https://lore.kernel.org/lkml/20240425073709.379016-1-vincent.guittot@linaro.org/ So this is a cleanup in essence, so I delayed it for the next sched/urgent pile - will apply it once Linus pulls sched/core. Thanks, Ingo