From patchwork Mon Dec 12 17:13:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Zhou X-Patchwork-Id: 32462 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2362084wrr; Mon, 12 Dec 2022 09:15:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Luuu2efcNUgRa4RADGi4EsFGpNuzCPBiewjXUKf7fIEuzBMynZ9BmNjmscqc9ExPCBEBb X-Received: by 2002:a17:907:7704:b0:7c1:79ce:a431 with SMTP id kw4-20020a170907770400b007c179cea431mr2772657ejc.25.1670865326066; Mon, 12 Dec 2022 09:15:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670865326; cv=none; d=google.com; s=arc-20160816; b=0VKzVYYHyqUWej5taCuy1lDiYDGXzV9qbNpwCeGJDkHmKFODcKM8uwib6TpCGfzM1k So4VywM3tqdkgVZEAKBwQhhATvKWoVunwB57bDQzalh2sWHRflGeAoe2Jsy9e4Tq7bzE e8OhUk9M7zDpP2FVLdLrKoUvczafaW4ColBEEVjanfwZR6u1XQdRn7DEZCuEakxQHz5h W30uxbLHB26NIDIS0U3hvqdn06a6l5ckeRmu0+TIsTCesrVqEB9s5AjHbjH35Rp8L1jt KUOCWstflbB+dzAfuN83YjdrndkGBE0BGSxkLL+AlXx49rXJtrczscfQvdVk8y9lfrCi yYPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=iPWM30xIqvrbd4o8O1iaeCeAFtWpQew9Gut9+/kteFU=; b=AqGkpbrGxo7XwDKBnCD854vz+TYrugbrwc7jJy2jp+RkHX0AHqh3zFGWC6L38PIS+8 Qddb8dOkttyo9ewv1QGgEppS9ydz3wlaVpSS8W8oCUq/m2vlreLspZwl+PJXehkx4Inc Sm3bJYiFlFPrfkc5XY64A+eTagYYoabVXIIh67B+JkPPG/bu6VqRO6sfQDdXpC5u5fdT nejPAnSadwMh5cXRayTdsrILpl0JM4+Z48NJ39z0jSe0c6U2tmOugQENPXGQKUKt/l// w9SvU52q+At/ha19DL3w0qW2jIwBkXoEoOxKFTbCk2Nsf2lE4lr0ajm+yx6w77lmN6hh 99+A== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho40-20020a1709070ea800b007c0fa8181c4si7824700ejc.567.2022.12.12.09.15.03; Mon, 12 Dec 2022 09:15:26 -0800 (PST) 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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232478AbiLLROD (ORCPT + 99 others); Mon, 12 Dec 2022 12:14:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232801AbiLLRNx (ORCPT ); Mon, 12 Dec 2022 12:13:53 -0500 Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6D7212AE7 for ; Mon, 12 Dec 2022 09:13:46 -0800 (PST) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-381662c78a9so155972017b3.7 for ; Mon, 12 Dec 2022 09:13:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iPWM30xIqvrbd4o8O1iaeCeAFtWpQew9Gut9+/kteFU=; b=IXe0fzWypqud2dSa1RNowf/Znp/79qS7PF/pLOy1WiNbRdC2j8ATXZPBY02f8Q0yut T3so0yLvTqniUXTQxcIUGNlbiESU5i70F4lAkc7efE6gsM+jhCrm+aATAIJdvkMvUJ8u SEDHBTBu9nGUrK8bHteBLCbS0+FTMPRhMLmgHpNmKypdByPHYLWlKqMGRlKk2LL0GNYY KzG/S2c9Vaxps8AKReqaUxYwFWAfflMzrqHL+K/Dd1RcvLGR4/JUdMY/eTIbqxfAq+Vl +2HrCCz51nb9UicbkXJlIdtoIWSmYxqRKMIB14WEuHJ03aAN9Fj958ydOXsjrcMQGn4/ KVzQ== X-Gm-Message-State: ANoB5pkdlBKVuK+VRakTp3oGyXr1hExW9zGY1UeK3m2gdnbyS2UOURTm 7gb2/mfljOjOE3QPyENABw0= X-Received: by 2002:a81:190e:0:b0:364:1ba5:67e4 with SMTP id 14-20020a81190e000000b003641ba567e4mr15183353ywz.17.1670865225813; Mon, 12 Dec 2022 09:13:45 -0800 (PST) Received: from fedora ([50.220.117.222]) by smtp.gmail.com with ESMTPSA id f1-20020ac84981000000b003a7fc70d59csm6082190qtq.41.2022.12.12.09.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 09:13:45 -0800 (PST) Date: Mon, 12 Dec 2022 09:13:42 -0800 From: Dennis Zhou To: Linus Torvalds Cc: Tejun Heo , Christoph Lameter , Vlastimil Babka , Baoquan He , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] percpu changes for v6.2-rc1 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752029280125149581?= X-GMAIL-MSGID: =?utf-8?q?1752029280125149581?= Hi Linus, Baoquan was nice enough to run some clean ups for percpu. There will be a minor merge conflict with Vlastimil's slab PR [1]. This is due to adjusting the PERCPU_DYNAMIC_EARLY_SIZE up for proper early percpu reservation size on arm64 with 64k pages. [1] https://lore.kernel.org/all/20221122163634.3b21cf71@canb.auug.org.au/ Some new eventual work is potential BPF accounting of percpu. Thanks, Dennis The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc: Linux 6.1-rc4 (2022-11-06 15:07:11 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-6.2 for you to fetch changes up to d667c94962c1c81ef587ac91dc5c01a1cfe339c7: mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS (2022-11-07 22:59:28 -0800) ---------------------------------------------------------------- Baoquan He (7): 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 include/linux/percpu.h | 7 +++---- mm/percpu.c | 44 ++++++++++++++++++-------------------------- 2 files changed, 21 insertions(+), 30 deletions(-)