Received: by 10.223.185.116 with SMTP id b49csp7208464wrg; Thu, 1 Mar 2018 01:30:22 -0800 (PST) X-Google-Smtp-Source: AG47ELtZeSXJJ/Zb535m8R261IBfyJ/4bP/cJ8haZG2F580len0eNr/yznWYpP+E2seFxkSl8Qex X-Received: by 10.101.65.5 with SMTP id w5mr1025900pgp.214.1519896621989; Thu, 01 Mar 2018 01:30:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519896621; cv=none; d=google.com; s=arc-20160816; b=OthTXWSYSW5/WxVKXDTrthuzanhpOQ+TuJ+zAohJtZz8ZU9+l7WIIyc9WAoYPqOkDp Oj3L7qIknn4lAhxV5BWaeoejfOJH1scmnIDcRpr2EKJDi9Uy0CQXrPvktdjOSNuwCjzS XK4EdjKfWiT1Lq30HZ9Z0GIRvF6ZemQTh/KB8lQ2L/u5zSa6H/GPFChhll2cn8Dib9bs +/oPsJQHlNEWrk/0XGxJ1sfdxCQFsUaT+F0ItTGElfhF8ZUhDos58uRJ1xSk3FEmkD+f jtdk1g262qJrqprwEPXs3QTSZ9I6pchaKyOT4WO/T2hOIm4RBTm0LUo3nwRdDMYki46H kJPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=3hiRMS3JC/fVZUb7+ftnlQxPGCZL7U6Uja4UduTX6w8=; b=l2NwQyJ8RxL6FT0PkgptJ5SJSBTATFrICD3prpTaEC870fdEC/TjiMHkapd8WG/KlD u6gXFlJI74Uh+zHcMiT9lpnZ8RU3Sj7jgL0qAa/yvFSUe7bBWLe73ppvbUtcQbxLo4Eh 7hjWDZY5J+OgE8D9S0jpn82XoKVu0k5Pw80UjT2uNSl7MPdAf+mZ/f4maXFdU7caYEiB YmqiE4MymhKrHCPp+XFIoAvGzhrB6rF43XlAd9C1JRZ/FQBzl/LdflbEzVHI4zzlGSRN wOZvCFIWFfi9LJsxGjk/DDSVzPZ2ENyZ835EY6c10KxNlC9FXCPTL/t83cmlrksf9Rba o4xg== 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 1-v6si2765014plr.786.2018.03.01.01.30.07; Thu, 01 Mar 2018 01:30:21 -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 S966983AbeCAJ3H (ORCPT + 99 others); Thu, 1 Mar 2018 04:29:07 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:53029 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966861AbeCAJ3D (ORCPT ); Thu, 1 Mar 2018 04:29:03 -0500 Received: by mail-wm0-f44.google.com with SMTP id t3so10193584wmc.2 for ; Thu, 01 Mar 2018 01:29:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3hiRMS3JC/fVZUb7+ftnlQxPGCZL7U6Uja4UduTX6w8=; b=ib6BmS+PRFAi+hC9qbiiWjgTY4V38AbTKQj2W5mE14MAOEOAt6NJy9J/uGlLFdW421 UilkwKDbhnbZ4ADY060eUfEsqczuAAJQhybSs9Uufs/tk31Z/kA6LkKLl96py275ZVsf h9/huX6tstXmkg5sYvtAUqb/omJw7tsfRHxLIIhjKtSi76Z/g3mK4+3+Wi5PwCuOas5h rkzVyziyHr/NgJrIP+TpE9ui8L2ghEFooPm99Wju03g7MAUPWMXkb1QAds/hswoUZyz4 ytw9JGI0t5KyvTWCTfHX/uYasOf4FhF/pRTlCnu3RmXd3oAf/xDG5S9m3JYWo+E+wOja UosA== X-Gm-Message-State: APf1xPDmPP6wVs+kUp1+EhyFjwaGohrm7ELAcRNC/6JIWxE2wC+5A8dr nEos/g9NW1fIxZ1KA1luiTji6z0N X-Received: by 10.28.41.3 with SMTP id p3mr1243210wmp.140.1519896541294; Thu, 01 Mar 2018 01:29:01 -0800 (PST) Received: from [192.168.64.110] (bzq-219-42-90.isdn.bezeqint.net. [62.219.42.90]) by smtp.gmail.com with ESMTPSA id 55sm5037118wrw.87.2018.03.01.01.28.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 01:29:00 -0800 (PST) Subject: Re: [PATCH V2] nvme-pci: assign separate irq vectors for adminq and ioq0 To: Christoph Hellwig , Jianchao Wang Cc: keith.busch@intel.com, axboe@fb.com, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org References: <1519832921-13915-1-git-send-email-jianchao.w.wang@oracle.com> <20180228164726.GB16536@lst.de> From: Sagi Grimberg Message-ID: Date: Thu, 1 Mar 2018 11:28:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180228164726.GB16536@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Note that we originally allocates irqs this way, and Keith changed > it a while ago for good reasons. So I'd really like to see good > reasons for moving away from this, and some heuristics to figure > out which way to use. E.g. if the device supports more irqs than > I/O queues your scheme might always be fine. I still don't understand what this buys us in practice. Seems redundant to allocate another vector without any (even marginal) difference.