From: Valentin.Vidic@CARNet.hr (Valentin Vidic) Date: Sat, 9 Jun 2018 10:12:44 +0200 Subject: [PATCH v2] staging: pi433: add mutex fixing concurrency issues. In-Reply-To: <20180607124216.GA2329@hle-laptop.local> References: <20180602175649.GA2816@hle-laptop.local> <20180607124216.GA2329@hle-laptop.local> Message-ID: <20180609081244.GP14048@gavran.carpriv.carnet.hr> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Jun 07, 2018 at 08:45:03AM -0400, Hugo Lefeuvre wrote: > After discussing this issue on the kernel newbies mailing list[0] we > came to the conclusion that it is very unlikely that pi433_release and > pi433_ioctl would ever run concurrently in this case. This is also > true for read/write. Unless one can find a situation where this might > happen, I think we should not add this potentially unnecessary lock. Yes, so we should than drop the TODO comment on this issue? -- Valentin