There are problems with del_timer_sync().
1. Scalability. All cpus are scanned to determine if the timer is
running on that cpu.
2. It is racy. The timer can be fired again after del_timer_sync
have checked all cpus and before it will recheck timer_pending().
This patch adds 'pending flag' to
There are problems with del_timer_sync().
1. Scalability. All cpus are scanned to determine if the timer is
running on that cpu.
2. It is racy. The timer can be fired again after del_timer_sync
have checked all cpus and before it will recheck timer_pending().
This patch adds 'pending flag' to
2 matches
Mail list logo