lkml.org 
[lkml]   [2007]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFT] bridge: eliminate port_check workqueue
On Wed, 21 Feb 2007 23:09:16 +0300
Oleg Nesterov <oleg@tv-sign.ru> wrote:

> On 02/21, Stephen Hemminger wrote:
> >
> > This is what I was suggesting by getting rid of the work queue completely.
>
> Can't comment this patch, but if we can get rid of the work_struct - good!
>
> > -static void port_carrier_check(struct work_struct *work)
> > +void br_port_carrier_check(struct net_bridge_port *p)
> > {
> > - struct net_bridge_port *p;
> > - struct net_device *dev;
> > - struct net_bridge *br;
> > -
> > - dev = container_of(work, struct net_bridge_port,
> > - carrier_check.work)->dev;
> > - work_release(work);
>
> May I ask you to redo this patch on top of
>
> [PATCH 1/3] net/bridge/br_if.c: don't use _WORK_NAR
> http://marc.theaimsgroup.com/?l=linux-kernel&m=117183517612775
>
> ?
>
> We are removing the _NAR stuff, it would be nice to do this in a separate
> patch.
>
> Thanks!
>
> Oleg.

I would rather put it in a bugfix patchset for 2.6.21 and 2.6.20-stable

--
Stephen Hemminger <shemminger@linux-foundation.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-02-21 22:25    [W:1.460 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site