Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp216384lqg; Fri, 1 Mar 2024 03:10:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWdAOUu/ro+DECR/CUnp47hMgph7urLLaZ0SzkMiQgUObUNwPdyYEZhGXzPxx5kRNDBe6y+v7fno9sZWqLFkhnFs4kb29xo9+cbz99dHw== X-Google-Smtp-Source: AGHT+IG/5+SrlRkIGQ51kYIhgQpIPViTsWWD6G7zW010bpj2pkNg7PZl0c87BivUarL9D0i1kGF0 X-Received: by 2002:a17:90a:c784:b0:29b:5c1:5e05 with SMTP id gn4-20020a17090ac78400b0029b05c15e05mr1196327pjb.2.1709291406429; Fri, 01 Mar 2024 03:10:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709291406; cv=pass; d=google.com; s=arc-20160816; b=Wg360ja3Xi0dOTevG9XDKS2j4fNHejeVAWicZWf0H49zCBBWno6hsAqTmZmqfvc4nz wviv/FT+L7YFw7zkLnC3qMr8RFOQlXqG9WJz4rRqa/z6Dwac9Z7SeT6R7orcfdi5jtTp Ix5Gyu+K4gRa1xtQ00cGnqZPuaj4NHZe/go+lLkg7RHazxnl+crs96ppYxOMSmaji+zi y1Uxlf8FC74qm+u3K56aYx0Q7ZvMklBZiO0BOi9pXqTJxZfNqbCxkoyqJZ6fU3a+lJeb RwOUjenKStF87Ltvt1KK3MI0cDcW+m7yKdAQ9pxrZivuizPvZASvBYFNUiJ+TRYHLyyV n56A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:sender:dkim-signature; bh=inEwXSSczXs7mM8CKQWguv/JU1JLS/a7ijcZ6Yyg+2k=; fh=1xZ2Xkm2EmvJfcslDiEKzF4V2MCut/QeyxA5jmrN7us=; b=uWbvJV/3QIXgvadP/fTzAXNcxsMuivF2QPsxUAQ6MmVzXJkR2JplV3rtqynt5EJ5Dg IFP18Z4Qm5Jj3Ej2gd51B7FdA7MUZFubGR18IYPWNz4G5fD9NxtxMdw2KJbyi7vIQQN7 IfkD7itqqkEHyrckB4IcafBvvK2t0zA7d7qBXNZz2cQaCrF4pIh7yQ7nLn2bMTXDtsip pwtuZWmf4xiBAB2tFayg23ddwuej2CbgpX64IZaRnvhsSM6LXx+ySk8gvMasBvD4Wmz/ 2NlLedZzkmcTHYmYpiqhJ7PghNbP2BSoIoJIcV3gTZV7J70H4zo5ny9hWieHFqMhOt0I owDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kCedi0fD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88297-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88297-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ok14-20020a17090b1d4e00b00295cd8cf1fasi3581519pjb.178.2024.03.01.03.10.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 03:10:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88297-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kCedi0fD; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-88297-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88297-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2288828718C for ; Fri, 1 Mar 2024 11:10:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2C3B6BFDB; Fri, 1 Mar 2024 11:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kCedi0fD" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 64BC16BFC2 for ; Fri, 1 Mar 2024 11:09:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709291400; cv=none; b=mFiCVBGcFUc0nr0O+fT9FOVKiu/i3wkwEnmfI5YYL+oSOoEdw4cZthviB4V8hUu+8EpzBMPbJSt7xw8snPLebHFDh1whlfko71td/W7q4JMwTUJ1brfkqUNlU6s4Jufs5iLy6LP5he0GQL2blqi1gvInWbyoHTnx+1zMbIZYLss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709291400; c=relaxed/simple; bh=cIU2x/9cSdQPhUeeSvr7Kzw26igIgSSco/cPO4o5rn4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qCiLvTFKT1Qp8jOCbRolnbA3u6ZTtucoHDCb0Vw32RnrO7KQeTKMlSKDPXIo9nzlaRKmsHU1nTcL6Rqg342Ejq21aBCv0IM3FVtyF5GiCXO+UnL6OR+3+kbIs8djWy5RH6Kcm/EuaQB8Ey3WfPdOsCKL/7tRMA8BCBduK81PCYs= 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=kCedi0fD; arc=none smtp.client-ip=209.85.208.169 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-lj1-f169.google.com with SMTP id 38308e7fff4ca-2d09cf00214so22319931fa.0 for ; Fri, 01 Mar 2024 03:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709291396; x=1709896196; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=inEwXSSczXs7mM8CKQWguv/JU1JLS/a7ijcZ6Yyg+2k=; b=kCedi0fDb0TpkCq06bfYCzw4dHhd2OxwAM3CL8kmHaqmIRywBEQgEQQ+zSOnNp8wL5 gY3gWUmIwo8q4QVe/7ZnZI8Ij0cMimGtO6A1raOkDN410MjduoaCRxNABSIae74UIhFl Nlw8Ux0wO++aAxn/4MDlHAJc2XGluTUzXy4MfvU8e1DrumkamLjEiVK6k9Y29RE9j7i6 eynQJdMAdaJ5EbpUD/1rKO0ZgV6mHooG2RtK7p2qdph3P0Uv9n/cP8sOBXw5IN1OcY7d blTHMCWO6LGAiHnD61JWKkVrzCtWy9aP3QFDNDrvXrr8wardyU0Bz8QDyaSV29ybwIFs Tgyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709291396; x=1709896196; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=inEwXSSczXs7mM8CKQWguv/JU1JLS/a7ijcZ6Yyg+2k=; b=pHZ9lO+20UN3MtXe4uwuIbbUrT0sE0zzjsKN5Ps7rgyN9kGYfwBXwPe3vNVHbxIZ5j SKXJqaybjePzrCMRrW2I0xQelGvZRJAsp5pFDLj/t3HNOkroRmx73FZGfK2tAmXNBs0T Ls3PFJp4/0xIImHrtvKFpqiiUrDIRBzlbgT2cBDP+7Ced48Rjc3NKgH8hKfT9iFq9uQL kh/S+b1cRVx9j2dkisOw+BXM24hvRWoZ4o99EMKqhDtzsYiVLzcL9HlD0skYtvjjtPkP RJwrpQ2Ae+zHW4tR1tuEFWRI7WcbMWkmD99JTKJLQqkZWYuOdiRS+ViJfVjQgjQcvAE1 7AUA== X-Gm-Message-State: AOJu0YyNsaRK3f9dosFa3etWEUs4Xco5pf/VoosHuGvsSW94EMUMyAYM s2b3/vXQgIcEjI/+TkypOHcCOwE4qdxefPe9DTuVT4aP0gLrgVlwb81wCyQjaIE= X-Received: by 2002:a05:651c:33b:b0:2d2:29c2:e7ea with SMTP id b27-20020a05651c033b00b002d229c2e7eamr924831ljp.24.1709291396199; Fri, 01 Mar 2024 03:09:56 -0800 (PST) Received: from kepler.redhat.com (1F2EF13F.nat.pool.telekom.hu. [31.46.241.63]) by smtp.gmail.com with ESMTPSA id b20-20020a05600c4e1400b00412cad66f8fsm490264wmq.44.2024.03.01.03.09.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 03:09:55 -0800 (PST) Sender: Ingo Molnar From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Linus Torvalds , Valentin Schneider Subject: [PATCH 0/7] sched/balancing: Misc updates & cleanups Date: Fri, 1 Mar 2024 12:09:44 +0100 Message-Id: <20240301110951.3707367-1-mingo@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Improve a handful of things I noticed while looking through the scheduler balancing code. No change in functionality intended. Ingo Molnar (7): 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/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' include/linux/sched/idle.h | 3 +- kernel/sched/fair.c | 104 +++++++++++++++++++++++++++++++++++++---------------------------- 2 files changed, 60 insertions(+), 47 deletions(-) -- 2.40.1