Why no trylock for read/write_bh?

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

 



Hello,

I am working on a kernel module and need read/write locks of the bh-kind due to the module needing to process input from a proc-variable. To avoid deadlocks, I need to use trylock to determine if somebody is holding the lock or not. Unfortunately, I cannot find a trylock_bh for the read/write-lock and I am just curious is to why? Does it not make sense, have I missed something in the kernel code or is it because of something else?

Thanks,
Kristian

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