Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1244698lqm; Thu, 2 May 2024 09:01:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZNpq19xsea95H2Yi4vJPcmIVdyDo6E6ahUO5agSn9DPERZaP4InZRsczME2Ommq9JM9+pfkAzc+P2FV3OuP/XO8OnZze4jk6d/uJNIw== X-Google-Smtp-Source: AGHT+IEwBqYxEr83r/QFPxmTKkC5fZ34r4qIkCyB2kLx+qgJUyuuW3i/U8Mb+YSEFDc8OYDiSXyg X-Received: by 2002:a54:410d:0:b0:3c6:1510:f35a with SMTP id l13-20020a54410d000000b003c61510f35amr316479oic.9.1714665706507; Thu, 02 May 2024 09:01:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714665706; cv=pass; d=google.com; s=arc-20160816; b=I5QvMl5WRZfS0UYMace6Lxc0Osxnvc/xAjaP9zqnt4Rei+Bylys5m2g66SY/uMIbi2 dW8mzTtAph9WahDm3HjMyNFOftKub+1E2JRbW53HqSgTXxu3c8Mankq31jXxA9Qe/bbM 7usGB+2UnyaObmxhnLeVotxfCezFQYg390xnOkpuFsyExoZEALDaIVkGFsZQKTr7/zv7 oHQxWSaREMn6axbfsFK5pN9AbyQlqVE36SWzZYUEXHCn8JSsszqHWKBjgFM1buJ+JfXa nWyMlZHatUq7c/7Rh+jv3XqSib8AixbD3ZY745W2lu/OuWMaM3EkioC4ajoCtNPvlljy mkKg== 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=hZ9WgVxz4LHuZQRg6XFiyFuyNDv7J6W0kpPGWPAkj9M=; fh=cS92ujSZPaCl4Md5kO08dQSjujfXN+/J0aosta6mQRk=; b=EaeZ5Tqp7DCqZuUdiRjXVk63FHp/RJEMca0V7cU/mMlKwsRjsx5eZCLNZR0O4juMZM u0NuOvjDAQn4qEq9yreZi6C5HFekOJs9G88H3tOjvL/JDGQXlMvPxTt/hCuebziN1uvK UTns7HpWbzvhn8qyBf8vc9ZmWvK5P2YwbLLHMCEWnAIa43Jg0ZRhwAKjPbdBoPV/z4Qy 61pnAGOiw8T1MzV7th2LFnk7FUPRL59sjIXejESG5FrRJoPWDVS/9RqPo2AJvY4sp1Uw NxahDQ+WguYcKLzbxHey4eg24PjDxezmYDRG8mBIsTmB84AEtRqNeGENB2/CCus118eO QCLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NAhZEWjE; 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-166676-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166676-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b8-20020aca2208000000b003c704ceffd0si481735oic.130.2024.05.02.09.01.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 09:01:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166676-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NAhZEWjE; 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-166676-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166676-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9EC70284A2F for ; Thu, 2 May 2024 16:01:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 308C115D5A4; Thu, 2 May 2024 16:01:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="NAhZEWjE" 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 C079815B96E for ; Thu, 2 May 2024 16:01:10 +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=1714665672; cv=none; b=h0K6o2cfBqqA3h+G3m6LtvUyVl96lr9jxOdgTkS8IBRRphjcIe4PMqku/U79w/S+CygEMGKTJgd+XS4AXDqIeh+CtEwu8f0W2VQmWUMfaWMoTlpE3Rd1//bTvE+dcMY77r0bxCjn9d0RQIMINMl6iuFK2dQinjUCYjd6IPlL4iA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714665672; c=relaxed/simple; bh=hZ9WgVxz4LHuZQRg6XFiyFuyNDv7J6W0kpPGWPAkj9M=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ljLtdIo1HqsWZel2ZeyvOdBp0lf634SV4e/uaF5ZnV622IC0hlH0v4IqguW0VIK/BFojrNERyECaYhEf6ljp54WIULgE52M4n7bXP3wUxVmSARwlCBSB8yXJ+GJ5dQilQOZf7FEBcDUGsOAkrmKhwMUQ+bgFas7+EkrGEDGGlac= 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=NAhZEWjE; 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=1714665669; 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=hZ9WgVxz4LHuZQRg6XFiyFuyNDv7J6W0kpPGWPAkj9M=; b=NAhZEWjEBNg090j+agJndMk9Kx3fGbqlMdK3P1qwVknoMU8Hf0V/ns1GD1R7w4XkF5DcQy hHNLTD/cHfseKrwPQqbmB7QAtM2JaezWlmTERTMZxUJcbPbG1PSgV2YCirgxXeCwUx9Utt iqs+O513KVZD5IbEg39WF5S14yymmqs= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-201-c0Ca2Y2bOu2jNHS96bSn0g-1; Thu, 02 May 2024 12:01:08 -0400 X-MC-Unique: c0Ca2Y2bOu2jNHS96bSn0g-1 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-6a0dc98dc24so35604196d6.2 for ; Thu, 02 May 2024 09:01:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714665667; x=1715270467; 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=hZ9WgVxz4LHuZQRg6XFiyFuyNDv7J6W0kpPGWPAkj9M=; b=iEqXhSHncsfMJoicX1/Imthgdbmp2rMRlog0MGtz5JvVqXjBdpYk/TscS+vEkhRBBX HukDWFxZQ2VULhi3rn6Sl5KPu8RJV41Vwje63rQPxUtjeIVQVqRN7isjswm7pcgkZVkt U4t6HT/14xDGsYk6x4MZYBZIMzU02cahqJ6kh2ll7TSIqk5S/Jj4BboXuI8rt6CX91DT VFcCe9WBexPrTaBB2Ko6yl3RcGdxIKlksMrGRicRltp8LKDOjXNs5mWBeo4WlpwO09PF UR7HDqBuuc9Do/wPpn3+TMhD01WAq4OkeGA8AxHnay1QMWySF28aSY7cLbuS1d6O74ko W9rA== X-Forwarded-Encrypted: i=1; AJvYcCVm2TflhsCs7btpF1sFpjI5DU0AhEpIHNdp7J5h5UssXkVKL0QMZRviqlorvHu9YS3NhtR7rWhj25SLmcbZDslkhk71AY90Ddqc0rDj X-Gm-Message-State: AOJu0YwvEbM6vPHsWqimoUHGahtSTUuxyCcq+flr3PARSeGcgeiqHwaK VL3RU7jX15XsPm5G47xeFlIE5FAenMPU4C1xLtk6Mnkb+pg+njIvkSubBlUNu6mru6BuIrEhbWb FXEAP8nKNi9i9wWMwTTZqS2LXYIa9hy0V5UzsP7NFjdZTlSNkd7Ch97kUNbOzmw== X-Received: by 2002:a05:6214:260d:b0:6a0:c9e5:a15c with SMTP id gu13-20020a056214260d00b006a0c9e5a15cmr2946436qvb.63.1714665667099; Thu, 02 May 2024 09:01:07 -0700 (PDT) X-Received: by 2002:a05:6214:260d:b0:6a0:c9e5:a15c with SMTP id gu13-20020a056214260d00b006a0c9e5a15cmr2946369qvb.63.1714665666105; Thu, 02 May 2024 09:01:06 -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 k9-20020a056214102900b006a0e6ffd710sm449692qvr.97.2024.05.02.09.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 09:01:05 -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 2/3] sched/debug: dump domains' level In-Reply-To: <9489b6475f6dd6fbc67c617752d4216fa094da53.1714488502.git.vitaly@bursov.com> References: <9489b6475f6dd6fbc67c617752d4216fa094da53.1714488502.git.vitaly@bursov.com> Date: Thu, 02 May 2024 18:01:02 +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: > Knowing domain's level exactly can be useful when setting > relax_domain_level or cpuset.sched_relax_domain_level > > Usage: > cat /debug/sched/domains/cpu0/domain1/level > to dump cpu0 domain1's level. > > SDM macro is not used because sd->level is int and > it would hide the type mismatch between int and u32. > > Signed-off-by: Vitalii Bursov > Acked-by: Vincent Guittot > Tested-by: Dietmar Eggemann Reviewed-by: Valentin Schneider