DragonFly submit List (threaded) for 2004-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: ipw driver
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
>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]