Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1396328rwd; Thu, 8 Jun 2023 17:54:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7kgunf8jXXb4FZUi2hNeMVjfu09Kokr2vaW9TXc1I/RVJADmYrhfFmnYUzWtdTLs6YyDMQ X-Received: by 2002:a9d:7993:0:b0:6af:a180:3357 with SMTP id h19-20020a9d7993000000b006afa1803357mr47075otm.7.1686272048593; Thu, 08 Jun 2023 17:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686272048; cv=none; d=google.com; s=arc-20160816; b=oUeXh0Dw6teNPqcoH/BjYvHY9tTBdHA8tMhqa9uosLeHAbdJGYoelQKW4mDV0MmhrQ C04yCvS7XHkRH2ZRcFuzg3TKoRcX1fi7fBL0UgWyiWykJReGl0gfDXrRKSFlzuPBDazr 515l1xh6GWD5usBpWPKlcfI+FRcZcG66DPYr+zGU1TVLhudFbi8WWkIgO3fuqq++uEDG /WwpafgUS3mAYJSdi5PKvYKv2d0E+3hIJU2yqD7Y95hjVVq23My5P33FT+7N5RTofQxv XToUEY/fwBiMoMN6v2pbrHXCqNJEwZ9U/AmkAiyqMhrnUcFlx/9erqujF8BfBRNTDGiH QToQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=JqcDdPqSbAUSGbTjmvLRcpjiA0c+o9DbrViIiTIy+Ug=; b=m17jMrxC1dn4o2Q+e0KlWpyd72kUEKq4faD+Y/tCSYvtkQAPdcjRkV/cUx+zaAN+7f BKBJ5CdAdRorOCZNed/kgLeVBkPN5aaWWjipSzI9E83Z+tlHTB32BpFTQW9yO7pZzzj8 Us61Ep9CV4gW5oMozLet32gwkEINAwCapmpn7q15tzkEAFN6MPlbUPRBpwAoexR2AAbl aDSylx1b+E3eYi6HlL+6z5oqqVOQ28SOS0WlKsXzbkdnJiU0YXL/SUXkXgZsmfzbOo2Y bZ85ESCMu2EUvaZvk3Bp5fS0L6Ffy3Gx3sRUCiyhhjm3jPn2rdA2VV8puo6HA4zyVaYN MeFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="zXF0/SOz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a635110000000b005404f8dd0eesi1673627pgb.602.2023.06.08.17.53.56; Thu, 08 Jun 2023 17:54:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="zXF0/SOz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237308AbjFIAwR (ORCPT + 99 others); Thu, 8 Jun 2023 20:52:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237040AbjFIAwL (ORCPT ); Thu, 8 Jun 2023 20:52:11 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9241D270B for ; Thu, 8 Jun 2023 17:52:10 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-bb0d11a56abso1692787276.2 for ; Thu, 08 Jun 2023 17:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686271930; x=1688863930; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=JqcDdPqSbAUSGbTjmvLRcpjiA0c+o9DbrViIiTIy+Ug=; b=zXF0/SOz02AqM5BWf2P/zwcWEHhQEqJOZyXi3UZpbx8VPRWxCUcaRMvo1gco/xsra2 1KRka8Fv7Cz5TdkzcXaQgC6O85k85tL3gyx/iy3cDrh6mP1AOUruXIGz0ftmdJxZ1KRm ZZx2kRtlsPb6qeLOZNriXbpH5lr8UltQBDA01BaTWp8gpunXX21xn4/zrUa5rAnUvMfl mCkY25J/3lnSqtjOJla8DOtGiyoeA+L2vJd0IiqnWI7c7ZShrlyswyCHOWMMkPwl9HjW QFj7gjWymWSTqWnDk2iKhq+C7yb+32Ze1ontuD7AeEZ5CFFfLh23UfHmunZhj1vbgoCU wHiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686271930; x=1688863930; 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=JqcDdPqSbAUSGbTjmvLRcpjiA0c+o9DbrViIiTIy+Ug=; b=UBnyLi/2DLzARoYV4eE8mDzbju5vBjorNJ2JyX81L02vBWs8GofXZVVJ3717yDQQ3/ K6AjrrKpIP07t9Zz3SaKRavdBaoZ2YeBEEzPADEo+mjHO/oV6F2VrLFGR1EU89b8UkfY 0ARx/4lAqMhChER8l/K3Z9knWKSlubPFt0fSuS458c8/vgHppx2mat/JTB/7237qrM08 prh7zGUDdTFKXvPJvzmLqJh+drYohABluiVDtayj68h8dK6B52ppy+4EZpatZP1r/NZ0 KvszoHcypPR7XgJzPC0+mE2UEkOdkxWB5jgK9y5lYla7M5cfCC0YzeHIGadpz/1SdMpO tKOQ== X-Gm-Message-State: AC+VfDxCGW1Eca/0ggEQ2DLGPX8AWsySpMM9FTCekBweqgLpwCe6vZHV FN5+yhfxmoboTmSiwdIMulpln+VmT2U= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:c03e:d3b7:767a:9467]) (user=surenb job=sendgmr) by 2002:a25:db09:0:b0:bb1:5962:6fde with SMTP id g9-20020a25db09000000b00bb159626fdemr677035ybf.13.1686271929776; Thu, 08 Jun 2023 17:52:09 -0700 (PDT) Date: Thu, 8 Jun 2023 17:51:55 -0700 In-Reply-To: <20230609005158.2421285-1-surenb@google.com> Mime-Version: 1.0 References: <20230609005158.2421285-1-surenb@google.com> X-Mailer: git-send-email 2.41.0.162.gfafddb0af9-goog Message-ID: <20230609005158.2421285-4-surenb@google.com> Subject: [PATCH v2 3/6] 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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]". */ -- 2.41.0.162.gfafddb0af9-goog