tech-kern archive

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

Re: Modules loading modules?



On Sun Aug 01 2010 at 06:10:07 -0700, Paul Goyette wrote:
> One question:  Since an adaptive kmutex_t already includes an owner 
> field, would we really need to have another copy of it in the rmutex_t 
> structure?

Good point.  I think it's ok to do:

  if (mutex_owned(mtx))
    cnt++
  else
    lock


Home | Main Index | Thread Index | Old Index