Received: by 2002:a05:6504:1d0:b0:1de:de76:8684 with SMTP id e16csp900574ltn; Fri, 2 Sep 2022 09:55:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR7xlD46JYiy2+TIlxWFogQnGLZauwcXZgHiwWfsAOoUmFgWV6lr9AvHAhH8+aac3ecI14YY X-Received: by 2002:a17:906:cc5d:b0:741:38a8:a50a with SMTP id mm29-20020a170906cc5d00b0074138a8a50amr22709216ejb.650.1662137712868; Fri, 02 Sep 2022 09:55:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662137712; cv=none; d=google.com; s=arc-20160816; b=kASrl/mKFCyRt/32iX/hknGh6IBSkrciJSrUtFZkPwqOHd79qvU2xGHmUC2ynx0qxZ UJ+42nfjuUR5WVH9A+1GgFFlZcgC4w7RC4tcOqYSRmm1q9y0VPfJCbRfTXnY6m9C2gMc g3m29uE+J1c2XGURpRSgnU00R5UzAnhAqzAnMIExh15Vp2W17bSi4og8sy78+rInvrWM 3BrAVICmzNSYtV24Tl/Bye/KB+RjMyFF0dkmik1XxyQMLIGZ6LBLXv2hiIE3IxoDjbuG hi87ysfIZ8wBvw3PWOBLbzKoliO/2rxeGwtCJinOvGcFNL22le9J1WsnGrJEaPAwJIZy f1Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6Bn341OZdaO1Ajjvul1ciSQkpdi2HXa6yajc+wV7KF0=; b=zUxyliRTlt7SAvNW9c11fHs6kZCiBw6xey6dber09Nh3KnN13gT4BJhpeztoT0rCMI sXPBG656EgZNqZCYSp6Ab6OAI4nYwuUvVQG9o1XKLs2GFsh7pPnm0fhhy3LxvuQkZH4b GJF3nf9FNAUMBA5AEDdWLMqpXCNKzxpkJhjavy4eYMHIxVI3MAO95n5kFtZ6NZyALTt6 Je4BRsUOi3SAdcsu9YvY9DvdgXySNSnkbSk8bsLrV1MPjJJKLABrXsLp6OTmnbI/48AF 6cKDkqNWtnSb/14MGzXU2u+AblR2ij4xuU2DUK20B5knit9xnmbf1gB3zgQpswRY/mcF jDOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UuOUdc1l; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u16-20020aa7d0d0000000b0044301c6aca9si638319edo.379.2022.09.02.09.54.46; Fri, 02 Sep 2022 09:55:12 -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=@gmail.com header.s=20210112 header.b=UuOUdc1l; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236545AbiIBQqB (ORCPT + 99 others); Fri, 2 Sep 2022 12:46:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231889AbiIBQp7 (ORCPT ); Fri, 2 Sep 2022 12:45:59 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D8E257894 for ; Fri, 2 Sep 2022 09:45:58 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id q3so2555824pjg.3 for ; Fri, 02 Sep 2022 09:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=6Bn341OZdaO1Ajjvul1ciSQkpdi2HXa6yajc+wV7KF0=; b=UuOUdc1lrwse1WuqW0nbs5Enufm53BNTljAMITm/SOp3cTseM4drqiEWGUT6Ap+4uR 3qoM7aCRNpmGXnc02t3bwILRhmyfwOz4tZthXvlUeXpx1ECGr7OS3RKfaXjxReHvx5ZU CbZcAdAYjrk8beZYak1peIWRdGKdhQ5f/gpNcf0T04O6TYbQNESS1hJXVpEziNmH+8sn f1CnQKS/uz74k2uwRzDegUpDTSVvk+VUOZFRieJRYwXh1OlJ67ptHxr0G7plbS8S394q twQiPkYadduhLtmHaN5p4FcQUssaqPT9ngxmx5gfOMh4cVKyF+PJmQOAtWmgt5YTQvCw 2kyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=6Bn341OZdaO1Ajjvul1ciSQkpdi2HXa6yajc+wV7KF0=; b=5g0w59QTxBJyQeY3Cv8ef+bIN0Dj3ZvRfy/5tZLkNbcfUrTME9vtx3TxIzpJ8CmTME BGOpW9t5h+CdVc8rMRSxayjIgkJYWmXTvq/WEzPTmoXYMVeajDZkNm8r754vQYX1e//i ZBycIGNw6qGf3i3ybo3+BwWt78Wg3KLQQULbXtx1w/ZsB57svdKWMaYvuYPcFsY+F90D 3ujRnVfwhL1UxiYUnWq1tsRCJ/l8JMf9UiTbcAtJiyki7ubqzDPpi8vP3y0PcuuP50+m ugSo1HK8En78+gNpIjPfXnO2R0YlwklUvYxl8TF+w7ioogX178w4QzGSuTMbfALq75oh wQMQ== X-Gm-Message-State: ACgBeo18ySqEe5upv0VTxZka8Dr0DNhdH3svV6nXlhFgE6LCp+PQd95u 89autetUDxgmo2Y6/gmKakKbzdydgaOzK7oc1m8= X-Received: by 2002:a17:90b:4a4c:b0:1fe:24ac:2bb3 with SMTP id lb12-20020a17090b4a4c00b001fe24ac2bb3mr5772326pjb.79.1662137158046; Fri, 02 Sep 2022 09:45:58 -0700 (PDT) MIME-Version: 1.0 References: <20220831052734.3423079-1-song@kernel.org> <20220831160111.a6e7d17785ca21ce7c43981c@linux-foundation.org> In-Reply-To: From: Uladzislau Rezki Date: Fri, 2 Sep 2022 18:45:47 +0200 Message-ID: Subject: Re: [PATCH] mm/vmalloc: Extend find_vmap_lowest_match_check with extra arguments To: Baoquan He Cc: Song Liu , Andrew Morton , Linux-MM , open list , Song Liu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 > > 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. -- Uladzislau Rezki