From patchwork Tue Jun 27 04:23:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13293981 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D32BCEB64DD for ; Tue, 27 Jun 2023 04:23:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6BF4E8D0006; Tue, 27 Jun 2023 00:23:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 648548D0001; Tue, 27 Jun 2023 00:23:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4E76A8D0006; Tue, 27 Jun 2023 00:23:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 3ADE18D0001 for ; Tue, 27 Jun 2023 00:23:33 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 0F86B808F8 for ; Tue, 27 Jun 2023 04:23:33 +0000 (UTC) X-FDA: 80947233906.07.9EEF399 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by imf05.hostedemail.com (Postfix) with ESMTP id 51A1B100009 for ; Tue, 27 Jun 2023 04:23:30 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=xItssmSv; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf05.hostedemail.com: domain of 3QWSaZAYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3QWSaZAYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1687839810; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=avzs4/2teeLyiygOd/b1Z8yOJdjymCMBXiqSvPvjnU8=; b=z/C0iivoZPDW6Era4Vl+R0Uq4RC6IJWDnDTf1AGMlGZsErWTSnRrjJ/QhTMigdH3RLdCws wJBfCsNduWjm3x4xepjXRfTDCXn/y0WjOXMsf6kBkXek85FFtq88mhu7mHqCDM6Q3A0HZu SHgZ6GiW/pd1BMjY88MbPUY+jJsEYZQ= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=xItssmSv; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf05.hostedemail.com: domain of 3QWSaZAYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3QWSaZAYKCJ4QSPCL9EMMEJC.AMKJGLSV-KKIT8AI.MPE@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1687839810; a=rsa-sha256; cv=none; b=1jPk6gaUsYwl9XqbV/3i3R32fQ1AiePz3JdUiOcwlMSTDdmTG8ZTkm6cC4iyEhjmqbDJOv 0erL1WMriq72YVkL4xI1G6doVqR+CCZJIVajGXDw9hIeJNpD+V2lT1jwgLlANIDilM9ctF gIvyhplwyPXGZwYHf/Q//6fqdBamAUQ= Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-5704e551e8bso54509717b3.3 for ; Mon, 26 Jun 2023 21:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687839809; x=1690431809; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=avzs4/2teeLyiygOd/b1Z8yOJdjymCMBXiqSvPvjnU8=; b=xItssmSvERMw9dsz1Nh5mK37qPbVAP5IEkuWu1uDTGcdg9Vwz2ARZEnjyozZOEqUuG e8uckzXLnLK7yP5FRM7n4SZnRy9wztCXumxHxgkSmrrAMof/XLBanlvGazRLnO/sRoJN UCIl1KpUKDC8OR2vK1T4hTMRgAefTBd7NM+Dx6ZXICvZBrXfyNX3TUTCKVgYWm2hUS2l gOq88g1izAtjxSu5tZWmDb9LNBvXrPbf9h1PhZMWTUxNWgeVfGL1S4kF5FPib76mtzVI DLL3RiWHlMy/zCm8bB7icB7scjmZmtSqhqRFvK87ijBCTPJOJVmbS5n00YK5TtuwF9oT e7Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687839809; x=1690431809; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=avzs4/2teeLyiygOd/b1Z8yOJdjymCMBXiqSvPvjnU8=; b=gQ7PZ1gnX3BJqf+Wm5ashPAK3UEkOd6UOjh21PUrBdBGvl1iEYy9zIyho/ZKAfXB9h PSuiTRzp5JSJGctl5Oj6/zN4dfSuFeAj8AUcC0K1Ze0c7vp+psvOiF8wtR75D2jcYUEC q8a/oFXGR3c2lhERhf0upz10VwHthvccF/wJIZggmKRLwrZi19dxknVO8PqnuigzxIYO 7K76qLlU3X0+qhdcAL3X4HEyKisR+6vJDStddtb1EZtYNPIEOR7WJ9fOEAKZFGZ4y67z KFCOYwnZZ9dXYzLw0emjwtoB0GO+9JC9jZ4Wi2FBSvFNI84IlpAeXMR19+x3WAsQ45fN G+bg== X-Gm-Message-State: AC+VfDyliL5PBx6EH4p5+J5iSGsoUWPKTvsUltxLAp3ItX2LnfMDz9+z vI2d8zFL6smAoeVloXPV5m5hp/Y6tPU= X-Google-Smtp-Source: ACHHUZ5AuZJxZCfveJ0bV7TxtQYd9lNOfSSAPqhvcXC32iXyNPsD+vrMDeCVzVPvKZJ/jqjM2C5sDhTgrX4= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:5075:f38d:ce2f:eb1b]) (user=surenb job=sendgmr) by 2002:a25:a28f:0:b0:c15:cbd1:60da with SMTP id c15-20020a25a28f000000b00c15cbd160damr2662160ybi.6.1687839809398; Mon, 26 Jun 2023 21:23:29 -0700 (PDT) Date: Mon, 26 Jun 2023 21:23:15 -0700 In-Reply-To: <20230627042321.1763765-1-surenb@google.com> Mime-Version: 1.0 References: <20230627042321.1763765-1-surenb@google.com> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog Message-ID: <20230627042321.1763765-3-surenb@google.com> Subject: [PATCH v3 2/8] mm: add missing VM_FAULT_RESULT_TRACE name for VM_FAULT_COMPLETED From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: willy@infradead.org, hannes@cmpxchg.org, mhocko@suse.com, josef@toxicpanda.com, jack@suse.cz, ldufour@linux.ibm.com, laurent.dufour@fr.ibm.com, michel@lespinasse.org, liam.howlett@oracle.com, jglisse@google.com, vbabka@suse.cz, minchan@google.com, dave@stgolabs.net, punit.agrawal@bytedance.com, lstoakes@gmail.com, hdanton@sina.com, apopple@nvidia.com, peterx@redhat.com, ying.huang@intel.com, david@redhat.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, viro@zeniv.linux.org.uk, brauner@kernel.org, pasha.tatashin@soleen.com, surenb@google.com, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@android.com X-Rspamd-Queue-Id: 51A1B100009 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: irr1oz6kkmpbeqpjthw4sptm684ot4ag X-HE-Tag: 1687839810-363147 X-HE-Meta: U2FsdGVkX1+n0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UqaZdsIrOTIzcucSoCb6VUfkByOnw/+mx6pzIWswNJ9m0miBqs799ksizT7OD+s64u5Cld4tRs6yzBhIIS9DO1XFEHDeZi4DfbqzhTKxSJ23YcZtpu4CIzhkKwYY59cnQ3KJJ0IKniMvRAy7LKnf2rMi2tB7eReBrBsQoelP80xnNp11XZMUr57FCR0R2AfLeKi58Dv4MD/sAsPN6tog5rnK/Pt1wODIEeZZ2deRe1vMXKmjhslwBWQ55THiCuPweCJ636Uuglu2GQZeQdNNjVgaGYL7/K6v0Xo129RIkA8MXG1+K8HToXXTP/RmhuIxHQAsx30iRx5b4mzr/SObvZHcpy2muy3zizC84OPJwKqDinB8xiw6Sw1Zeqq3QqmId4BzN1xiKBere+PLPSpKNypDjFhE+3vX63VbaHPIiz+l16H6cIX0MIiLZSSI9yWtikJ//2SlL5uNvKQybWQ/XDid84u0EmHaOevWFpQGrr4Qs7xdZDHeS/BG6swgRt1V7vPGD7yNlq0kx0PKv3Ieoy8cnhNX5qrWvBi9/musX8bpfPEC+iVLjLU098LhSNg9bVURrKKY/yZXiFTWW5H9g== 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: VM_FAULT_RESULT_TRACE should contain an element for every vm_fault_reason to be used as flag_array inside trace_print_flags_seq(). The element for VM_FAULT_COMPLETED is missing, add it. Signed-off-by: Suren Baghdasaryan Reviewed-by: Peter Xu --- include/linux/mm_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 306a3d1a0fa6..79765e3dd8f3 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -1070,7 +1070,8 @@ enum vm_fault_reason { { VM_FAULT_RETRY, "RETRY" }, \ { VM_FAULT_FALLBACK, "FALLBACK" }, \ { VM_FAULT_DONE_COW, "DONE_COW" }, \ - { VM_FAULT_NEEDDSYNC, "NEEDDSYNC" } + { VM_FAULT_NEEDDSYNC, "NEEDDSYNC" }, \ + { VM_FAULT_COMPLETED, "COMPLETED" } struct vm_special_mapping { const char *name; /* The name, e.g. "[vdso]". */