[PATCH v2] staging: pi433: add mutex fixing concurrency issues.

Valentin Vidic Valentin.Vidic at CARNet.hr
Sat Jun 9 04:12:44 EDT 2018


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



More information about the Kernelnewbies mailing list