Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1251146lqm; Thu, 2 May 2024 09:09:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYU5vTb3T3wXdpnHR6zl8nf7wZw8RIvHmkgyhUdy5FvGrmp6FRheSkGBmvbdgYM1shHWxQ3rbAZ9Os0MzUbqE2rHhA2Z3OVNs0GBWNXg== X-Google-Smtp-Source: AGHT+IHOY47MP2qfDN346doQstYeyEpw1Th69X0GanAk1CFOrLC2X36ryODtuMnoKnG+FAf3ZGpR X-Received: by 2002:a17:903:1247:b0:1e3:c9f6:c4b with SMTP id u7-20020a170903124700b001e3c9f60c4bmr152424plh.10.1714666150620; Thu, 02 May 2024 09:09:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714666150; cv=pass; d=google.com; s=arc-20160816; b=AqOzbFsIX4w2lll+Dif7X7HJR2wev0MtVV6YPqChzJrw+OC1MqmPpaVcu8ebJFGUMi 7adKVxASRuvhMNCi5o6MeAcc7Fap0VMmCgGe9yjPUtmFC/zk3M3vW8TlztMuMEbVZhFO TeYlUOcGokyv8BzXSm1Xteq1eMV814VAsjJzTmTWMA6YMQ34DejYnhQ7pH2txpDUsE6x 93yIDsc+H1v3eIkv9eD0OAUBMJw8wzih8rU2K5IvSNVNI+MTQAarqQnFwDO3cvzBIVBI 2xdbjEYIiaodZNBCNV0f3b126ZFGwC8uwWDwMHPGmESXmqWBk/i5VnUKhyGu0EFEk7lC BV6g== 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:to:from :dkim-signature; bh=i6edyJ6hV9TOHyvn25sORnvTBodZ76gZq803uAR4x1c=; fh=rjWMXssOsMw5YyayY/pl1H1+m+yl0ajI6vN2CgZ11ac=; b=u9ghkYm/LG4Y7FERVqjh0ZrV0YU3uPx88wY88fA5jqIDLliba3859J/lLfV5GBqEWa qjpFRx0gE+FZXpqrDmWErixNPiusTqQopjkRwuo2GXG7z3W0Q41uerHRkrVvIYJcy1f5 0g40MWipCdCpcCBuJqNEWSCLh9pyaX/QNUsncaxmDhKbec83qD4upJIYaJ0YEPm4vxl9 VOJRiujGspcxn6/xlB3SgEuQ59SZ/H53n1O76K8jxSnhkvXxu0yUHq+N7der+HV3o2x+ 54SiRRGCSrn4dNOFc87xNehxAKXELjWoGm79NEPDiQQfUr29jjGMYabCuFsA4BCxTrb1 Wwww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Hm7t2+EC; 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-166677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166677-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f8-20020a170902ce8800b001e2a7f5099csi1283732plg.275.2024.05.02.09.09.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 09:09:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Hm7t2+EC; 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-166677-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166677-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 17BB1B23E21 for ; Thu, 2 May 2024 16:01:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3710415CD52; Thu, 2 May 2024 16:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Hm7t2+EC" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 F29F715B96E for ; Thu, 2 May 2024 16:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714665679; cv=none; b=bXIERlaSJSPccjmJ2fMqwsCItoUlb6DW7dc8/rBQctRHie+W5aag+8OYoRaT/UHqa8xdiUkXN0iDgTUeAh7ImnaR8elaavZ20LrYBWX98P0TCZHDLqbSB7ev2EnmJO/m2Cx5efgXf/iv0M/aZq4Kf9hCI7dg4EQ06GrXDDTJOIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714665679; c=relaxed/simple; bh=IhD0rDHV3h/lBf5nlZl3DpdpV0Xin40o6FVukWjfTBo=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=POd96Rkz49quWIasLIYDGE1Y8ggNGu2aghFyysFNfxw5lBZSRrhBz1cT06YS22EMOp5ziszH+YCE54lN2kWy4Jp7duht4CQrYBvureGH3NvPc4NLpA3fYZ8gENweY1hSYD4YYxRLE0gKG6GAT3LZt129itZrxUwmwWkPG7T7PuY= 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=Hm7t2+EC; arc=none smtp.client-ip=170.10.129.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=1714665677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i6edyJ6hV9TOHyvn25sORnvTBodZ76gZq803uAR4x1c=; b=Hm7t2+EC8xKCCYIWNze5VIsOuV0wrH1dZylScwvB1uW9iZQfvQqb2bDjrnS4VZgxnA6zF2 GLL62vAsPoVdtfqrDXa3gMJePA19z8to43FpLCIHktZlR6H/cewa+LU4QR7sNrBLNpWJon lnmzTd4Ds60oyPs0qi65eRWEJlnY0BE= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-397-e0xI79UIOu2RLzurCv00rQ-1; Thu, 02 May 2024 12:01:15 -0400 X-MC-Unique: e0xI79UIOu2RLzurCv00rQ-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-690dd4cf6fbso78925696d6.0 for ; Thu, 02 May 2024 09:01:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714665675; x=1715270475; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i6edyJ6hV9TOHyvn25sORnvTBodZ76gZq803uAR4x1c=; b=TQCsd0tdkO5XDdWY/YhOllJrnQ7e+zeqPX61tzj39VzLeBUE05eyJCwKIuL6HwEB+H Tqa6uUdrzt0YLnRwWBBvZV4JErQVz4oi9gxnH98Y5bi0cFMi4yO1lK93S+hIj+p5aYnZ rUwYSZSnLVJF/fhQb4JiWVy61N8S5KeIWSvtfR9cuzC5FboNVIImF4vEIMvA6dErPsMM kaRdFXP4EI0G9WyQ3JnG1iF5dLDrsBB+rrxUBh6QGwWARARQCkviLIlTfdFgNg4NJcEZ j8eIzNuL0WAwjZtHAwt5m3XDZDMrOv5xP5YhNErm9v2YmPq/m+0/q7eTz1zB2EZzVfkx U4fg== X-Forwarded-Encrypted: i=1; AJvYcCWGp8cYJuu87Eal1u/y6Wp9tqbxfBLYeo66cZGreTYjPMVueS3qFMFgt9ZlfJgwhKUEpvc7+kRIscTzYfO7IuAInN65PSRzgmiGpmDB X-Gm-Message-State: AOJu0YyZqnD8kdosQU6pX+7X2LvdGQFsb82cVtcbF5u5/gYMaDcL+/3j fVMKeLCZ2XFgGEgiSRXmT2Lg8NFTKwpR85aaME2MmRAnnFWgtLDlV8AH9HR1+HjABbSY4zMVrVx D/rF3+x8/g6n6RgXsEEqdl4OoD2H1tXhH0RTIrHqHrf0CVjFWVrS3rU7eiSTX3w== X-Received: by 2002:a05:6214:2621:b0:6a0:d581:921f with SMTP id gv1-20020a056214262100b006a0d581921fmr7080153qvb.42.1714665675065; Thu, 02 May 2024 09:01:15 -0700 (PDT) X-Received: by 2002:a05:6214:2621:b0:6a0:d581:921f with SMTP id gv1-20020a056214262100b006a0d581921fmr7080061qvb.42.1714665673719; Thu, 02 May 2024 09:01:13 -0700 (PDT) Received: from vschneid-thinkpadt14sgen2i.remote.csb (213-44-141-166.abo.bbox.fr. [213.44.141.166]) by smtp.gmail.com with ESMTPSA id j2-20020a0ceb02000000b006a0cb1b9dfdsm452229qvp.5.2024.05.02.09.01.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 09:01:13 -0700 (PDT) From: Valentin Schneider To: Vitalii Bursov , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, Vitalii Bursov , Shrikanth Hegde Subject: Re: [PATCH v4 1/3] sched/fair: allow disabling sched_balance_newidle with sched_relax_domain_level In-Reply-To: References: Date: Thu, 02 May 2024 18:01:10 +0200 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 30/04/24 18:05, Vitalii Bursov wrote: > Change relax_domain_level checks so that it would be possible > to include or exclude all domains from newidle balancing. > > This matches the behavior described in the documentation: > -1 no request. use system default or follow request of others. > 0 no search. > 1 search siblings (hyperthreads in a core). > > "2" enables levels 0 and 1, level_max excludes the last (level_max) > level, and level_max+1 includes all levels. > > Fixes: 1d3504fcf560 ("sched, cpuset: customize sched domains, core") > Signed-off-by: Vitalii Bursov > Reviewed-by: Vincent Guittot > Tested-by: Dietmar Eggemann Reviewed-by: Valentin Schneider