Commit ed5f482
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.
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 ed5f482
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