Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5015911imd; Tue, 30 Oct 2018 10:39:01 -0700 (PDT) X-Google-Smtp-Source: AJdET5eXCKt1c9mf7G0pU7CiO6LSUxaq2pfLWOP7HLT0Ppep29vbBvktG7v+caUJgtz0OzZYWdTb X-Received: by 2002:a17:902:30f:: with SMTP id 15-v6mr2450885pld.155.1540921141288; Tue, 30 Oct 2018 10:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540921141; cv=none; d=google.com; s=arc-20160816; b=s9jNDcBm6M160W2BBS1j46LyboWxGQPNpDUJkOh538v3EuqU83XC9cTK0KoEifIWRB KHG+VSJEs+xAlUfc8V1uiq9gcFW0zT6kam6QfqFNdxI3dKsPxl803Fo39q36YT+UG9HK BEp2mvVoOIP1ao1Dc83yNxp5mowDLManfq5mHo59WseIiIuQtjq0Jloz7FeVEqyBUuxm JlPDpOLvOdQZ0x0cIrjZXGJVm0ronSHlo2M7cK9dyigQHVG+2Uh+XIgI6u88mJT6GhBt lH5h0Q/hlNIdQoy1OpL1S50FkheZuZdTR39nUgp3G9kmvI8jfywbgU7jCp4WTRL1OUv9 ofhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tuaFX/nLtTEXuxIxJMITn7xSDJNjQIK6tjRRT8ZcDJU=; b=czGK/OGF4TWZBkei1PKF4wTV860pXJBiAzz9/c2jMElHnB5L8jNx8tl0cPMlzyzH4k w32V7Bk1Zss2PqTnng2PNLUzxRJpLMZYdZGfD+ehILutGT8/m7+4dVi1zFQrBDwG0h1a PgxjpmJzScjU0loGFuqrS40o1IulDeY/36mGBSmpLHy6L4/19MLs6zcFOwPbEvpJN1li 6h8xex2YkHR03rmDiYo+hGuja9CdvkXCws/Jdvi0gRL+AdxqqUyvB9AMvtNM5UwzmkAO 839qdOqyXREPJll7u6t02xteNnjWMmTVnLDwCWeawYWqBPWLO4Hm7qcZtPPYMTqnZG7p qnsg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91-v6si25074343ply.48.2018.10.30.10.38.44; Tue, 30 Oct 2018 10:39:01 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727825AbeJaCca (ORCPT + 99 others); Tue, 30 Oct 2018 22:32:30 -0400 Received: from mga03.intel.com ([134.134.136.65]:60224 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727566AbeJaCca (ORCPT ); Tue, 30 Oct 2018 22:32:30 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2018 10:38:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,445,1534834800"; d="scan'208";a="270051889" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by orsmga005.jf.intel.com with ESMTP; 30 Oct 2018 10:38:04 -0700 Date: Tue, 30 Oct 2018 11:35:43 -0600 From: Keith Busch To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Gleixner Subject: Re: [PATCH 11/14] irq: add support for allocating (and affinitizing) sets of IRQs Message-ID: <20181030173543.GG18906@localhost.localdomain> References: <20181030144527.GB18906@localhost.localdomain> <46dbcbcd-799f-9970-a68f-de7e96b1a6bb@kernel.dk> <20181030150840.GC18906@localhost.localdomain> <20181030160242.GD18906@localhost.localdomain> <27c1017a-9560-80cb-038d-f64727a162c3@kernel.dk> <535480f3-9087-b4ae-e7c8-cfe3c2d1e2c9@kernel.dk> <20181030172234.GF18906@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2018 at 11:33:51AM -0600, Jens Axboe wrote: > On 10/30/18 11:22 AM, Keith Busch wrote: > > On Tue, Oct 30, 2018 at 11:09:04AM -0600, Jens Axboe wrote: > >> Pretty trivial, below. This also keeps the queue mapping calculations > >> more clean, as we don't have to do one after we're done allocating > >> IRQs. > > > > Yep, this addresses my concern. It less efficient than PCI since PCI > > can usually jump straight to a valid vector count in a single iteration > > where this only subtracts by 1. I really can't be bothered to care for > > optimizing that, so this works for me! :) > > It definitely is less efficient than just getting the count that we > can support, but it's at probe time so I could not really be bothered > either. > > Can I add your reviewed-by? Yes, please. Reviewed-by: Keith Busch > -- > Jens Axboe