Re: [PATCH v2 01/12] mm: Pass mm down to pagetable_{pte,pmd}_ctor

2025-04-25 Thread Alexander Gordeev
On Tue, Apr 08, 2025 at 10:52:11AM +0100, Kevin Brodsky wrote: > In preparation for calling constructors for all kernel page tables > while eliding unnecessary ptlock initialisation, let's pass down the > associated mm to the PTE/PMD level ctors. (These are the two levels > where ptlocks are used.)

[PATCH v2 01/12] mm: Pass mm down to pagetable_{pte,pmd}_ctor

2025-04-08 Thread Kevin Brodsky
In preparation for calling constructors for all kernel page tables while eliding unnecessary ptlock initialisation, let's pass down the associated mm to the PTE/PMD level ctors. (These are the two levels where ptlocks are used.) In most cases the mm is already around at the point of calling the ct