[Prism54-devel] Re: CVS Update

Margit Schubert-While margitsw at t-online.de
Fri Aug 6 11:50:00 UTC 2004


At 13:37 06.08.2004 +0200, Aurelien scribeth:
>Hi Margit,
>the (!priv->mib) check in mgt_get_request should be a debugging test. It 
>should never happen. At least  if the rest is well coded (which isn't 
>the  case right now)... To solve the races with alloc/free of mib memory, 
>we should probably use the mib_sem. ie : take a read lock 
>before  accessing this memory and a write lock before allocating/freeing.
>There sould not be any need to recode all mgt_get_request calls in 
>isl_ioctl. Changing the locking in some function of oid_mgt.c should  be 
>enough.
>I'm gonna take a deeper look at this right now to see if all this is possible.

Yes, I agree.
Go for it !
I just want to get the kernel driver in good shape.

Thanks

Cheers

Margit




More information about the Prism54-devel mailing list