Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp648833rwb; Thu, 18 Aug 2022 09:43:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR4+tzfb5FtQiVBeZLmsxu+9ZfdXrdNN0r9kcTheQd5SEKM170DpWW4OF/fC4R2CT4pggj13 X-Received: by 2002:a17:902:e5cd:b0:16d:b92c:6848 with SMTP id u13-20020a170902e5cd00b0016db92c6848mr3257398plf.56.1660840994764; Thu, 18 Aug 2022 09:43:14 -0700 (PDT) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6-20020a056a00158600b0052f9600ba5asi1902492pfk.316.2022.08.18.09.43.03; Thu, 18 Aug 2022 09:43:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lB9JG5+N; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344633AbiHRQ3M (ORCPT + 99 others); Thu, 18 Aug 2022 12:29:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245538AbiHRQ3J (ORCPT ); Thu, 18 Aug 2022 12:29:09 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E1125A3CB; Thu, 18 Aug 2022 09:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660840147; x=1692376147; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=j6Jj2Bo/ZxNVeSubUtbojaHeaAxMgB/9LOJv+FbNnzk=; b=lB9JG5+NbK5aF0tlDrZkRS8FC6ME+V0mmvAYy+z1Xk2UVPL1XHhAMm79 BZ/BBKkznwF4kVM0PPscfM3ZZ9mZ0+t8PHSMMqVNmdiiyJ4cfS/vrgQ8k zFBg47IxPmbGrOh7V3f2C+0wX73dBeiqXFsHnAHNZHbRJKYgUanOC5cBM 5IyHWbwkA1XWgboAH6GXETb895mq/p9A17FVK7pW2NgmZn0uGVgz+emS7 4BO7w7tgLs0z/6blqosgpBkbSIrh6k092ZYZV38qkh9L5QR90kWv51y2X IUup0qX3ONYajR59j4jltt/qnNA0CVJ3Gb/uqjiqdS6tUxIq9w507HZtx Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10443"; a="275852028" X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="275852028" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2022 09:29:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,247,1654585200"; d="scan'208";a="935874290" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga005.fm.intel.com with ESMTP; 18 Aug 2022 09:29:06 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 18 Aug 2022 09:29:05 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 18 Aug 2022 09:29:05 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 18 Aug 2022 09:29:05 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 18 Aug 2022 09:29:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NwdA+NsHhgtcyZj0TKX1Z7SibOii0gX213YUEbSD/Mmtgul9LXYBoMmFY5+LtvI9AXG39mMvqdTgaHXoJe0cTCSljU7mOwnxwegANauYIl4m8r4YQmIKLfpCxrAoqWx8uFvGQSnKyXbaLYwNqEfx1RwgAkgRvbOxEe6XxQ45WoBFAVSjbwxZiSzxccvkWk04U7stMf5yRSsDJMCs6i0QNwkUuqIFConLrc1TmXJTw8TDwESEgSavO++zuzG45tl2ET4xdIAdmsJTAO/5AvmSgPDief0lHAiJiS8WdLOSXxFSWv1TmZoYGRVJz6F8i22rGEPkxPI+avVbzCzkyLNrgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yTu3h8dW0K7MLir26SsvdRCtDhQnxjXXWDIVpb3QeiI=; b=SVnW7ho3m9ah+Mmc+LY3ugUySF+Tfgxib5hnOJzEp2C0WHYxT7SbMetwzuyWskjdbTi7hCi9nEZxb3GmjfEY1bahkCnfSYQ07plj1aoysYXF/W6KUwl5N4WGRtTk+B+fER4ywsFNvSzCpRORrAHbIx28Cqmo/MrP2EVpi1TPM44OnEp4zySzqF3Hsboi52uq3GeSMAE/stiqyLdQRangLJlV04uhnOQrefj1h5+np9bfuO6eXt1cVOrvpF6/HLlh6u6MXjjLRGj9xIR6ckopLem1qOxqM6mhEEoNp7m83wZjGhwnzX2TYTMFGod/vZsi778e7OC9OQjpRxraePNXMA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB4914.namprd11.prod.outlook.com (2603:10b6:303:90::24) by PH8PR11MB6832.namprd11.prod.outlook.com (2603:10b6:510:22c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.19; Thu, 18 Aug 2022 16:29:03 +0000 Received: from CO1PR11MB4914.namprd11.prod.outlook.com ([fe80::28c9:82b2:cf83:97c8]) by CO1PR11MB4914.namprd11.prod.outlook.com ([fe80::28c9:82b2:cf83:97c8%8]) with mapi id 15.20.5525.019; Thu, 18 Aug 2022 16:29:03 +0000 Message-ID: <9b062b28-e6dd-3af1-da02-1bc511ed6939@intel.com> Date: Thu, 18 Aug 2022 09:28:59 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v2 0/5] sched, net: NUMA-aware CPU spreading interface Content-Language: en-US To: Valentin Schneider , , , CC: Saeed Mahameed , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Yury Norov , Andy Shevchenko , Rasmus Villemoes , Ingo Molnar , Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Mel Gorman , "Greg Kroah-Hartman" , Barry Song , Heiko Carstens , Tony Luck , Jonathan Cameron , "Gal Pressman" , Tariq Toukan References: <20220817175812.671843-1-vschneid@redhat.com> From: Jesse Brandeburg In-Reply-To: <20220817175812.671843-1-vschneid@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BY5PR16CA0035.namprd16.prod.outlook.com (2603:10b6:a03:1a0::48) To CO1PR11MB4914.namprd11.prod.outlook.com (2603:10b6:303:90::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 62f2fa9d-fc94-4ddf-9927-08da8136c2fd X-MS-TrafficTypeDiagnostic: PH8PR11MB6832:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QEjt7TMoRGxNz+z4EM+tQIE1+C5mSmt6RWpJNUkrnb5LuRENgmbl/Z2j0DQ09TOGOBQpzG2U2QYo0oFjfm/D2JPjyi1KqrcDklL1eVL//Mrg3MOMWJimoDK+BJL5jgNvleoOeN23SfOcC4utVUI7bTAyvSz+ZDa5nbYEqTpK2IaC6gCmSQpPpvkouj6vPVUoVkBF9MJuj59qX5qOryVdXJjUH4NwtnTS4U1oLm4NFxZ82wM/WUX2WhLQ4R+VJ13fnzy3oRUnGdB1Z0ubftV9V9eNhkqMj8avtKp3ai+8aRY5bktExYmNfeDMwZGhKCYdXi8VqUJO0cGhw6UXCWEHqYJPT5aTwjA79eNBp2cU19KHIVK8zErj6pm8OR6tJc0yd9XzLLKRNdzaces9rkdILyA9ANQNzDIdY4z5PNz7VlrH5w6rfSVk2CwVoBD0NF3Mwc+797k7n9xH+pX2/xh+FfyRwci2U75CIJz3c9gQvi/5T+5u0xxSHyHKqaXhyuY9KiPc6CVFQKuj6PHxKLSwNShhD/dDdZ3rTPcNwnm8YLjWl2u+4Wlkt4kAZ0kcwoQE3eJ/JuoQL87fwOfznVVWGA+Tvkwf1Aw5C4bN1fwHpUx6BjYXNGjRJf2LGs3qCZkES/Fq/mUF3S6pkazNUnOcy9arJ+TUrkQwU/B4uxg2crApFqsSZqlDSHb86MSFXSSHiJnJHrcMi+O0UlIrI9gODqQfVdvaPJQA9ahcnwT3rzsjLoprM2bnQJMSpPYVgEDKJT4C5P9mWqMq33M3CCA2tWRIHyiBYprVMyDhTHDSffo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR11MB4914.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(136003)(346002)(39860400002)(366004)(396003)(376002)(6512007)(186003)(26005)(6506007)(86362001)(2616005)(53546011)(38100700002)(31696002)(83380400001)(82960400001)(7416002)(36756003)(5660300002)(478600001)(4744005)(44832011)(2906002)(4326008)(66946007)(6486002)(66556008)(8676002)(8936002)(31686004)(66476007)(6666004)(41300700001)(54906003)(316002)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T2ZqL2VtUEtTWEdkaVVaRWxxT0Jlb3oxTVFrbWlzY0hVblVSektCQ3FYUXY5?= =?utf-8?B?MjBvQXU5aDBMR0tuZlpsWnpOaWVwSDBIbTN0WVhBM1ljbUYrL0lLZ1puR1FO?= =?utf-8?B?cHNFWmdIUjZqZ3B1c1FDYnhleHVOMDMybk9hNHU3VG9xTFpZV3ZqeXNSNW9S?= =?utf-8?B?U2t3RUJPaDFMNTBpUi9pNjE2b0traDdTZzFKT0hvSldPYVRwZFJIajdTRmtH?= =?utf-8?B?b1NvSk1jKzQrOW01R1ppVm9RUlVKOEZEcnRnMXJRbHFvbnpXS29PMDE5M3NG?= =?utf-8?B?cGM4Tm0xbncrS3MvNGlLTGNBdDlUMWo4NlJSQnhxdVBjd2NUenkyekJBMlJh?= =?utf-8?B?VDFEQzR3UHZIVWNOZ0pyUFIvUDMxZCt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B?dkE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 62f2fa9d-fc94-4ddf-9927-08da8136c2fd X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4914.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2022 16:29:03.0806 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FSLrAPkmA/7IEUOgEtfdFMuuF/zRjdzO288mBuQ+nIl874LTyNO200MmvoAvTyUu1qqTrvvn7za2qwRKASeSiy9NMIydVSOxYBHKayR32Wg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6832 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/17/2022 10:58 AM, Valentin Schneider wrote: > Hi folks, > > Tariq pointed out in [1] that drivers allocating IRQ vectors would benefit > from having smarter NUMA-awareness (cpumask_local_spread() doesn't quite cut > it). > > The proposed interface involved an array of CPUs and a temporary cpumask, and > being my difficult self what I'm proposing here is an interface that doesn't > require any temporary storage other than some stack variables (at the cost of > one wild macro). > > Patch 5/5 is just there to showcase how the thing would be used. If this doesn't > get hated on, I'll let Tariq pick this up and push it with his networking driver > changes (with actual changelogs). I am interested in this work, but it seems that at least on lore and in my inbox, patch 3,4,5 didn't show up.