Commit bfaaaf8
committed
Input: evdev - Modify the process of closing the evdev device to use the synchronize_rcu_expedited interface to speed up the shutdown process.
deepin inclusion
categroy: performace
As Documentations saied:
synchronize_rcu_expedited() instead
of synchronize_rcu(). This reduces latency,
but can increase CPU utilization, degrade
real-time latency, and degrade energy efficiency.
use it to optimize the shutdown process by
our system developer report where some input dev shutdown
cost many XXms.
With the patched kernel, shutdown cost time from 5.96 to 5.11.
Tested-by: qiancheng <qiancheng@uniontech.com>
Signed-off-by: huangbibo <huangbibo@uniontech.com>
Signed-off-by: tuhaowen <tuhaowen@uniontech.com>
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 721c505 commit bfaaaf8
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
387 | 393 | | |
388 | 394 | | |
389 | 395 | | |
| |||
0 commit comments