From patchwork Mon Aug 16 13:35:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 12438527 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B892DC4338F for ; Mon, 16 Aug 2021 13:35:10 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 512866056B for ; Mon, 16 Aug 2021 13:35:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 512866056B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id D4BFA6B0071; Mon, 16 Aug 2021 09:35:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CFB8C6B0072; Mon, 16 Aug 2021 09:35:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BC3736B0073; Mon, 16 Aug 2021 09:35:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0089.hostedemail.com [216.40.44.89]) by kanga.kvack.org (Postfix) with ESMTP id 9EE5A6B0071 for ; Mon, 16 Aug 2021 09:35:09 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 4B2BC1267C for ; Mon, 16 Aug 2021 13:35:09 +0000 (UTC) X-FDA: 78481039938.24.5121C5D Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf02.hostedemail.com (Postfix) with ESMTP id 064E07004762 for ; Mon, 16 Aug 2021 13:35:08 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 458A26054F; Mon, 16 Aug 2021 13:35:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629120908; bh=WUjMNw3qQEQzUL6zMadYc3si628avB9ntZHJcU/VT/E=; h=From:To:Cc:Subject:Date:From; b=bQmMZmyhySiPGAk/DuWTWM7P68G7jXNMGbfSWuFWHL/BjXff7RvIykTJZfU/pi3SX 44Wn9Mn03Nv5fainZmbtOZGIWM4bi9m+bwxZIX+aOIA3hJLdD3y6XPm7WSDiWapvtI g7BZSVmiCQqBxDyLhCQZ8Qx87bmg9WpFbL602Xy8Zl/RxgIDYYyrjTSQBpRKTqM/nZ hes1y/90c+KA5ZszHXYoYMIUrx/H3y9tWbJ0HdD7UbvQF4U7eZylNowOv973PrDLsN rWbHvxqITuKH7SVy1D+wH00ILecoNv5rOJ+jWDQ+HhW4gcSAK4rtTo4JHm+ZJ9etyo LC5d3AaLBwiFg== From: Mike Rapoport To: Andrew Morton Cc: Mike Rapoport , Mike Rapoport , Peter Collingbourne , Steven Rostedt , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] mmflags.h: add missing __GFP_ZEROTAGS and __GFP_SKIP_KASAN_POISON names Date: Mon, 16 Aug 2021 16:35:02 +0300 Message-Id: <20210816133502.590-1-rppt@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=bQmMZmyh; spf=pass (imf02.hostedemail.com: domain of rppt@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 064E07004762 X-Stat-Signature: fi1egnit8hhyant9tihpt7bfgrkahe1n X-HE-Tag: 1629120908-116410 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Mike Rapoport Add missing names of __GFP_ZEROTAGS and __GFP_SKIP_KASAN_POISON flags to __def_gfpflag_names. Fixes: 013bb59dbb7c ("arm64: mte: handle tags zeroing at page allocation time") Fixes: c275c5c6d50a ("kasan: disable freed user page poisoning with HW tags") Signed-off-by: Mike Rapoport --- include/trace/events/mmflags.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/trace/events/mmflags.h b/include/trace/events/mmflags.h index 390270e00a1d..f160484afc5c 100644 --- a/include/trace/events/mmflags.h +++ b/include/trace/events/mmflags.h @@ -48,7 +48,9 @@ {(unsigned long)__GFP_WRITE, "__GFP_WRITE"}, \ {(unsigned long)__GFP_RECLAIM, "__GFP_RECLAIM"}, \ {(unsigned long)__GFP_DIRECT_RECLAIM, "__GFP_DIRECT_RECLAIM"},\ - {(unsigned long)__GFP_KSWAPD_RECLAIM, "__GFP_KSWAPD_RECLAIM"}\ + {(unsigned long)__GFP_KSWAPD_RECLAIM, "__GFP_KSWAPD_RECLAIM"},\ + {(unsigned long)__GFP_ZEROTAGS, "__GFP_ZEROTAGS"}, \ + {(unsigned long)__GFP_SKIP_KASAN_POISON,"__GFP_SKIP_KASAN_POISON"}\ #define show_gfp_flags(flags) \ (flags) ? __print_flags(flags, "|", \