From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B7E8C43215 for ; Fri, 15 Nov 2019 13:36:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2688D207FA for ; Fri, 15 Nov 2019 13:36:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573824995; bh=e8bzRlnc58LefGfOCtBi9+fRKTFT/P374Ut7GMHFBgA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=2KvZUgAtdQIXJwQhJHstg82aRILevZ2kmQ/M0e9SL4f1BlzvJ4vrntt8xlVoW37g/ p/Oq9T1fsre80d6MgJ69nSeIsW9p0qoj08IqS+HWt9d+Rii3DVgMTMVqoDY6FXk/HN p1gzmGso61Gw7FRouFVfcUs5jLDrjTiSnYU2zlVs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727517AbfKONg2 (ORCPT ); Fri, 15 Nov 2019 08:36:28 -0500 Received: from mx2.suse.de ([195.135.220.15]:41646 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727329AbfKONg2 (ORCPT ); Fri, 15 Nov 2019 08:36:28 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 993A2B210; Fri, 15 Nov 2019 13:36:26 +0000 (UTC) Date: Fri, 15 Nov 2019 14:36:25 +0100 From: Michal Hocko To: Shaokun Zhang Cc: linux-kernel@vger.kernel.org, yuqi jin , Andrew Morton , Mike Rapoport , Paul Burton , Michael Ellerman , Anshuman Khandual , netdev@vger.kernel.org Subject: Re: [PATCH v3] lib: optimize cpumask_local_spread() Message-ID: <20191115133625.GD29990@dhcp22.suse.cz> References: <1573091048-10595-1-git-send-email-zhangshaokun@hisilicon.com> <20191108103102.GF15658@dhcp22.suse.cz> <20191112115630.GD2763@dhcp22.suse.cz> <00856999-739f-fd73-eddd-d71e4e94962e@hisilicon.com> <20191114144317.GJ20866@dhcp22.suse.cz> <9af13fea-95a6-30cb-2c0e-770aa649a549@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9af13fea-95a6-30cb-2c0e-770aa649a549@hisilicon.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri 15-11-19 17:09:13, Shaokun Zhang wrote: [...] > Oh, my mistake, for the previous instance, I don't list all IRQs and > just choose one IRQ from one NUMA node. You can see that the IRQ > number is not consistent :-). > IRQ from 345 to 368 will be bound to CPU cores which are in NUMA node2 > and each IRQ is corresponding to one core. > This is quite confusing then. I would suggest providing all IRQ used for the device with the specific node affinity to see the difference in the setup. -- Michal Hocko SUSE Labs