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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD19BC433FE for ; Tue, 8 Nov 2022 09:14:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 656DB6B0074; Tue, 8 Nov 2022 04:14:34 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6062C6B0075; Tue, 8 Nov 2022 04:14:34 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CE668E0002; Tue, 8 Nov 2022 04:14:34 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 418116B0074 for ; Tue, 8 Nov 2022 04:14:34 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 1D8AEAB791 for ; Tue, 8 Nov 2022 09:14:34 +0000 (UTC) X-FDA: 80109714468.03.CD18E60 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf07.hostedemail.com (Postfix) with ESMTP id C9D8640007 for ; Tue, 8 Nov 2022 09:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667898873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jl974esNqwVUZQrdA0rwXdnfcsjrzYfR8j0D0GOI1RI=; b=b5fx/r+ihXWI34UZig65h/QteA+3KKO3tUmq8iXbMmM5Zf3tDzEOBu5VS4dzeCloeuq3cy ja2pv+W+PE8Ff4rMH9IF1xlGvtsvCvENEaIVjTifeJqvbziZroyLJe1PxGJvkxv5iwhzqI k8Zwzj7cmWpKhxdWWFMKnz1GQYjffXs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-321-e9woTgahPpiqsG8pax1m-A-1; Tue, 08 Nov 2022 04:14:24 -0500 X-MC-Unique: e9woTgahPpiqsG8pax1m-A-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C745085A583; Tue, 8 Nov 2022 09:14:23 +0000 (UTC) Received: from localhost (ovpn-12-86.pek2.redhat.com [10.72.12.86]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0D66B40C947B; Tue, 8 Nov 2022 09:14:22 +0000 (UTC) Date: Tue, 8 Nov 2022 17:14:19 +0800 From: Baoquan He To: Dennis Zhou Cc: linux-kernel@vger.kernel.org, Tejun Heo , Christoph Lameter , Andrew Morton , linux-mm@kvack.org Subject: Re: [PATCH 0/8] Cleanup and optimization patches for percpu Message-ID: References: <20221024081435.204970-1-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667898873; a=rsa-sha256; cv=none; b=zUKGIWG5gxjhO8VOthY7Pi/oGfpYjKKlmRpkzfgsh0/MVwhN8waHVkUcncHEVkliDdXULg Da6NHY3DY+7g6pN+VAzwif5WlpsDBMUIAWN5HXR0Iop45aX6LOX97IC6296b4BeDJNzy1R OG+AHY4BP2NHL1hcO/BjczZQ+5NnTWA= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="b5fx/r+i"; spf=pass (imf07.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667898873; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=jl974esNqwVUZQrdA0rwXdnfcsjrzYfR8j0D0GOI1RI=; b=W76tPP24k1S9Ok8rDDIWTpp/GtLrlq2ZEsGVrstTwOCuAjcLtHxnSzV+wUVZUHan4w4DQD fiik2YMqb9O12yasdHDxKg6PamLvi7ZcfuRhUpU/825In/hC2N62d4/SBvUTc0HmtP7sYx uZ2ly/AUPZ0MBVrCgf35HghXJ0xHkqo= X-Stat-Signature: eas7ph4nz49ed459p5f1pfogmir4aiot X-Rspamd-Queue-Id: C9D8640007 Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="b5fx/r+i"; spf=pass (imf07.hostedemail.com: domain of bhe@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1667898873-253528 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 11/07/22 at 11:05pm, Dennis Zhou wrote: > Hello Baoquan, > > On Mon, Oct 24, 2022 at 04:14:27PM +0800, Baoquan He wrote: > > These were found out when reading percpu code, and queued in my local > > branch for long time. Send them out for reviewing. > > > > Baoquan He (8): > > mm/percpu: remove unused pcpu_map_extend_chunks > > mm/percpu: use list_first_entry_or_null in pcpu_reclaim_populated() > > mm/percpu: Update the code comment when creating new chunk > > mm/percpu: add comment to state the empty populated pages accounting > > mm/percpu: replace the goto with break > > mm/percpu.c: remove the lcm code since block size is fixed at page > > size > > mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS > > mm/slub, percpu: correct the calculation of early percpu allocation > > size > > > > include/linux/percpu.h | 7 +++---- > > mm/percpu.c | 44 +++++++++++++++++------------------------- > > mm/slub.c | 3 ++- > > 3 files changed, 23 insertions(+), 31 deletions(-) > > > > -- > > 2.34.1 > > > > > > I've applied patches 1-7 to for-6.2. Thanks a lot.