Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1077514imj; Thu, 14 Feb 2019 00:32:37 -0800 (PST) X-Google-Smtp-Source: AHgI3IZq/FohWP54o0pi6K4EnB4JuXSYN51AktxxiJPY4faYST0NZqKIQbsF8I2tebWzGEdmbC9z X-Received: by 2002:a63:e410:: with SMTP id a16mr2702333pgi.28.1550133157801; Thu, 14 Feb 2019 00:32:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550133157; cv=none; d=google.com; s=arc-20160816; b=SnWEcRM054VHN9kU0aWnsq4XyuDsl9IzWXvPU48D6Uoqr4YcDai7GMqSRUd/G232+p EgXbSudEhWTVN1pHoknDonhExO9j24CT3PXsDqVtAttW/ju3fLfeZ4h+lIZTr3Mx75Xq rsZSub60QqNcgYkCfOWuAmTrHoR4EnldoibdklUjMYIZ055TcZtNZHNHRZMkRvNsVpry trkpFbJMEh1d0D5tKMaRZ/ynenjqg8XpdTKtsSObhcPq+PxjpN98up4oI/DuCc8N7qfd H+85wUz/a+fDLJ+LYBubGoyjCFq2MzqU34j9vXGB/tfiTRI1fobuQSCqS1nHOY1P2Nho w9Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=XvNF6eP0CiO+t6IsTJa74pAo8+B2UP559WN+6Mt1vAU=; b=LCJfP9Oom79z1cO+qvXPfEKnappZl1rISHtdO2fMVLdTRfw+9JAETGATDLbuS1zlGg GaOmHK0Mh6SrE0+ktibExLtOHkDpUOYXIvmcaG/AnUcI0DQ3fCoPqecuepoQfcHRyslZ aqSZVARI3DVmBhSxqpWsjfguPyW4hK1fzb9vaQ7ByFtKtv7+aA6+jKLLshSRJIF7qOER PFDD77pyZMV0MUlLa/wvEW9euuoD43/91ciYplVYYK3iVVHDD6o4+m7A8pG3lgZ5QkKv UrTR/3mVhzbLj4cKEwYL6LNS3tOu7jRUBzIT46x7nLF8Y04TwSKb3YTH5PMmRlkfxrAO JskA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si2281087pln.221.2019.02.14.00.32.22; Thu, 14 Feb 2019 00:32:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390977AbfBMU7G (ORCPT + 99 others); Wed, 13 Feb 2019 15:59:06 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:47681 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731303AbfBMU7F (ORCPT ); Wed, 13 Feb 2019 15:59:05 -0500 Received: from p5492e0d8.dip0.t-ipconnect.de ([84.146.224.216] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gu1cP-0005Vc-2Z; Wed, 13 Feb 2019 21:58:57 +0100 Date: Wed, 13 Feb 2019 21:58:56 +0100 (CET) From: Thomas Gleixner To: Bjorn Helgaas cc: Ming Lei , Christoph Hellwig , Jens Axboe , linux-block@vger.kernel.org, Sagi Grimberg , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Keith Busch Subject: Re: [PATCH V3 3/5] genirq/affinity: add new callback for caculating set vectors In-Reply-To: <20190213151149.GD96272@google.com> Message-ID: References: <20190213105041.13537-1-ming.lei@redhat.com> <20190213105041.13537-4-ming.lei@redhat.com> <20190213151149.GD96272@google.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Feb 2019, Bjorn Helgaas wrote: > > Add a new callback of .calc_sets into 'struct irq_affinity' so that > > driver can caculate set vectors after IRQ vector is allocated and > > before spread IRQ vectors. Add 'priv' so that driver may retrieve > > its private data via the 'struct irq_affinity'. > > s/caculate/calculate/ > > I *think* "set vectors" here has something to do with an affinity > cpumask? "Set vectors" doesn't seem like quite the right terminology. See previous mail. Let's stay with 'interrupt sets' and get rid of the vector naming completely. Thanks, tglx