Re: [PATCH 5/6] [POWERPC] properly declare onstack completion in iseries veth

2008-04-10 Thread Benjamin Herrenschmidt
On Thu, 2008-04-10 at 12:56 +0200, Christoph Hellwig wrote: > On Thu, Apr 10, 2008 at 07:03:22AM +1000, Benjamin Herrenschmidt wrote: > > I don't think there's any difference between the _ONSTACK variant > > and the normal one without lockdep, is there ? > > No there's not. Thus it's a guarantee

Re: [PATCH 5/6] [POWERPC] properly declare onstack completion in iseries veth

2008-04-10 Thread Christoph Hellwig
On Thu, Apr 10, 2008 at 07:03:22AM +1000, Benjamin Herrenschmidt wrote: > I don't think there's any difference between the _ONSTACK variant > and the normal one without lockdep, is there ? No there's not. Thus it's a guaranteed no-op and can easily go in.

Re: [PATCH 5/6] [POWERPC] properly declare onstack completion in iseries veth

2008-04-09 Thread Benjamin Herrenschmidt
On Wed, 2008-04-09 at 10:36 +0200, Christoph Hellwig wrote: > On Wed, Apr 09, 2008 at 05:21:34PM +1000, Benjamin Herrenschmidt wrote: > > The iSeries veth driver uses an on-stack struct completion that > > it initializes using the COMPLETION_INITIALIZER instead of > > COMPLETION_INITIALIZER_ONSTAC

Re: [PATCH 5/6] [POWERPC] properly declare onstack completion in iseries veth

2008-04-09 Thread Stephen Rothwell
On Wed, 09 Apr 2008 17:21:34 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > The iSeries veth driver uses an on-stack struct completion that > it initializes using the COMPLETION_INITIALIZER instead of > COMPLETION_INITIALIZER_ONSTACK macro, causing problems with > lockdep. > > Signed

Re: [PATCH 5/6] [POWERPC] properly declare onstack completion in iseries veth

2008-04-09 Thread Christoph Hellwig
On Wed, Apr 09, 2008 at 05:21:34PM +1000, Benjamin Herrenschmidt wrote: > The iSeries veth driver uses an on-stack struct completion that > it initializes using the COMPLETION_INITIALIZER instead of > COMPLETION_INITIALIZER_ONSTACK macro, causing problems with > lockdep. should probably go in ASAP

[PATCH 5/6] [POWERPC] properly declare onstack completion in iseries veth

2008-04-09 Thread Benjamin Herrenschmidt
The iSeries veth driver uses an on-stack struct completion that it initializes using the COMPLETION_INITIALIZER instead of COMPLETION_INITIALIZER_ONSTACK macro, causing problems with lockdep. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- drivers/net/iseries_veth.c |3 ++- 1 f