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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FB84C77B73 for ; Wed, 31 May 2023 17:01:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229763AbjEaRBc (ORCPT ); Wed, 31 May 2023 13:01:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbjEaRB3 (ORCPT ); Wed, 31 May 2023 13:01:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7896135; Wed, 31 May 2023 10:01:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3B6B16347E; Wed, 31 May 2023 17:01:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84E64C433EF; Wed, 31 May 2023 17:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685552487; bh=R7oOfdc1inXuLFb7cvDfmpI9BDI+dIPISRXuyEXNPvI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nzXesSLuaVO21WqMnqz6lZZkzoywNGhofB7+9w1885IbEkRQVdEWM4KHKSlR5VeUh M1oBkZNiQGdN1h8nckTf1NxFC3vEjGc6N32U6OdnysH2ezKUhvfU9dHAiWYQUxAxex WVTatdhX+KX4UwjwD/vqK4+X7h5HBPNS1RIxDrpnYQ/VJCIj3F/ohGcmWgMCB8Z0ap C/rkGpAIcR+Z2RmiacrR6Gpe6lS8JClUDWzQqMfOPfJoTnNVyZ5O6uWArZkmi3n+7K qHOB95TfohHPO3YPOggEcTQSlih2+d9rrUypXZhA2qeQ1Bpo+XPuXADSYesRboGN6O xrtRBlkZ4pY7Q== Date: Wed, 31 May 2023 10:01:25 -0700 From: Jakub Kicinski To: Yury Norov Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Saeed Mahameed , Pawel Chmielewski , Leon Romanovsky , "David S. Miller" , Eric Dumazet , Paolo Abeni , Andy Shevchenko , Rasmus Villemoes , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Tariq Toukan , Gal Pressman , Greg Kroah-Hartman , Heiko Carstens , Barry Song Subject: Re: [PATCH v2 0/8] sched/topology: add for_each_numa_cpu() macro Message-ID: <20230531100125.39d73e1d@kernel.org> In-Reply-To: References: <20230430171809.124686-1-yury.norov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 May 2023 08:43:46 -0700 Yury Norov wrote: > On Sun, Apr 30, 2023 at 10:18:01AM -0700, Yury Norov wrote: > > for_each_cpu() is widely used in kernel, and it's beneficial to create > > a NUMA-aware version of the macro. > > > > Recently added for_each_numa_hop_mask() works, but switching existing > > codebase to it is not an easy process. > > > > This series adds for_each_numa_cpu(), which is designed to be similar to > > the for_each_cpu(). It allows to convert existing code to NUMA-aware as > > simple as adding a hop iterator variable and passing it inside new macro. > > for_each_numa_cpu() takes care of the rest. > > Hi Jakub, > > Now that the series reviewed, can you consider taking it in sched > tree? Do you mean someone else or did you mean the net-next tree?