Re: [PATCH v3 15/17] mm: pgtable: remove tlb_remove_page_ptdesc()

2025-01-05 Thread Qi Zheng
On 2025/1/3 19:14, Peter Zijlstra wrote: On Sat, Dec 28, 2024 at 11:26:22AM +0200, Mike Rapoport wrote: On Mon, Dec 23, 2024 at 05:41:01PM +0800, Qi Zheng wrote: Here we are explicitly dealing with struct page, and the following logic semms strange: tlb_remove_page_ptdesc((tlb), (page_ptdes

Re: [PATCH v4 10/15] riscv: pgtable: move pagetable_dtor() to __tlb_remove_table()

2025-01-05 Thread Qi Zheng
Hi Kevin, On 2025/1/3 21:27, Kevin Brodsky wrote: On 03/01/2025 10:35, Qi Zheng wrote: On 2025/1/3 17:13, Qi Zheng wrote: On 2025/1/3 16:02, Kevin Brodsky wrote: On 03/01/2025 04:48, Qi Zheng wrote: [...] In __tlb_batch_free_encoded_pages(), we can indeed detect PageTable() and call pagetab

Re: [PATCH 6/8] modules: switch to execmem API for remapping as RW and restoring ROX

2025-01-05 Thread Marek Maślanka
On Sat, Jan 4, 2025 at 3:07 AM Luis Chamberlain wrote: > > On Fri, Jan 03, 2025 at 07:58:13AM +0100, Jürgen Groß wrote: > > On 03.01.25 03:06, Andrew Cooper wrote: > > > > Hi Mike, > > > > > > > > This commit is making my intel box not boot in mm-unstable :>) I > > > > bisected it to > > > > this