Re: [PATCH v4] sysfs: fix kobject refcount to address races with kobject removal

From: Luis Chamberlain
Date: Fri Jun 25 2021 - 17:56:12 EST


On Thu, Jun 24, 2021 at 01:09:03PM +0200, Greg KH wrote:
> thanks for making this change and sticking with it!
>
> Oh, and with this change, does your modprobe/rmmod crazy test now work?

It does but I wrote a test_syfs driver and I believe I see an issue with
this. I'll debug a bit more and see what it was, and I'll then also use
the driver to demo the issue more clearly, and then verification can be
an easy selftest test.

Luis