Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp683933lqc; Fri, 8 Mar 2024 08:45:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUZ1LS7KqIoEN9evtnOBB94tpLRTUk4fa2sCbwYugp3AiqsFLwfuVNJKVJR4Z2hB7hLjoKhc0WrJzZ9epLzXvrZSm6MfItJsv7/ftBgTA== X-Google-Smtp-Source: AGHT+IGVnVbE5ySudju36zhjW39Tfpp2izZy8axbrBXDnvNIKniebf2Q8DlpNrMSMTeHjU+yknAE X-Received: by 2002:a05:6a20:8401:b0:1a0:a438:f161 with SMTP id c1-20020a056a20840100b001a0a438f161mr13500110pzd.25.1709916340780; Fri, 08 Mar 2024 08:45:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709916340; cv=pass; d=google.com; s=arc-20160816; b=ERNtR8gZuQh2oj76sWC4HS2Vofag2vNOaPDpwvSI5Xjyh5OlrhsCj5ZFysX3q4K2yb Q9XnwxkyjJSwil/IaL3qoRsIpxr4kRInJ9JpDPzsSISpYvefIaY6aAoUiaxGlCEyojUb aQNR6j8IvUTkbfRvFrVZGltzHuaF+TfBcCN6VaLS1m2otgwkVVVOFxsZZpy26OIMXJYt KKg3rhZPVMi7qXCYFGSCPijFQK8RJFhwi+8RoxmOUtXKMMEtRYImPj8FQs6z2mdkJ7eo AGtPyg55cv6FeEuYubJX1Yy38Ib2onbQwr2ZnM/PbZT+8Vbqpf2mEln6MuIew4kxDYeJ sw7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=SNxpcJwkq+8jphHfIqHRAzoVt7usXLxm4Lf9RfDpJUs=; fh=LUoYeNsHsh8VXiaX8RknGVeEMOxDRrfnKRe2NBwK93k=; b=I/cdq8G9jTx9B+tft5DDyp8bBPUdjgJ+8KXokUB2L9sFpl8SV7iX4G0a6ipiwdhrZR ZqBQz0VR6/wGac+1m5z8JVSMo/dNcvB3txOMx8ODvAVL+fm1Zl6Pw/E5dxx/A8pFoXfl dWwfA6b5SbmsuXaQXLiQeOAtzlInkMp3dUWyEkYvy5iNfC0NoItyWez0gk/b+f559rAU AtaHd+b/XmqIJPPpBB11XpKmlwWW+/HfPy6zZSmVb0orP2scEc5tRkBltTDpQNC3rYzm QQv2o6+hqr0t1xpwOh41eG8CStTts7sDtGf2gPQmiWy41wbx45uj3sGmD8lbhEfsGPUZ EUCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gPv69Igo; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-97319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 185-20020a6301c2000000b005c220a94525si16010292pgb.90.2024.03.08.08.45.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 08:45:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gPv69Igo; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-97319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A7CCBB2249B for ; Fri, 8 Mar 2024 16:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9A19179B1; Fri, 8 Mar 2024 16:45:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gPv69Igo" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FCB479D1 for ; Fri, 8 Mar 2024 16:45:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709916317; cv=none; b=SNR6Z92/KB0x4XSjd5VWLIYmyIimMcOEqQ2trs6jsjJ/BD0yuDp6PACEpCzKpePWgpyYXMSPxLeuCc8SpkHQvg9v4YAF8uDPQn0vcrLJj1gnAJkCLM21JFbI6t+fj2tFELTuyCorYjelsJ74iNwor9d0aw6yk1Cm1CZwc2kwooU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709916317; c=relaxed/simple; bh=nN+2s17bGMEvoQuaiKBlF3P0GJo2KMa8vWaEHh8JXO0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=eli8N0+dv0BFyH9j4jLY/QmEf5i2GwZDXKO7Z12pFqo30OvR9I+oDnF5ldbVrGxcbaXT3ablEIopZj3Rj2ZoO2yKYGsCWSphd0P5BNweAtTsb+znyR0A/jvA0zGy+Hdu0Kb6PoVp2tkVFk7jUgE/WJ6sYHytvZxlINK7GecAfIk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gPv69Igo; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709916314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SNxpcJwkq+8jphHfIqHRAzoVt7usXLxm4Lf9RfDpJUs=; b=gPv69IgoYgQd4iLgLtTDi0GaQPu0fH3znAL5vaIzvGFMwWEJ4WdZC1caBj6Ea2fhUi3Bh5 8oTMtbunOpL6NVYZ+LkcPnEmKz6lC07keRDLhw+CCs/tL2/oeJO5Tbys+j3OGyefIL7hIQ MCHVmbEBiFueJ0u59cgRMlwFxrpUdBw= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-18-GdfhrcdDNE-KRJeQN7KCAA-1; Fri, 08 Mar 2024 11:45:12 -0500 X-MC-Unique: GdfhrcdDNE-KRJeQN7KCAA-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-5133f5243d7so1169490e87.1 for ; Fri, 08 Mar 2024 08:45:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709916311; x=1710521111; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SNxpcJwkq+8jphHfIqHRAzoVt7usXLxm4Lf9RfDpJUs=; b=SJAxjU66n7PWDE/Z7pdBdRljsMtgrZD48iXX+vJaXwXmEt/2Pnh3Lj/F1jwXEMeMCH C4KaE18F/NKKCZK0NVgm7chv00kSfnD6kltVoRmlAYfKPB5jqZiUDUnkHJRqQXeddSxV 3n5Vxxp3j0HKUO7oL8bsZBsdEDVf8NbF1pl/ZilKl3s2l8NZgJ4oqYLNrPdRGC5tprJu AmoKI9ANfjWAWQM7y/ZwCHwR696uLLhJnyA2yAWGcy/BP09uJCHFvS6q4MADeB++5QBi +rF+dqBJuTcLtQ+iXUXvdfQsLCQ01trj5QpfvuHvyxBmegSDhltsyVNIUjmnNLHI5kBl f72Q== X-Gm-Message-State: AOJu0YxvWT/9RcXKS+28/60ggmpEbGQUkE9teB3Mf/pckPaeOW+1Rsng v5xzDOigMJLixm/6ZchMshUUdysiEOtEhvPozq5cZUUiRNHva/X/9nC1SxSM1NImZVIZaLXY/dR Czp8h+ThRJVmHMlUbz0TdvKHpDw3g58ZqNA1ygU6U8TFSO8DWZDY3nVubDXsVAA== X-Received: by 2002:ac2:4e09:0:b0:513:4495:7ccc with SMTP id e9-20020ac24e09000000b0051344957cccmr5153330lfr.16.1709916311447; Fri, 08 Mar 2024 08:45:11 -0800 (PST) X-Received: by 2002:ac2:4e09:0:b0:513:4495:7ccc with SMTP id e9-20020ac24e09000000b0051344957cccmr5153312lfr.16.1709916311104; Fri, 08 Mar 2024 08:45:11 -0800 (PST) Received: from vschneid-thinkpadt14sgen2i.remote.csb (213-44-141-166.abo.bbox.fr. [213.44.141.166]) by smtp.gmail.com with ESMTPSA id t8-20020a05600c198800b004131b2f3958sm1722950wmq.13.2024.03.08.08.45.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 08:45:10 -0800 (PST) From: Valentin Schneider To: Vincent Guittot , Ingo Molnar Cc: linux-kernel@vger.kernel.org, Shrikanth Hegde , Peter Zijlstra , Dietmar Eggemann , Linus Torvalds Subject: Re: [PATCH 6/9] sched/balancing: Update run_rebalance_domains() comments In-Reply-To: References: <20240304094831.3639338-1-mingo@kernel.org> <20240304094831.3639338-7-mingo@kernel.org> Date: Fri, 08 Mar 2024 17:45:09 +0100 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On 08/03/24 12:57, Vincent Guittot wrote: > On Fri, 8 Mar 2024 at 11:15, Ingo Molnar wrote: >> >> Okay - I updated it to: >> >> /* >> * This softirq handler is triggered via SCHED_SOFTIRQ from two places: >> * >> * - directly from the local scheduler_tick() for periodic load balancing >> * >> * - indirectly from a remote scheduler_tick() for NOHZ idle balancing >> * through the SMP cross-call nohz_csd_func() >> */ >> static __latent_entropy void run_rebalance_domains(struct softirq_action *h) >> >> Does this work with everyone? > > yes looks good for me > Ditto!