Thread (13 messages) 13 messages, 6 authors, 2012-07-10

Re: WARNING: __GFP_FS allocations with IRQs disabled (kmemcheck_alloc_shadow)

From: Christoph Lameter <hidden>
Date: 2012-07-09 13:52:25
Also in: lkml

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.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help