Re: calling hooks from inside timer interrupt handler freezes machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi...


I actually followed your direction and made the pointer static. But that did not solve the problem which I think is expected if I am not wrong. Because even though the klife pointer passed in klife_open is local, we save the pointer in filp->private_data for any future access to that memory location. So even if the pointer gets destructed when we return from klife_open, we can still access that memory through filp->private_data?
My fault. I missed to see that the klife hook pointer is assigned to timer_interrupt_hook.

Right now, I have no more ideas. I suggest to test your module inside virtual machine such as Qemu and do the debugging there.... at least to see the EIP and stack trace when system hangs.

regards,

Mulyadi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux