Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4375461ybi; Mon, 15 Jul 2019 08:02:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWn6jY9dGKBwm1/J1i1QMDfkSGQvKad5TLRoOJpqbOdGJxjfhcAV2U8u+HyT2NReiVoDJ7 X-Received: by 2002:a17:902:4201:: with SMTP id g1mr29008402pld.300.1563202962091; Mon, 15 Jul 2019 08:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563202962; cv=none; d=google.com; s=arc-20160816; b=v+7rsMopM/eWaAjWvySJa2Bo6WwXElffGAM9xEO2H4tv3rjQ4Wu5JitWivw/EF9l6h vblLyAwv/RK53X51rSH3DKzhkHXaFbB4zUu9pKIkDVtW5rZuaPCd42Z6ne4D75hNpq6o +zYB9lOn0odVLBPUnS4M38NLf5WYV4XZeWwfCHBXAxb4NKpLr2lmQTL+dIkHS47CxDrX XnSHAJewEtrQcKLWpLQaNGssB8IR2U5gWdCNv93W05cdmQdjvePopbwiw/GyZF0qXwCH FB/7sEFjTVebGTizksX6B+Kd8PKXdY+/7gZ0KDjPAzLX2IcggrCY+Nn59hY+AQGXQ4/z Ciqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=9illoX/lgZgRmB149QSdUSTaY6vK5Drr6t7JdhNt6/U=; b=JX3TbZvNbP5DUalTgqIOmunEg+ZsJc6e0sgWfZmF/w/0Rd5b/KyKArLmuFibAyObb9 2iJdXOsTZUJJvfR9RIGA51wCjldpwavWRS8l428T5luhIdCDXSHajnwPOfPyQ9fRxKMY VtBdRFOSjfBXrCgsV5loT4hB6TOcZhbQtlVMMru3d9vIlmdYhsvtVF1bkg6WA4bAAwZ6 YVGarBjd2nNE9TcLP3Aq0bLbajKW3wjcWuv+bOGwiIEi54N89NF0etOmhqzuIm1U257J UumXIH0AiP3pUTp5WxSGxcdZO5NxBPP8Cq5P8m4VJoyb+KWXvpPqML8dwcp3PCd05bdn 4uog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DYrtLb7s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si1384620pgp.288.2019.07.15.08.02.22; Mon, 15 Jul 2019 08:02:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DYrtLb7s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731504AbfGOPBE (ORCPT + 99 others); Mon, 15 Jul 2019 11:01:04 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:36006 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389567AbfGOPBD (ORCPT ); Mon, 15 Jul 2019 11:01:03 -0400 Received: by mail-io1-f65.google.com with SMTP id o9so34624969iom.3 for ; Mon, 15 Jul 2019 08:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=9illoX/lgZgRmB149QSdUSTaY6vK5Drr6t7JdhNt6/U=; b=DYrtLb7sMB46zxNRJnG85/ftn6zE7TFfjTN+5wQYTnY+QHAqScIXon2svnkersHAFM 1Xt023H9TNITyB9es+v0i3uxdSBQs7k/aSgH77UYwxi+alo1MNWQswVKqQ6eopKF1LIZ NT8URj+mVL/DFnYl/Muz3CQgjN2adCpdRSD5HnjTDZV6yQNc0gnUu5nr7umVAlbVymQI csKl3kN6GiwinqBddVagShTG9XJfDZupWVw3FPLpe3iCiJsqmuOMxAVttKeN4Xmw0gE4 gG8FPB2e8OvvZYz4/qQ9JYMCpEkbX4+WHPbgqrdMjGi6V80YGO6hytcCGvr356uZf0fh Rz8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=9illoX/lgZgRmB149QSdUSTaY6vK5Drr6t7JdhNt6/U=; b=kTsMfW5Z4/18sarS1FjnmUo4hAfP8mJN/l1bWuidwVgja/BGgcne9tQga3xCjkXh1d ZzCMNQ+hZKJDE0O2Yucnfgff6ctgg/As8PNRkRTrc7YTRS53Zr6tvcniIOCeAeYlyzzB WbSb8dBu5RTmHxy1z8lBNrOaQUhXVMVldKCyTpIcBLdiKWDJRjgCdV2H4x7RpZrr54bb IP2x20V8WNbRJThHznJa/g5zICjIQsUXYZ3UT53TW3ZmIGNBbNNcgPtr+/T54ZtTIFmM wTqprfrPrQZBHap3C0UMVxK4sOvK7hzu172DyfLqBoM1Yz2bmHMUg5GikCDaO0OrPgda p+vQ== X-Gm-Message-State: APjAAAXCWX4XZAb/6QFTsUO5sjWPOm+0bW621KBcw+n6ZdCSk9jO/ead LeqSw9BNfVYXxjhE6wYrvf4= X-Received: by 2002:a5e:c803:: with SMTP id y3mr25041911iol.308.1563202862289; Mon, 15 Jul 2019 08:01:02 -0700 (PDT) Received: from [192.168.1.249] ([67.167.44.43]) by smtp.gmail.com with ESMTPSA id m25sm10511707ion.35.2019.07.15.08.01.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2019 08:01:01 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] mm: page_alloc: document kmemleak's non-blockable __GFP_NOFAIL case From: Catalin Marinas X-Mailer: iPhone Mail (16F203) In-Reply-To: <20190715131732.GX29483@dhcp22.suse.cz> Date: Mon, 15 Jul 2019 10:01:00 -0500 Cc: Yang Shi , "dvyukov@google.com" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <1562964544-59519-1-git-send-email-yang.shi@linux.alibaba.com> <20190715131732.GX29483@dhcp22.suse.cz> To: Michal Hocko Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15 Jul 2019, at 08:17, Michal Hocko wrote: > On Sat 13-07-19 04:49:04, Yang Shi wrote: >> When running ltp's oom test with kmemleak enabled, the below warning was >> triggerred since kernel detects __GFP_NOFAIL & ~__GFP_DIRECT_RECLAIM is >> passed in: >=20 > kmemleak is broken and this is a long term issue. I thought that > Catalin had something to address this. What needs to be done in the short term is revert commit d9570ee3bd1d4f20ce6= 3485f5ef05663866fe6c0. Longer term the solution is to embed kmemleak metadat= a into the slab so that we don=E2=80=99t have the situation where the primar= y slab allocation success but the kmemleak metadata fails.=20 I=E2=80=99m on holiday for one more week with just a phone to reply from but= feel free to revert the above commit. I=E2=80=99ll follow up with a better s= olution.=20 Catalin