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.
Updated by Evgeny Novikov over 11 years ago
- Subject changed from 149: double use of init_complition(). to 149: double use of init_completion().
Updated by Alexey Khoroshilov over 11 years ago
- Subject changed from 149: double use of init_completion(). to 149: double use of init_completion()
Actions