lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 23 Jan 2009 08:33:26 +0100
From:	Nick Piggin <npiggin@...e.de>
To:	Peter Zijlstra <peterz@...radead.org>
Cc:	Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH 01/19] lockdep: annotate reclaim context (__GFP_NOFS)

On Thu, Jan 22, 2009 at 09:29:47PM +0100, Peter Zijlstra wrote:
> 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...

Ah, sorry. Thanks for debugging. Should just be a matter of sticking
a check for GFP_WAIT in there somewhere?

Thanks for pulling this in BTW (hopefully you don't see any more issues).
Your subsequent improvements all seem pretty nice to me too (although I
don't know the lockdep code well, but I didn't see any obviuos problems).

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ