polling device registers in ioctl

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

 



hi all ,

I am writing a driver for PCIe custom device. I use character device driver interface .
I have  Linux 2.6.18 SMP  kernel on test machine .

Whenever i try to poll any device register in  any ' ioctl ' ; system becomes unresponsive as long as polling is continued.
 I have not acquired any lock while polling the device register .

If i use ' unlocked_ioctl ' entry point then above problem is not observed .

Is this problem due to  Big Kernel Lock in ' ioctl ' entry point ?
What precautions one has to take when holding a BKL ?

Thanks in advance .





Regards,
Vikrant Malushte .



[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