Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp874358rdb; Fri, 2 Feb 2024 06:45:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IG72z1pE0WxOLeZSpi9Z8VnFGINs76OdV6hgGzDqVsYvULqYk+337nuI+ldsymj+hX9igya X-Received: by 2002:a05:6a20:9c8d:b0:19e:4a68:46d0 with SMTP id mj13-20020a056a209c8d00b0019e4a6846d0mr2309817pzb.60.1706885111897; Fri, 02 Feb 2024 06:45:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706885111; cv=pass; d=google.com; s=arc-20160816; b=a6TIu/oXioXwFAfPUmTHcwx6YEOFEpaEtupWBXfhbN/DXZgpA0yiYEmh/asBVVSH2D 2WRoiLG4Ep+0bobJZfSo9z569LRaQMCtUAJ6o/SYxQJ4wGwaGqkmH7isdg90RSDy+irf dZH4tCD7uQZvx/D/1/QOGAlLBOuvCvs/cI71gRiNBYVhXgG/6G1A1jkhj0gZ1AepMrTA P/Kv/mityB7CfWNe/OY7Jk5/of4rbz0cIUW+F9jJ7rr/jWgQaO9nEH4m5p4qL6V/vzF+ jdX4u4W3Doal1H8JYIAQhe/nKskWrHlQJ9sBy3OLT5DIE4UOU0mk1EMsy9PxQs2F1Q5T vcaA== 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=eEGsZLjkUv6BEa0yzFDQ5+acv6od8EAIcMWVbjc/LKg=; fh=/iyETpFcMhCg9V3MUxnPt81nyMfS/iS9hPLry2JAP1Q=; b=efxnAQN5J9gPfUIS3VHCEQrBqgmQTUV8Cd7NSdaan68zI4jsmuAl48Q5DF/YsU68X8 xaXuMizcUugFGpg1R8tBSkBYKulPq78EY9GQlUPN///WQHwj6Y7TwxmS+Edh1SzfPhoT H+2qWAZ5Zz8naz9SxoCcZdIafMoixVIqVZeUA9Mar/6dvktI8DDwJHfE/RP/k2d/cSFF JAv9lIZUEJZ0RDswDdaoui4y0UrwSD9wgpDEZmgrF56QvEv4KDykTuna1u5WV0gbZjVc Abon47vz2uJBqRgHGGnAlhYV8KmfHQqltgDQospAYJ0EysbXwu9iWc3xz5y/J64smZf8 /FKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XMllNi6U; 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-49950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49950-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCU6la8FzmJdACI5Ei9e5wl93eshp3KNh29qlBd+pIR8rycOCBuWQG9QYAp7vr2YFiFA5PCgp+ltsHAaYfXh6derUh6taVb3VR3TiIELVg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b7-20020a056a000cc700b006de05fbca5bsi1683141pfv.17.2024.02.02.06.45.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 06:45:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49950-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=XMllNi6U; 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-49950-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49950-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 5B76EB2241B for ; Fri, 2 Feb 2024 14:28:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82E71145335; Fri, 2 Feb 2024 14:27:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XMllNi6U" 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 0E80B140771 for ; Fri, 2 Feb 2024 14:27:38 +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=1706884060; cv=none; b=XsE7Ntl7CpVI7ovpuHUNtiWBlb9m6lIXc4T/jMtGInELGyfCq7haiRG9/9Q/7/QkWB4oBWdk/X5pfRKKztIbDVgslqTaXoh8f7YX5iZjQAWm36gG1EvVYgeHFyqK2oGnkScoSR2M0X5aklNj8MAsUgKh4tpsboO6KMHT0La0Bco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706884060; c=relaxed/simple; bh=yDcL2KfbFxtb7xCOjAMFq0PIgN0wUaLrWlq2fUyJpmc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=XomHvCkdnfuHPDZpODaO7ZF9k3IYgyx2B7EPhvBo9YcvbkPP8YI967pE8IKpgJqhdRtpUI1bpNVXlkAGdBXQNOD950ig6li/qzhKhzrKR2aQU38YcWdkYgh+LSy16yxLtzeoswQGaQjzeld3c3NzDODVsj8pbMHsKBlyBxVet2Q= 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=XMllNi6U; 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=1706884058; 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=eEGsZLjkUv6BEa0yzFDQ5+acv6od8EAIcMWVbjc/LKg=; b=XMllNi6U1FQefCVhW2o/N/UhlUvJAbOFFOtC9V8q8GSkICpx/4mibFbCiSuHwgplMgwMUg FlUJ18YBnatxJFor3fq3tqVDzP+aMZO4+yjTrHwRE3oRrXVYK6lx5nx483bXSZ4ABBtadW au5wwK5LbPkYYrbicbMHCs6spcL3ssM= Received: from mail-oa1-f69.google.com (mail-oa1-f69.google.com [209.85.160.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-549-Xu2tNwd6N0aJxrewnS1WpA-1; Fri, 02 Feb 2024 09:27:36 -0500 X-MC-Unique: Xu2tNwd6N0aJxrewnS1WpA-1 Received: by mail-oa1-f69.google.com with SMTP id 586e51a60fabf-218f0b7f3c0so1456009fac.1 for ; Fri, 02 Feb 2024 06:27:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706884056; x=1707488856; 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=eEGsZLjkUv6BEa0yzFDQ5+acv6od8EAIcMWVbjc/LKg=; b=dwuRFhW9igxve8kF4VJFVZ0oo0hDv+svIiaponvnv3v+cD305OEIXpWGo4GziKS8xF bkO8m8Sdigg3ynDwfNFTW3SAcnPgsgzGHaMdsYwV/qSczt60zmUYRenWsMdXTStm1GRK DVRxsNT5fUUAbsAI4GLxb7SBkQVqDLMP/ITGbsGSGau7G4h0PF1nEmirJ1HYZ7+wgGxx x434WWuSQxWftuSKjDHYoLCM2vsw3L8Pl8PegdXQ7TRnNpzCqmJGpqhAcaFL7L+ggSTQ e43bHOcXGsUjYWTpeYInpKpgaiLe52sEO9N+iDu01wT06s2Ci4AbLRVVwX82zCP98Niw P8LA== X-Gm-Message-State: AOJu0YyvHL+L63FFSAkY2Osq8aaY5Gw+XVV2t4KgVsI3kSyr/2eIxNPq omxPp3HkeCNCZqFO2aYy39wuqL/o6Czn5NgMNN1mmMkhOcHGDcFeU034NZZgYo5ZTK+S4AAEbpU dhtKTgzV42aX9yx+iXlhufs6VB4ii4Y1MKFbBhl/uvH5pwzS82WYsp7llyd7hiA== X-Received: by 2002:a05:6870:524a:b0:218:de3a:6bf8 with SMTP id o10-20020a056870524a00b00218de3a6bf8mr2097336oai.39.1706884055928; Fri, 02 Feb 2024 06:27:35 -0800 (PST) X-Received: by 2002:a05:6870:524a:b0:218:de3a:6bf8 with SMTP id o10-20020a056870524a00b00218de3a6bf8mr2097319oai.39.1706884055631; Fri, 02 Feb 2024 06:27:35 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVfWd7lPuV2gumd4tF4Py3EAMixN+hqB6FgmVUcINl3Lp5e3wR3s+cyahmUZK2hwa2y+LtsZie9K5ujmK0q/tH/4kF4PlAtiobwl344J0PyvrodlaNDmbIBK9h9JFO0qFHQW52gddq4CAouu9Y9z7Y9nRG3+2W+1VYY8gPCdcJKdtqkd7eNNNidtnXvJUdFjhnP8sSFMovY/WKXOfVh1mQopEytPjo/ukRm6mMHNxtvIwy6wSrGWCT0N6Pk9sl0Na8BaU1waAj6Sa0P5x9ALtlbNJeNJqjI7zm4Ux8gs4E3ZnhBrOJbyBuVrdGAIT8umQ4iMUWudIfyLS86XBMSWVZ3SG7jcQGrY5cGA+9siHanmthMh6tS2DQn7RwMaPNM5ZeOS/Am/YIeG/7JJ3qpdO3ma0lui2rdEv26uONO Received: from vschneid-thinkpadt14sgen2i.remote.csb (213-44-141-166.abo.bbox.fr. [213.44.141.166]) by smtp.gmail.com with ESMTPSA id z24-20020ac875d8000000b0042c05008905sm496655qtq.77.2024.02.02.06.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 06:27:35 -0800 (PST) From: Valentin Schneider To: alexs@kernel.org, Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, ricardo.neri-calderon@linux.intel.com, sshegde@linux.ibm.com Cc: Alex Shi Subject: Re: [PATCH v3 1/4] sched/fair: add SD_CLUSTER in comments In-Reply-To: <20240201115447.522627-1-alexs@kernel.org> References: <20240201115447.522627-1-alexs@kernel.org> Date: Fri, 02 Feb 2024 15:27:32 +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 Subject nit: the prefix should be sched/topology On 01/02/24 19:54, alexs@kernel.org wrote: > From: Alex Shi > > The description of SD_CLUSTER is missing. Add it. > > Signed-off-by: Alex Shi > To: Ricardo Neri > To: Valentin Schneider > To: Vincent Guittot > To: Juri Lelli > To: Peter Zijlstra > To: Ingo Molnar > --- > kernel/sched/topology.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c > index 10d1391e7416..8b45f16a1890 100644 > --- a/kernel/sched/topology.c > +++ b/kernel/sched/topology.c > @@ -1554,6 +1554,7 @@ static struct cpumask ***sched_domains_numa_masks; > * function: > * > * SD_SHARE_CPUCAPACITY - describes SMT topologies > + * SD_CLUSTER - describes CPU Cluster topologies So I know this is the naming we've gone for the "Cluster" naming, but this comment isn't really explaining anything. include/linux/sched/sd_flags.h has a bit more info already: * Domain members share CPU cluster (LLC tags or L2 cache) I had to go through a bit of git history to remember what the CLUSTER thing was about, how about this: * SD_CLUSTER - describes shared shared caches, cache tags or busses * SD_SHARE_PKG_RESOURCES - describes shared LLC cache And looking at this it would make sense to: rename SD_CLUSTER into SD_SHARE_PKG_RESOURCES rename SD_SHARE_PKG_RESOURCES into SD_SHARE_LLC but that's another topic... > * SD_SHARE_PKG_RESOURCES - describes shared caches > * SD_NUMA - describes NUMA topologies > * > -- > 2.43.0