uiomove and mutex

2010-01-11 Thread H.Fazaeli
dear gurus man mutex(9) states that: No mutexes should be held (except for Giant) across functions which access memory in userspace, such as copyin(9), copyout(9), uiomove(9), fuword(9), etc. No locks are needed when calling these functions. can someone pls. explain why it is so? Suppose I

Re: uiomove and mutex

2010-01-11 Thread Xin LI
On Mon, Jan 11, 2010 at 11:22 AM, H.Fazaeli faza...@sepehrs.com wrote: dear gurus man mutex(9) states that: No mutexes should be held (except for Giant) across functions which access memory in userspace, such as copyin(9), copyout(9), uiomove(9), fuword(9), etc.  No locks are needed when

Re: uiomove and mutex

2010-01-11 Thread Max Laier
On Monday 11 January 2010 20:22:39 H.Fazaeli wrote: dear gurus man mutex(9) states that: No mutexes should be held (except for Giant) across functions which access memory in userspace, such as copyin(9), copyout(9), uiomove(9), fuword(9), etc. No locks are needed when calling these