Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1452201

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

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ses: Fix racy cleanup of /sys in remove_dev()
Date 2016-07-29 03:30 +0200
Message-ID <s04MF-63R-1@gated-at.bofh.it> (permalink)
References <ryrSH-2fO-11@gated-at.bofh.it> <s04MF-63R-3@gated-at.bofh.it> <s04MF-63R-5@gated-at.bofh.it> <s04MF-63R-7@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


>>>>> "Calvin" == Calvin Owens <calvinowens@fb.com> 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] ses: Fix racy cleanup of /sys in remove_dev() "Martin K. Petersen" <martin.petersen@oracle.com> - 2016-07-29 03:30 +0200

csiph-web