tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: workqueue in if_bnx: static struct work * seems wrong
On Monday 27 February 2012 02:22:20 Jean-Yves Migeon wrote:
> On Sun, 26 Feb 2012 22:05:59 +0100, Manuel Bouyer wrote:
> > On Sun, Feb 26, 2012 at 05:22:50PM +0100, Jean-Yves Migeon wrote:
> >[...]
>
> Yep, you are right. I just had a look at workqueue(9) implementation
> this morning, and multiple bnx(4) instances would badly break with
> anything besides SIMPLEQ.
>
> Having a wk allocated in sc is the way to go.
Instead of every driver implementing its own memory management, would it not
make more sense to use an common mechanism like, e.g., pool_cache?
Regards,
Sverre
Home |
Main Index |
Thread Index |
Old Index