Comment 12 for bug 1179282

Revision history for this message
vitorafsr (vitorafsr) wrote :

raphzahn (raphael-ku),

just to show the information that is returned when the customized attached module is run, I put the result of my laptop below. The slowest call took ~5 miliseconds, and is for querying the speed of the right fan, which, in my case, does not exist (my laptop has just the left fun).

As in my case I had a slow call, I believe in some systems this call might be very slow, causing the freeze, and one way to solve this is avoid calling unnecessary calls. If it is the case, some fix in the kernel module must be done. But this needs to modify the kernel source code and is a hard process. So, I need some help to know the time of calling i8k_smm function in some system, to perform the necessary fix in the module. If you consider helping in this task, I can give you all necessary support.

Jun 28 18:39:31 vitor-laptop kernel: [12918.544079] i8k_smm function took 127 usecs
Jun 28 18:39:31 vitor-laptop kernel: [12918.544281] i8k_smm function took 103 usecs
Jun 28 18:39:31 vitor-laptop kernel: [12918.544453] i8k_smm function took 99 usecs
Jun 28 18:39:31 vitor-laptop kernel: [12918.544626] i8k_smm function took 107 usecs
Jun 28 18:39:31 vitor-laptop kernel: [12918.549856] i8k_smm function took 5050 usecs
Jun 28 18:39:31 vitor-laptop kernel: [12918.550100] i8k_smm function took 91 usecs

Best regards.