From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f41.google.com (mail-pb0-f41.google.com [209.85.160.41]) by kanga.kvack.org (Postfix) with ESMTP id DCD036B0035 for ; Wed, 12 Mar 2014 20:49:46 -0400 (EDT) Received: by mail-pb0-f41.google.com with SMTP id jt11so298734pbb.28 for ; Wed, 12 Mar 2014 17:49:46 -0700 (PDT) Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [2607:f8b0:400e:c02::22a]) by mx.google.com with ESMTPS id ey10si121717pab.24.2014.03.12.17.49.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Mar 2014 17:49:46 -0700 (PDT) Received: by mail-pd0-f170.google.com with SMTP id v10so299995pde.1 for ; Wed, 12 Mar 2014 17:49:45 -0700 (PDT) Date: Wed, 12 Mar 2014 17:49:43 -0700 (PDT) From: David Rientjes Subject: Re: [RESEND PATCH] slub: fix high order page allocation problem with __GFP_NOFAIL In-Reply-To: <1394612780-8033-1-git-send-email-iamjoonsoo.kim@lge.com> Message-ID: References: <1394612780-8033-1-git-send-email-iamjoonsoo.kim@lge.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Joonsoo Kim Cc: Pekka Enberg , Christoph Lameter , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim , Andrew Morton , Christian Casteyde On Wed, 12 Mar 2014, Joonsoo Kim wrote: > SLUB already try to allocate high order page with clearing __GFP_NOFAIL. > But, when allocating shadow page for kmemcheck, it missed clearing > the flag. This trigger WARN_ON_ONCE() reported by Christian Casteyde. > > https://bugzilla.kernel.org/show_bug.cgi?id=65991 > https://lkml.org/lkml/2013/12/3/764 > > This patch fix this situation by using same allocation flag as original > allocation. > > Reported-by: Christian Casteyde > Signed-off-by: Joonsoo Kim Acked-by: David Rientjes -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org