Re: [PATCH 00/12] move pagetable_*_dtor() to __tlb_remove_table()

From: Peter Zijlstra
Date: Sat Dec 14 2024 - 13:55:37 EST


On Sat, Dec 14, 2024 at 05:02:46PM +0800, Qi Zheng wrote:

> As proposed [1] by Peter Zijlstra below, this patch series aims to move
> pagetable_*_dtor() into __tlb_remove_table(). This will cleanup pagetable_*_dtor()
> a bit and more gracefully fix the UAF issue [2] reported by syzbot.

I'll go over the patches in more detail on Monday, but at least the
first few patches should probably carry something like:

Originally-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Since you extracted it from my half-baked patch, the rest could probably
do with:

Suggested-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Anyway, thanks for doing this, and so quicky! As said, I'll read more on
Monday.