Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757124AbbFQCnk (ORCPT ); Tue, 16 Jun 2015 22:43:40 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:34675 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753911AbbFQCnc (ORCPT ); Tue, 16 Jun 2015 22:43:32 -0400 Message-ID: <5580DED0.3060002@lwfinger.net> Date: Tue, 16 Jun 2015 21:43:28 -0500 From: Larry Finger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Martin KaFai Lau CC: Tejun Heo , Catalin Marinas , Christoph Lameter , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Kernel Team Subject: Re: [RFC NEXT] mm: Fix suspicious RCU usage at kernel/sched/core.c:7318 References: <1434403518-5308-1-git-send-email-Larry.Finger@lwfinger.net> <20150616210720.GC3958923@devbig242.prn2.facebook.com> In-Reply-To: <20150616210720.GC3958923@devbig242.prn2.facebook.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 20 On 06/16/2015 04:07 PM, Martin KaFai Lau wrote: > 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. Do you mean that the subject should be changed? Larry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/