[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1207090851530.27519@router.home>
Date: Mon, 9 Jul 2012 08:52:13 -0500 (CDT)
From: Christoph Lameter <cl@...ux.com>
To: Fengguang Wu <fengguang.wu@...el.com>
cc: Vegard Nossum <vegard.nossum@...il.com>,
Pekka Enberg <penberg@...nel.org>,
Linux Memory Management List <linux-mm@...ck.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: WARNING: __GFP_FS allocations with IRQs disabled
(kmemcheck_alloc_shadow)
On Sun, 8 Jul 2012, Fengguang Wu wrote:
> Hi Vegard,
>
> This warning code is triggered for the attached config:
>
> __lockdep_trace_alloc():
> /*
> * Oi! Can't be having __GFP_FS allocations with IRQs disabled.
> */
> if (DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags)))
> return;
>
> Where the irq is possibly disabled at the beginning of __slab_alloc():
Rights its possible. Depends on the callers specification of gfp flags.
View attachment "dmesg-kvm-waimea-2166-2012-07-08-11-02-20" of type "TEXT/PLAIN" (54320 bytes)
View attachment "config-3.5.0-rc5+" of type "TEXT/PLAIN" (56159 bytes)
Powered by blists - more mailing lists