Re: struct semaphore::rwsem

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

 



On Thu, Jan 22, 2004 at 07:16:26PM +0100, Frank.A.Uepping@t-online.de wrote:
> Hi,
> I am wondering, that the struct subsystem uses a struct rw_semaphore for 
> locking. Consequently the use of kobject_un/register() is prohibited in 
> interrupt context (because rwsem can block); is this not to restricted?

No.  Why would you want to do that in a interrupt context?

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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