Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1703423rwr; Fri, 5 May 2023 19:58:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Dbyp9gaVCNVIpHWwg89/30lpsUQFYdklAbR6rNqoyulSSGYEvXurmZ8lTInssjRPPCz8N X-Received: by 2002:a17:90b:a13:b0:24d:ebfe:be93 with SMTP id gg19-20020a17090b0a1300b0024debfebe93mr3572128pjb.37.1683341903865; Fri, 05 May 2023 19:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683341903; cv=none; d=google.com; s=arc-20160816; b=eTh9av58fIG3RkgFyNPzMDzxp4ce6F0IyYmx1KSVob2unFhUUS9DgqPiSFg5E4jPV+ oXPSTcuZ+tWdLoz4yaZxnk4kK9JHvgxOuXinZoGqeFnXf8BXcMeJXDbZ/BgZNBOd/ZGx RTEfsUOT7PJ8u2r6tqLuTNauCmOTzvt9xjF/afHVaYXrZ/i6Tpe/z+07b6jFbXtTXQTj nzK6DXwBRCa++hSUCLJWqPlJ75lO3vu5hCAiDZiG0NK4wMGRexyyaLTakBWVyMSySX0K fe3xtslWTAIqKPAwqOsbbPfeEdDkxYd9E2l6hAPrz1JD80Re+nh/Nt2QkzK8SE3rgHQK lCUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=IXa2WM+Ux0ryWdk9v/juQWn6Ta5HKrRkFJpku8aKUgk=; b=f7bndEKe3PURj/ZtPZzp3sJJ7BJqvDqBxkargaR9DOiYfzOoTF5t3K3E8Mc0sREHBr Q3w1hXKzdzufN1xjNBGr688sA/4Eds4qd5YuvlujNTGX5zLre2A6gz7xsHe/Pmz6YqL9 qqI5AlE/X203scyzvR04ym44OdPmLNBi/xHIxC9DhgLBkhrb/wlQEY4ROjtO1pzU0SCM Y0RHnMH0Wb7HVXFhyusxV1pLVOKXsaonc1IkWcGfN5IH0cwfi4MPjPH7svxpwHY0rOVf 2mbwvqBwEVIRQqahyGh6hxyNdmuKXjVhGamt5sb3ndGRN3auwxCxzRvqk+JnujM3s3yI zDUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Fo5KIb/y"; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h189-20020a636cc6000000b00514329f7ebdsi3301177pgc.344.2023.05.05.19.58.10; Fri, 05 May 2023 19:58:23 -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=@chromium.org header.s=google header.b="Fo5KIb/y"; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbjEFCmn (ORCPT + 99 others); Fri, 5 May 2023 22:42:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjEFCmm (ORCPT ); Fri, 5 May 2023 22:42:42 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F60D7AB4 for ; Fri, 5 May 2023 19:42:41 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-24eab83867dso2248799a91.3 for ; Fri, 05 May 2023 19:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1683340960; x=1685932960; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=IXa2WM+Ux0ryWdk9v/juQWn6Ta5HKrRkFJpku8aKUgk=; b=Fo5KIb/ybvy6rjlKOBOEZWQrtygKZ6pR2WFuAgcmSwR3uXcZ8W9DY3wD2C+RZnRG+c HuNjUIYg7lEZfX3o+fPgIJXm97dKnc0fnFz8QCEVogqv1d8MEVm8DSpNS4IWCXwtL7JK l/aNzYgIqDRF0xmVBJcjCCj9AHSwM/VamsvPI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683340960; x=1685932960; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=IXa2WM+Ux0ryWdk9v/juQWn6Ta5HKrRkFJpku8aKUgk=; b=e+XN7o8m6bT8aOIFSQyIBzrNEkYtK1gfpj+eiuuTdo3O+HeVKjPblIn5G5qLcHEXk7 ENBzZSR4LO2UaXyHXYSVKfZCCCeaEunkad8PWC+u53gOXo1f6lmZrW9zNFwvbCFEI2ll LpFQKw8oGCLjAzglK7ccBk4SMqNTpr8pMozCmi40YpK8AdknFGNHNt8mw6EGYL2dbfn/ i4s3IpqGNxXF6PpJ5xTX3LRTnDQ7S5P/5UabIqU3o8Iyu4khW2qybdgYy+JbWxOO/JwY yUo+wjtsmoiHHQrL277eQtBB5RjXkhjigmxZh/EFm3fJalrhJfwU1Lm2X1j5QJwlQRRB 1KhA== X-Gm-Message-State: AC+VfDyMZaDTr43FLYcXxKNNVrd7CNBALd6Ld0bhat9nfk6K4pfTX5tP Ijte0detz7JQt7O72Ph3mnbziw== X-Received: by 2002:a17:90b:190f:b0:24e:16ae:61ca with SMTP id mp15-20020a17090b190f00b0024e16ae61camr3441776pjb.34.1683340960500; Fri, 05 May 2023 19:42:40 -0700 (PDT) Received: from google.com (KD124209188001.ppp-bb.dion.ne.jp. [124.209.188.1]) by smtp.gmail.com with ESMTPSA id v5-20020a17090a7c0500b0024e4f169931sm5530319pjf.2.2023.05.05.19.42.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 19:42:39 -0700 (PDT) Date: Sat, 6 May 2023 11:42:35 +0900 From: Sergey Senozhatsky To: "Liam R. Howlett" Cc: Andrew Morton , maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Sergey Senozhatsky Subject: Re: [PATCH v2 18/36] mm: Update vma_iter_store() to use MAS_WARN_ON() Message-ID: <20230506024235.GA3281499@google.com> References: <20230505174204.2665599-1-Liam.Howlett@oracle.com> <20230505174204.2665599-19-Liam.Howlett@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230505174204.2665599-19-Liam.Howlett@oracle.com> X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On (23/05/05 13:41), Liam R. Howlett wrote: > MAS_WARN_ON() will provide more information on the maple state and can > be more useful for debugging. Use this version of WARN_ON() in the > debugging code when storing to the tree. > > Update the printk to a pr_warn(), but this will only be printed when > maple tree debug is enabled anyways. > > Making all print statements into one will keep them together on a busy > terminal. > > Cc: Sergey Senozhatsky > Signed-off-by: Liam R. Howlett Reviewed-by: Sergey Senozhatsky