lkml.org 
[lkml]   [2015]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC NEXT] mm: Fix suspicious RCU usage at kernel/sched/core.c:7318
    On Mon, Jun 15, 2015 at 04:25:18PM -0500, Larry Finger wrote:
    > Additional backtrace lines are truncated. In addition, the above splat is
    > followed by several "BUG: sleeping function called from invalid context
    > at mm/slub.c:1268" outputs. As suggested by Martin KaFai Lau, these are the
    > clue to the fix. Routine kmemleak_alloc_percpu() always uses GFP_KERNEL
    > for its allocations, whereas it should use the value input to pcpu_alloc().
    Just a minor nit, 'kmemleak_alloc_percpu() should follow the gfp from
    per_alloc()' may be a more accurate title to describe the patch.

    Acked-by: Martin KaFai Lau <kafai@fb.com>


    \
     
     \ /
      Last update: 2015-06-16 23:21    [W:6.626 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site