Received: by 10.192.165.148 with SMTP id m20csp4652062imm; Tue, 24 Apr 2018 06:22:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+P20FoIqi027xpEFBLLGRqkhybqxIvxmyNvRz+TEJW6eBUYfEqD6ST276AMJ8Rd5QdjHsu X-Received: by 10.99.111.201 with SMTP id k192mr20423116pgc.143.1524576167817; Tue, 24 Apr 2018 06:22:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524576167; cv=none; d=google.com; s=arc-20160816; b=N5k1PTTR4qnNk6mOOTDUJvn0xLwPE1G/F5UIOmRRo8EHW80Gp1cUgDSU4Ve3ZSC/FC x3umxiSHlb8CJcAIs600QFgmY8K1ONm/wRvF8z+vlmYh2Sx8+bLqry+huywDstL5BNh9 b7olJsne2ZjPnJGKIoZPoN7p7/QNhC95oLGAtY/yfEJqxUpt8SHB849p7cyocM8Pq5B1 Z1LHOIH75oUBIS2OBLNHzT2mzXT/7nn0xXX+66tnRpQmRSvSNcPvUoLRPTOih6/lZh4n Y88Ct7UkjJiEtGFa6cS+ifNGYxoe9Cz1lMdkQOAqz4SKV7o4/zVXzU4UGsCPcqSBdLTS 58KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=+aIVJxCTSh6zybnbU5gZwYS/8Gq8CeDgl8oUpR715s4=; b=ccPbK6TOsa7X1GMRm4oe7C7gsAeB1y8msoPJE6i5gVRkFzEJ+wBKU16iRVicfENSgN eeSbUl9USqVdcAi5dznAUjTe4s7i6039qQfhSmwP/AndYx0xhetrG2L2K4x+2Wl4Khq4 i+0vUnqdktOHK6+hILs3w7oN1krvM2YCc9aqB7xwzfA8hxFVjjGvK7O2yrGQgmpkVgme ARf73rHOYZoTHhmrgkGBfpN/v/Y9ht+LrIQTPgwTy4G71Rpa/gIb8m8XfisBTgMPTIcq AnwwGwrsH9VpJxexaJ6E00Yi7rXFmnZpMwbHB25/mFHIfhI6dLwpBGTJwF9LM1oQMx71 gY/A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5-v6si8703945plj.86.2018.04.24.06.22.33; Tue, 24 Apr 2018 06:22:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934165AbeDXNVH (ORCPT + 99 others); Tue, 24 Apr 2018 09:21:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:50677 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933950AbeDXNVB (ORCPT ); Tue, 24 Apr 2018 09:21:01 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AE13DADE7; Tue, 24 Apr 2018 13:21:00 +0000 (UTC) Date: Tue, 24 Apr 2018 07:20:57 -0600 From: Michal Hocko To: Chunyu Hu Cc: Dmitry Vyukov , Catalin Marinas , Chunyu Hu , LKML , Linux-MM Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in gfp_kmemleak_mask Message-ID: <20180424132057.GE17484@dhcp22.suse.cz> References: <1524243513-29118-1-git-send-email-chuhu@redhat.com> <20180420175023.3c4okuayrcul2bom@armageddon.cambridge.arm.com> <20180422125141.GF17484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 23-04-18 12:17:32, Chunyu Hu wrote: [...] > So if there is a new flag, it would be the 25th bits. No new flags please. Can you simply store a simple bool into fail_page_alloc and have save/restore api for that? -- Michal Hocko SUSE Labs