Re: ipw driver

看板DFBSD_submit作者時間21年前 (2004/09/21 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/17 (看更多)
On Mon, Sep 20, 2004 at 06:53:28PM +0000, Johannes Hofmann wrote: > Hello, > > I just removed all locking and adjusted some function arguments. This is > probably not quite the right way to do it :-). Is there any locking needed on > DragonFly? I did not find anything in the wi(4) driver. Locking in the sense that certain parts have to be protected by splimp/splx. You can always replace the mutex locking with splimp, with the exception of removing the unlocking / locking pair around (*ifp->if_inut)(ifp, m), but such a call shouldn't exist. That's the save approach, we can always remove such calls later, they might only reduce performance a bit. Joerg > > Thanks, > Johannes >
文章代碼(AID): #11Jp1I00 (DFBSD_submit)
文章代碼(AID): #11Jp1I00 (DFBSD_submit)