Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp515873rwb; Fri, 2 Sep 2022 19:23:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR6NXPttVTh4S4IJLK44FXXzTVGFF8aHlIoN9Azm9xfCcvCQK6tFRirPM2WW5J/9mTTqsIvp X-Received: by 2002:a05:6402:254b:b0:448:92fa:3f69 with SMTP id l11-20020a056402254b00b0044892fa3f69mr20344085edb.316.1662171838724; Fri, 02 Sep 2022 19:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662171838; cv=none; d=google.com; s=arc-20160816; b=QL+Gh/N+NlXETPslIOblrf4DL4bM+wZLIpYBFdOCkA2Q8gCKc5B2ulbPlxCGf5pMbS clj93rHXZmHfAF5HWbdMtygx4VJFP8hg8ucsxPzoVVYCWcozAPETlQ4dGjfSDhv/C9kA WMrWWcSbOWHnXWOU5mh3QE7cToWFcJRB2Gbe3beMPGDHeFPn3BuqGIs2PLniqdgCV9t5 7CFiDLSqolF93RgT6S+GMjPgyHzBcnU6nGGdty+/jN5GY2PbeOX0ORQ+ruAMsKZgQsdy WnrWNpB2ZupWQFJeSrktFDNa/BGBeQ9pouK22EU0MTyTOkgjtJdg/5yfcP63AcEOi74H UQZQ== 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=7/7DBGJSieMRSq3PvqiiqdK55MV/k943DFwkDvzV0EQ=; b=VFPpsFPFe/1noL8ZGj8wbcdCFjNKrxG1fxcnKPDE3KEYxg4R+BOnyliMmWIBir4guB Ao3W38lVBrVtx4IXdzpNPxYBSlDvHnHmXv6ep73jBD4YgvWMAo16uZM4guFPR5kI9oSS b2j5856Oj8tB8TV04/vpMpj74Fiibp06HICcP49firXUvB1hAlTOxDS+BcAewUzcbyQg 8VPN7HKqV+gz00FKQdU91M93Kfz4hUCx2GWFPJgb9EuWxKThGYx/6BgMF/QD0vgGvwLG T+5jMrkU+a0h0aG7CGSUN24wGnz0bpqQo5U6WRFATpAtQgkn9wi2GW9Op7sIa88I1b9D sBUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=McwFvxMq; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg34-20020a170907a42200b0073d594889fasi3528829ejc.314.2022.09.02.19.23.33; Fri, 02 Sep 2022 19:23:58 -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=@redhat.com header.s=mimecast20190719 header.b=McwFvxMq; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230325AbiICByi (ORCPT + 99 others); Fri, 2 Sep 2022 21:54:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbiICByg (ORCPT ); Fri, 2 Sep 2022 21:54:36 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2F1E1EAD1 for ; Fri, 2 Sep 2022 18:54:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662170072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7/7DBGJSieMRSq3PvqiiqdK55MV/k943DFwkDvzV0EQ=; b=McwFvxMq/pWg841fxx+EKNODynTR7pzYZo/iKUSsPPHQEXFUJvfYsjDfSC0oLlqjUSqggP c20wHFjPHhhL6uHWYYBaWBdmUPzVOvj73FufWtKB+KFWHyQXRO0p0W4FMLbklreZF7Nskb YezD7zHc9gwnPGa8gQAqfasatKgRfhU= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-540-6ihJcg9xM_GIPhKpbdorfQ-1; Fri, 02 Sep 2022 21:54:28 -0400 X-MC-Unique: 6ihJcg9xM_GIPhKpbdorfQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DC08D29AA3B3; Sat, 3 Sep 2022 01:54:27 +0000 (UTC) Received: from localhost (ovpn-12-81.pek2.redhat.com [10.72.12.81]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 54FBB1415125; Sat, 3 Sep 2022 01:54:25 +0000 (UTC) Date: Sat, 3 Sep 2022 09:54:22 +0800 From: Baoquan He To: Uladzislau Rezki Cc: Song Liu , Andrew Morton , Linux-MM , open list , Song Liu Subject: Re: [PATCH] mm/vmalloc: Extend find_vmap_lowest_match_check with extra arguments Message-ID: References: <20220831052734.3423079-1-song@kernel.org> <20220831160111.a6e7d17785ca21ce7c43981c@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Spam-Status: No, score=-2.1 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_NONE,T_SCC_BODY_TEXT_LINE 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 09/02/22 at 06:45pm, Uladzislau Rezki wrote: > > > Even without this patch, the debug path would work correctly. The > > > difference is just only in > > > whether roots are hardcoded or passed over function paramter. > > > > Calling find_vmap_lowest_match() inside find_vmap_lowest_match_check() > > will fail compilation because the function interface has been changed. > > > Ah. That makes sense, though the commit message has to reflect it. > So it is only about compilation error if debug is ON. Indeed, the current patch log sounds like an improvement or normal change. In fact it's a code fix.