Re: [PATCH] ses: Fix racy cleanup of /sys in remove_dev()

From: Martin K. Petersen
Date: Thu Jul 28 2016 - 21:23:42 EST


>>>>> "Calvin" == Calvin Owens <calvinowens@xxxxxx> writes:

>> Any thoughts? Squinting at this more it still seems racy, but a
>> narrow race is surely better than just blatantly freeing everything
>> while the file is still exposed in /sys? Is there a better way you'd
>> prefer I accomplish this?
>>
>> (I have boxes that OOPS all the time from monitoring code reading the
>> /sys files, with this patch I haven't seen a single one.)

Calvin> Ping? Thoughts, comments?

James: This is your puppy...

--
Martin K. Petersen Oracle Linux Engineering