Re: [RFC PATCH 01/19] lockdep: annotate reclaim context(__GFP_NOFS)

From: Peter Zijlstra
Date: Thu Jan 22 2009 - 15:30:00 EST


On Thu, 2009-01-22 at 20:40 +0100, Peter Zijlstra wrote:
> > + return;
> > + if (DEBUG_LOCKS_WARN_ON(irqs_disabled()))
> > + return;
> > +
> > + mark_held_locks(curr, RECLAIM_FS);
> > +}
>
> Not quite seeing how this happens though...
>
> [ 6.998258] WARNING: at /usr/src/linux-2.6/kernel/lockdep.c:2266
> lockdep_trace_alloc+0x58/0x69()

Doh, its getting there without __GFP_WAIT...



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