Re: Which types of locking should I use?

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

 



On Tue, 4 May 2004, Tetsuo Handa wrote:

> Hello, Jan.
> 
> (NOTE: I listed some functions where I want to use 'current',
> and the following is Jan's answer.
> Not applicable to all functions defined in fs/*.c !)
> "Jan Hudec <bulb@ucw.cz>" wrote:
> > Summary: All of the functions can safely use current without any special
> > precautions whatsoever. All of them may (and usualy do) sleep, since
> > they need 

Not sure that's always the case.

I believe that threads that share current->fs?

What am I missing?

Ian


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