From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46DF0C43334 for ; Tue, 7 Jun 2022 09:48:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239962AbiFGJsK (ORCPT ); Tue, 7 Jun 2022 05:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239945AbiFGJsC (ORCPT ); Tue, 7 Jun 2022 05:48:02 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1584DD02BE for ; Tue, 7 Jun 2022 02:47:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=uy/G/8+gXtoy6+nMNeUQ/KSH1qcyCbjfwZoqfAGGPXg=; b=qzv/DEMJdGwSxogMngWtMl/75/ 4A+f9ZGctE63EcgXlsOt2iJrufRUaI7nZcYeFDHJOiqUGFOAr/SAP4RfqOJOZsyS2NVtQqZFsK+ed amHiTZsntfSdBL0iHPmgT5KKkwyMc9VrDyboGcAXXw27va8LoAiNTUoTIWk1tqmAaEHcSpRoL4cvq Ea4aFLxCKnmThIFmpgxmEDL1m7pUneecVvSQaBIJKAoxJkSLG0KTSLfRQz50qL5M6L8GdjrzKTLyb /PghKHzVTzVix5hSwgahXG7NXz8M2qohRnENYjBB8XTQPZzgfjAFaEq6l4PhmP22LGByl2vnD9voh jlv57r7w==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyVob-006Ngu-1Y; Tue, 07 Jun 2022 09:47:57 +0000 Date: Tue, 7 Jun 2022 02:47:57 -0700 From: Christoph Hellwig To: "Uladzislau Rezki (Sony)" Cc: Andrew Morton , linux-mm@kvack.org, LKML , Christoph Hellwig , Matthew Wilcox , Nicholas Piggin , Oleksiy Avramchenko Subject: Re: [PATCH 4/5] mm/vmalloc: Extend __find_vmap_area() with one more argument Message-ID: References: <20220607093449.3100-1-urezki@gmail.com> <20220607093449.3100-5-urezki@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220607093449.3100-5-urezki@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 07, 2022 at 11:34:48AM +0200, Uladzislau Rezki (Sony) wrote: > __find_vmap_area() finds a "vmap_area" based on passed address. > It scan the specific "vmap_area_root" rb-tree. Extend the function > with one extra argument, so any tree can be specified where the > search has to be done. Uhh, why? This just adds a copletel useless argument.