Re: polling device registers in ioctl

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

 



2010/10/6 Vikrant Malushte !! <malushtevikrant@xxxxxxxxx>:
> 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 ?
>
maybe this can help u.
http://lwn.net/Articles/119652/

> Thanks in advance .
>
>
>
>
>
> Regards,
> Vikrant Malushte .
>
>
>



-- 
Best Regards
Lin

--
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