[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae8aa8d7-4121-4939-9890-c54e0aee7896@bytedance.com>
Date: Mon, 6 Jan 2025 16:38:32 +0800
From: Qi Zheng <zhengqi.arch@...edance.com>
To: Kevin Brodsky <kevin.brodsky@....com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
Catalin Marinas <catalin.marinas@....com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Linus Walleij <linus.walleij@...aro.org>, Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, "Mike Rapoport (IBM)"
<rppt@...nel.org>, Ryan Roberts <ryan.roberts@....com>,
Thomas Gleixner <tglx@...utronix.de>, Will Deacon <will@...nel.org>,
Matthew Wilcox <willy@...radead.org>, linux-alpha@...r.kernel.org,
linux-arch@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-csky@...r.kernel.org, linux-hexagon@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-m68k@...ts.linux-m68k.org,
linux-mips@...r.kernel.org, linux-openrisc@...r.kernel.org,
linux-parisc@...r.kernel.org, linux-riscv@...ts.infradead.org,
linux-s390@...r.kernel.org, linux-snps-arc@...ts.infradead.org,
linux-um@...ts.infradead.org, loongarch@...ts.linux.dev, x86@...nel.org
Subject: Re: [PATCH v2 0/6] Account page tables at all levels
On 2025/1/4 02:44, Kevin Brodsky wrote:
> v1: https://lore.kernel.org/linux-mm/20241219164425.2277022-1-kevin.brodsky@arm.com/
>
> This series should be considered in conjunction with Qi's series [1].
> Together, they ensure that page table ctor/dtor are called at all levels
> (PTE to PGD) and all architectures, where page tables are regular pages.
> Besides the improvement in accounting and general cleanup, this also
> create a single place where construction/destruction hooks can be called
> for all page tables, namely the now-generic pagetable_dtor() introduced
> by Qi, and __pagetable_ctor() introduced in this series.
>
> v2 is essentially v1 rebased on top of mm-unstable, which includes Qi's
> v4 series. A number of patches from v1 were dropped:
>
> * v1 patch 4 is superseded by patch 6 in Qi's series.
> * v1 patch 5 and 6 moved to Qi's series from v3 onwards.
> * v1 patch 7 is superseded by patch 4 in Qi's series.
>
> Changes from v1 in the remaining patches:
>
> * Patch 1 only introduces __pagetable_ctor() as there is now a single
> generic pagetable_dtor().
>
> * Patch 3 and 6: in arch/m68k/mm/motorola.c, free_pointer_table() can
> now unconditionally call pagetable_dtor() since it is the same for all
> levels.
>
> * Patch 6 just uses pagetable_dtor() instead of introducing
> pagetable_pgd_dtor().
>
> * Added Dave Hansen's Acked-by to all patches.
>
> - Kevin
>
> [1] https://lore.kernel.org/linux-mm/cover.1735549103.git.zhengqi.arch@bytedance.com/
> ---
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Cc: Catalin Marinas <catalin.marinas@....com>
> Cc: Dave Hansen <dave.hansen@...ux.intel.com>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: Andy Lutomirski <luto@...nel.org>
> Cc: Peter Zijlstra <peterz@...radead.org>
> Cc: "Mike Rapoport (IBM)" <rppt@...nel.org>
> Cc: Ryan Roberts <ryan.roberts@....com>
> Cc: Thomas Gleixner <tglx@...utronix.de>
> Cc: Will Deacon <will@...nel.org>
> Cc: Matthew Wilcox <willy@...radead.org>
> Cc: Qi Zheng <zhengqi.arch@...edance.com>
> Cc: linux-alpha@...r.kernel.org
> Cc: linux-arch@...r.kernel.org
> Cc: linux-arm-kernel@...ts.infradead.org
> Cc: linux-csky@...r.kernel.org
> Cc: linux-hexagon@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> Cc: linux-m68k@...ts.linux-m68k.org
> Cc: linux-mips@...r.kernel.org
> Cc: linux-openrisc@...r.kernel.org
> Cc: linux-parisc@...r.kernel.org
> Cc: linux-riscv@...ts.infradead.org
> Cc: linux-s390@...r.kernel.org
> Cc: linux-snps-arc@...ts.infradead.org
> Cc: linux-um@...ts.infradead.org
> Cc: loongarch@...ts.linux.dev
> Cc: x86@...nel.org
> ---
> Kevin Brodsky (6):
> mm: Move common part of pagetable_*_ctor to helper
> parisc: mm: Ensure pagetable_pmd_[cd]tor are called
> m68k: mm: Add calls to pagetable_pmd_[cd]tor
> ARM: mm: Rename PGD helpers
> asm-generic: pgalloc: Provide generic __pgd_{alloc,free}
> mm: Introduce ctor/dtor at PGD level
For this series:
Acked-by: Qi Zheng <zhengqi.arch@...edance.com>
Thanks!
Powered by blists - more mailing lists