Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp898545pxb; Mon, 16 Aug 2021 21:55:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgY+hHJAS84azq+/ieb6moqyr3GatCTK32VhfSHiSDskgnigsIGsql5zgu4F4Zy8VE9w1u X-Received: by 2002:a50:d6db:: with SMTP id l27mr1922602edj.309.1629176134507; Mon, 16 Aug 2021 21:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629176134; cv=none; d=google.com; s=arc-20160816; b=gI0+O506Ba0DINVjBjtx5Vzcg6lDYRdsK6rGfghu4yrsAVtOklzMYFgd8I7nOaTEvx r+PPFKiuB/DZmRXmkHKUTkbRPn6iTykCuH3v18Q2R4rX5MZwE77ug2LfNXwXZ11HQQ/k 8dr7vMnKN2maNqm83wrCDEUXoUeloY11qOpGfxwd6D+rzniMhqdJjgutitncTpFsLThU uKfqMBv/ZhJ69z0HTDIOnOW/vM/hx6ZCS2rDUTT9lTXJhENKWoz/CKPEo+23SDcoVO4N +Uj1J3THqRGqny9uVwAN5qT+ggvhNkWO6UjYSvYV13jY0lpwBqn40PiZeVYrjV4oAFk7 80dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=JWPdaT43xcIDrT1VoZlbABsKY17hRYduyOpoNlXzhAM=; b=SiGD9NprhUj+wAdnY6AvlOej0GM54i9/RaAgD6zDWnTsfr8/A8uf9L1A8CLs6DwMsd +prYjacLiGyIqQ8vPqdnj5b8IvzF4jJhAQs/+ijUw5wefDg6fimDkVlukiOL+kqNzta1 pZCPXHRqbJpoKxsfbfve/q3WPZ+ouKMMMHWJbj8JFBrecVQSrT4l03QhpTL9rQGVwwBt 1lgw9phxe7IkJXqa9yhV+Vb/D35/QauwfFLSXTGtL4mAuHJp7x9WFJm3xckr0iwBT8Jz kVufFeYYeiibXfRrNEvbndKzprP3vRcDpz+sTzbZQYkOCMaDwEsxgweXpy/VQhWKkARH enZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si1378102ejy.385.2021.08.16.21.55.11; Mon, 16 Aug 2021 21:55:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237600AbhHQEx3 (ORCPT + 99 others); Tue, 17 Aug 2021 00:53:29 -0400 Received: from verein.lst.de ([213.95.11.211]:57022 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230272AbhHQEx3 (ORCPT ); Tue, 17 Aug 2021 00:53:29 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 680206736F; Tue, 17 Aug 2021 06:52:55 +0200 (CEST) Date: Tue, 17 Aug 2021 06:52:55 +0200 From: Christoph Hellwig To: Ming Lei Cc: Thomas Gleixner , Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH 6/7] lib/group_cpus: allow to group cpus in case of !CONFIG_SMP Message-ID: <20210817045255.GF3874@lst.de> References: <20210814123532.229494-1-ming.lei@redhat.com> <20210814123532.229494-7-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210814123532.229494-7-ming.lei@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 14, 2021 at 08:35:31PM +0800, Ming Lei wrote: > Allows group_cpus_evenly() to be called in case of !CONFIG_SMP by simply > assigning all CPUs into the 1st group. Looks good, but almost too large for an inline function.