Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3641117imm; Wed, 5 Sep 2018 03:40:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYLjthimzqVSWyi6+KyyvJWFoKSff2ycsBuCl27g9MMGcbff+KTl+e2cPiytb1ksVKNWikt X-Received: by 2002:a63:549:: with SMTP id 70-v6mr36567519pgf.385.1536144001363; Wed, 05 Sep 2018 03:40:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536144001; cv=none; d=google.com; s=arc-20160816; b=dp3boCfTqSpn8KCSd1XRO9KAl0fDDxz64FNOPTOMVcbsVwiH/Ri/4D7zc0HMOMjBhk +ejNhVW2XSea6ju18aMzAXZI+9f6YXgELzSwh8wcWloqaXRuD9ISG5TpBaZL7RQsECZ2 oIuNL5oxtbs1rgiDmcaA+ZXrG8oj4cGfWCsxvCtjswkmRq0Dw6helQkBqaHgzLT+ym04 +D8bQmdKyzEpPTHsJzDf7nTTb23FPLHd2cWnS/rhTPZjWkAlPgYKY8ED5W6bvgi2jcdt Qwg0i+MgG5m5/aZbYbOTzK+1OaiZ7fzowwEJYzTqOMmzON6yZPYFolaXZa9OU70fqvtn e8mg== 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=Vfdkpj+rUWROVldbk/hBujfGAi/LBooWGxMdKpdmeBc=; b=D1NRwvZXd54qrs4r3ws8auJEXZxmzyR8WotdbWPQ7+6CFnGsmFOueNtKVobcm0WNYI 0sjilqPSQ26yiU+Ch+R4kwIWVNbKUSWqoq5omvsaAfXaA1m7FCr1u6l12HyB8sr9d5zW Jc87afcMlXfxpoepamEIAJVykOY2m5jPoJ6bN9ic+9W/L9GiH2BRVIDDd8a8uDPE6uDv HrHAyWYDwilGrAmDYX9T1GXqgk7TO9uHEYA4S0c4c2PPeUQYE7TxJM2unEurVwzuxN3C v99MndiaFSSYRYjAC8WEdZY6oCu8ioN/8uuW6OhvBvGQEXplBAzT2lkxahqyIrDsniIo sB4g== 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 a2-v6si1570505pgh.396.2018.09.05.03.39.45; Wed, 05 Sep 2018 03:40: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727734AbeIEPIS (ORCPT + 99 others); Wed, 5 Sep 2018 11:08:18 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:59174 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbeIEPIR (ORCPT ); Wed, 5 Sep 2018 11:08:17 -0400 Received: from p4fea45ac.dip0.t-ipconnect.de ([79.234.69.172] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fxVCg-0000ll-JM; Wed, 05 Sep 2018 12:38:30 +0200 Date: Wed, 5 Sep 2018 12:38:30 +0200 (CEST) From: Thomas Gleixner To: Kashyap Desai cc: Dou Liyang , Ming Lei , Sumit Saxena , Ming Lei , Christoph Hellwig , Linux Kernel Mailing List , Shivasharan Srikanteshwara , linux-block , Dou Liyang Subject: RE: Affinity managed interrupts vs non-managed interrupts In-Reply-To: Message-ID: References: <20180829084618.GA24765@ming.t460p> <300d6fef733ca76ced581f8c6304bac6@mail.gmail.com> <615d78004495aebc53807156d04d988c@mail.gmail.com> <486f94a563d63c4779498fe8829a546c@mail.gmail.com> <602cee6381b9f435a938bbaf852d07f9@mail.gmail.com> <66256272c020be186becdd7a3f049302@mail.gmail.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, 5 Sep 2018, Kashyap Desai wrote: > > Shall we also spread the managed interrupts on allocation? > > I tried your proposed patch. Using patch, It is not assigning effective irq > to CPU = 0 , but it pick *one* cpu from 0-71 range. > Eventually, effective cpu is always *one* logical cpu. Behavior is > different, but impact is still same. Oh well. This was not intended to magically provide the solution you want to have. It merily changed the behaviour of the managed interrupt selection, which is a valid thing to do independent of the stuff you want to see. As I said that needs more thought and I really can't tell when I have a time slot to look at that. Thanks, tglx