Re: [PATCH 11/12] mm: make userland page table freeing RCU-safe
Kiryl Shutsemau <[email protected]>
| Newsgroups | gmane.linux.ports.ppc.embedded |
|---|---|
| Message-ID | <apbSaL0YaQqtO9XB__18478.0867815547$1788269646$gmane$org@thinkstation> |
On Tue, Sep 01, 2026 at 12:01:31PM +0100, Lorenzo Stoakes (ARM) wrote: > With this change in place the kernel policy is now that all page tables are s/all/userspace/ as subject implies? BTW, what is your take on kernel page tables? Do we want the same policy there. pagetable_free_kernel() is not RCU-safe as it is. > freed after an RCU grace period, and thus it is now safe to unconditionally > perform page table walks under RCU, safe in the knowledge that page tables > will not be freed underneath the walker. -- Kiryl Shutsemau / Kirill A. Shutemov