Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10323139rwl; Wed, 11 Jan 2023 18:25:57 -0800 (PST) X-Google-Smtp-Source: AMrXdXtkiFdAPJiKgtcLDVDD72SoH62CZP7RjbhXulZx1KZEvzVBK3U2Rt4uhH+/XEHgcQmTmuu5 X-Received: by 2002:a17:907:6746:b0:840:758a:9155 with SMTP id qm6-20020a170907674600b00840758a9155mr52191908ejc.12.1673490357262; Wed, 11 Jan 2023 18:25:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673490357; cv=none; d=google.com; s=arc-20160816; b=guRZ+na3yApKNzouE+K7UAv1ik5c8Gl3bpQkCMCMJ2Pju/xNgQeinxCoXm6EsLE3wW CLpfK9IUr/Yo+ElKzgE6cdVydIx/oa380A0zxnMwvTE6Ko+nBa2KrypBHf8qOKN755dY +IaXc8aE+a5gHJdpIyVFzwbUT5G1lTnEwTlEgPz4a0WNm2303l4cX0lYiuYIyOwogXUn XwFGEOnayRuh/nPKz0e+xWrkkDVj7hGvOInoIi1y7Y0nDgRyoPBwf/NQrzPIBbeeXNqU 5T3LnzuvDh4V00Vz6sHCwz29Tw+7BB63z21OpOISg8/KJrBlRLvahSIgXq0tobz4HtJd yPtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=k76IrklA0IY7Qu0TJ/osmN/NzFl01YaaFcKr8OB0oJ4=; b=ed38UdciExPS+iMsvAMoKbdYxFUzyiCK87unuu9Q12zO9vNpDUznBmZf0kGZYwsfE9 5gEFf4MKQABCVwCH59UZ6gOcbbOrSYV9a6fPj3G10C9PtHjMlPK9BHS17vl4F34SuWDe fboFQuGpOM7wBPdGOXeVPsTAKMmvp5n4gv8Dg/5tPypWlQQtH5AnIZBoc+44ERz+zxyq M6QTsywsmxVCPLHYyLrlEwE6jAL4K/wTs7prNjLmsdkpL9Z0DN/Vqak/NupIHs7meKxo d8ImkD1keHOUUVrtpcVWmA+IG4duVDmaIt1RPExJxwk9htiEEYGav3cgSvOVS6ecWhmR /KDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PBZl3i92; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i31-20020a0564020f1f00b0049577a9f104si15084594eda.57.2023.01.11.18.25.45; Wed, 11 Jan 2023 18:25:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PBZl3i92; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbjALBqN (ORCPT + 50 others); Wed, 11 Jan 2023 20:46:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232976AbjALBqL (ORCPT ); Wed, 11 Jan 2023 20:46:11 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B9CA37509 for ; Wed, 11 Jan 2023 17:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673487926; 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=k76IrklA0IY7Qu0TJ/osmN/NzFl01YaaFcKr8OB0oJ4=; b=PBZl3i92aiA4ATyQx2E3VlqpBBEvGhPQt3PNU/blvE8TK/xS20PM5/bR9J9Jk2BhU8uKPS ZQvIE0pQbQsap8SzVrxAwncR1p4ixqzXNGghES3+vDusHgk+0LJwjbmYFNI31PVIIGaHQV z0/CRUi3mXNTJEFVPLWcW8X86s0e0s8= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-617-2LwfjkhyMo-MMFxTNQlQpA-1; Wed, 11 Jan 2023 20:45:20 -0500 X-MC-Unique: 2LwfjkhyMo-MMFxTNQlQpA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 18CFB3C16E88; Thu, 12 Jan 2023 01:45:20 +0000 (UTC) Received: from T590 (ovpn-8-20.pek2.redhat.com [10.72.8.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 60821C15BA0; Thu, 12 Jan 2023 01:45:14 +0000 (UTC) Date: Thu, 12 Jan 2023 09:45:09 +0800 From: Ming Lei To: Thomas Gleixner Cc: Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig , John Garry Subject: Re: [PATCH V4 0/6] genirq/affinity: Abstract APIs from managed irq affinity spread Message-ID: References: <20221227022905.352674-1-ming.lei@redhat.com> <87zgaoew45.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zgaoew45.ffs@tglx> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 11, 2023 at 07:58:50PM +0100, Thomas Gleixner wrote: > On Wed, Jan 11 2023 at 10:18, Ming Lei wrote: > > On Tue, Dec 27, 2022 at 10:28:59AM +0800, Ming Lei wrote: > >> Hello, > >> > >> irq_build_affinity_masks() actually grouping CPUs evenly into each managed > >> irq vector according to NUMA and CPU locality, and it is reasonable to abstract > >> one generic API for grouping CPUs evenly, the idea is suggested by Thomas > >> Gleixner. > >> > >> group_cpus_evenly() is abstracted and put into lib/, so blk-mq can re-use > >> it to build default queue mapping. > >> > >> blk-mq IO perf data is observed as more stable, meantime with big > >> improvement, see detailed data in the last patch. > >> > >> Please consider it for v6.3! > >> > >> V4: > >> - address comments from John, not export the API, given so far no > >> module uses this symbol > >> - add maintainer entry for new added lib/group_cpus.c > >> - rebase on 6.2 > > > > Any chance to take a look at this patchset? > > I'm at it. My sickness+vacation induced backlog is horrible .... Thanks for the response, and wish you good health. thanks, Ming