# Re: \[PATCH 1/7\] mm: fix the deadlock in finish\_fault()

- From: Qi Zheng \<hidden\>
- Date: 2021-07-19 09:53:21 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/07/1448939
- Thread: https://ratatoskr.run/linux-doc/2021/07/1448381/t.md

```text


On 7/19/21 5:28 AM, Kirill A. Shutemov wrote:
> On Sun, Jul 18, 2021 at 12:30:27PM +0800, Qi Zheng wrote:
>> The commit 63f3655f9501(mm, memcg: fix reclaim deadlock with writeback)
>> fix a deadlock bug by pre-allocating the pte page table outside of the
>> page lock, the commit f9ce0be71d1f(mm: Cleanup faultaround and
>> finish_fault() codepaths) rework the relevant code but ignore this race,
>> fix it.
>>
>> Fixes: f9ce0be71d1f(mm: Cleanup faultaround and finish_fault() codepaths)
>> Signed-off-by: Qi Zheng <redacted>
>
> Acked-by: Kirill A. Shutemov <redacted>
>
> and add stable@, please.
>

OK, I will add these in the patch v2, thanks.
```
