Re: [PATCH] kernfs: fix the race in the creation of negative dentry

From: Ian Kent
Date: Mon Sep 27 2021 - 01:31:51 EST

On Mon, 2021-09-27 at 09:51 +0800, Hou Tao wrote:
> Hi,
> On 9/23/2021 10:50 AM, Ian Kent wrote:
> > Great, although I was hoping you would check it worked as expected.
> > Did you check?
> > If not could you please do that check?
> It fixes the race. I rerun the stress test of module addition and
> removal,
> and the problem doesn't occur after 12 hours.

Great, thanks, I'll forward the patch to Greg after some basic testing.