Actions
Feature #3866
open149: double use of init_completion()
Start date:
01/18/2013
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
Repeating use of init_completion() would be able to create possible race condition.
To avoid it we can reinit completion using INIT_COMPLETION(). Commit 41682e03d4f on torvalds fix this problem.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=41682e03d4f
In some cases (for example, if the critical section is used) double use of init_complition() don't lead to error.
Actions