Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp700322rwe; Wed, 31 Aug 2022 09:28:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR5XvElXBnrXuldC8ulRvXlgG6gbfm5T24GoCWIxZyyOQsH5bmH73KjHdxI6EnAwvXzyuARV X-Received: by 2002:a05:6402:5384:b0:431:6d84:b451 with SMTP id ew4-20020a056402538400b004316d84b451mr25108081edb.46.1661963294289; Wed, 31 Aug 2022 09:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661963294; cv=none; d=google.com; s=arc-20160816; b=AF6LAKbUq1qbooN6m6wLP6Rgk4tp7U/HaFbE5WUzsLiwctwQl+XVF1s8IeZrdUXQFW RgUphrmLxjExnoRcqAMIA2QABhL5tLplY3uhB3cRyj4H9Roni4ZzgJZV5LP00jPq/EXY XUD17r9Pxa84fHq0dCzJCvRqQIO9olinlcpPpteyBI/Ba14eV1QRQwLiuBJRx+aUpT9n Es1Spq0j4MCTxu1tWzF4RhOqH2L0TwgQMuFmJKoGP+u4msBgh0aOkrnOMLAGlo4ROKEp Tw+MEPUnR3AdjEJoQBZB9iLRvYusQggC5N6cmj5fRZeoN6Tq+9Z7OgkGBQsBd9pWHf1m d++A== 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:date:from:dkim-signature; bh=QmLsPIkzQeMZ0W9KEkX+jtoeNsShZZ/M3BTzlrg5hy4=; b=Ae2LbI+fpNw5TWSGOxofNNR5pbqAD+oGTsy/vEjN2W1SFZbED9dpPXEhXsou78WiMn 3kCpGKUgVzJsYlKrql3vtG1vTvKKPZWWVigqmYmZ3hEuYYevPyae9hbXc7oQwk6c2MZr ag4/EaI9NX4lJl+7ponTYzqm1/rLgrYoJ0vFgnNgdVHN/C704GDjcAyRD6HfySvLCQgU 5S21eU+dp3KF5xBAO7Eh6wmdyHYwYarV1jbEmSrL0OGeFo66vuawWogD/lc8OVmi8Fue 75KfMJ80OBQyvd/ufdJ95dzyKg6dFy6rnynpyYPdlMSnI3BTsExzzoSbVWvq7u54UCoE tH+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TEWtKYGY; 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 f12-20020a50d54c000000b00446aa668fa2si9911406edj.533.2022.08.31.09.27.48; Wed, 31 Aug 2022 09:28:14 -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=TEWtKYGY; 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 S231739AbiHaPex (ORCPT + 99 others); Wed, 31 Aug 2022 11:34:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231694AbiHaPet (ORCPT ); Wed, 31 Aug 2022 11:34:49 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 103DB2DB for ; Wed, 31 Aug 2022 08:34:45 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id z29so11900765lfb.13 for ; Wed, 31 Aug 2022 08:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date; bh=QmLsPIkzQeMZ0W9KEkX+jtoeNsShZZ/M3BTzlrg5hy4=; b=TEWtKYGYnoqrxifG2H4rHXJUlsC9vKGgse47bDIjRpSxja4JyspQMUAlPZx82s0MHg uAzv3f3lu8VE1INx8lQbq6PYwJm5GDjPn7ZP6WYDQmFX9n2WL93WVAJfSuYryQZX4aPd vpvq6jdWjFy8eu8YLRolLUjQCmfSUYu8MWWMGs+4efE59abc+kae98sofCosIOsULlKB zkFKaWg+GdZC8HoaRIi+7JcD6psARqLnvd7MpUjTXVtouW9Ed2Hgf9sjiWMjdYVgQShu zIbarokirj1HX/gJY7gEfNHrtjfikb3H/PbGLtxaXTqhkT1qdu5rq42/DzF5r4N6XBbH zt5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date; bh=QmLsPIkzQeMZ0W9KEkX+jtoeNsShZZ/M3BTzlrg5hy4=; b=JJ0534nCLcqPsbTjo6BjPQT+0WiHmSiDNfaXa5S5Ams8WNPWILXloCVsRkx3ZG/OqE gDKnqGeLZkCUpr4gX61kwLD14cn5zmITLTYztu3LtUFIoxVh2YP7hi0cJLKZEYcTAAA0 si15I2IGy8ngwbdwdJhUb9sW81qfLWxVF/PD8e0axzi5RkDiXfHpYjyYFfQn1gB/fUk1 yIfHJwUWocfYTYlRwRdIaxPe00dBKFmchcizpE3kJmvHDNzGbcTATxsQnMTEi4qqfwNt ZcNYnUz5UavHei8FAbvX8e5ttbLzx4Af7WgRyVSuKjVDztk3RXGqQYbCB/gK3GAddevK IUqw== X-Gm-Message-State: ACgBeo06jDnlelvR9XWOCTHp3XC9pk+VIkyVg8d46qtpaDjbu558vkat nQD4AWV/cZjyLyCUc1C5H44= X-Received: by 2002:a05:6512:169c:b0:492:ca5c:eb23 with SMTP id bu28-20020a056512169c00b00492ca5ceb23mr10028402lfb.646.1661960083302; Wed, 31 Aug 2022 08:34:43 -0700 (PDT) Received: from pc636 (host-217-213-139-9.mobileonline.telia.com. [217.213.139.9]) by smtp.gmail.com with ESMTPSA id q18-20020a2eb4b2000000b00265757e0e66sm1159024ljm.48.2022.08.31.08.34.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 08:34:42 -0700 (PDT) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Wed, 31 Aug 2022 17:34:39 +0200 To: Baoquan He , Song Liu Cc: Song Liu , linux-mm@kvack.org, linux-kernel@vger.kernel.org, songliubraving@fb.com, Uladzislau Rezki , Andrew Morton Subject: Re: [PATCH] mm/vmalloc: Extend find_vmap_lowest_match_check with extra arguments Message-ID: References: <20220831052734.3423079-1-song@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 > On 08/30/22 at 10:27pm, Song Liu wrote: > > find_vmap_lowest_match() is now able to handle different roots. Make > > similar changes to find_vmap_lowest_match_check() and > > find_vmap_lowest_linear_match() to handle different trees. > > Good catch. Guess usually nobody eables DEBUG_AUGMENT_LOWEST_MATCH_CHECK > to trigger compilation of the code. > > Reviewed-by: Baoquan He > I do it. Reviewed-by: Uladzislau Rezki (Sony) -- Uladzislau Rezki