Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4124633rwd; Tue, 23 May 2023 03:35:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5vVOulmc1O5M91IeR2Awk7aqxVWc1va2/Rcwk6ao0xxLyeMF8s0wwdl4OW/Byk9QluPN4z X-Received: by 2002:a05:6a21:9985:b0:106:4197:b7ff with SMTP id ve5-20020a056a21998500b001064197b7ffmr14643029pzb.30.1684838139260; Tue, 23 May 2023 03:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684838139; cv=none; d=google.com; s=arc-20160816; b=VUIggDhNZFZ/SxIUC7orBTWRa5OQDqBHAWbhOrXm2kDJjxspEisb7zLCJrcez+CRQT uqvWKqguDWj1uUgq9dtmNCU9qmYVEzR2Clk7Ctss6zWos8lnqnA9IR/I4S+2KIm6uYQY JFR9UkCeGpbkCO4MbyU2lRAIChh9v1FxvLekr0bn6GO6bCCWrZwAERQhKD7KHgJs1fhh rGe8vm2Z6HFDDdwCOvL4qcdhDrS9jR9jkqyaFnugO7EpxEbJ/KlLI3Ojizih8CRtCD+8 qDSBAf338+koRRg/YL69kopDAhmak5eKZCWvdytleLGLLzUuRGJqGs8BL0gxx6Rza+ue 50dQ== 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=nNQVJ3hfapo341FunxfExex277Zhp8AOqeMr7BSJi3A=; b=A5baVIVAUAdrEIiay5QMNBMj/lCmR8+cJ3T0guq4fV67UOgCN1XUmw8AqOLfOnL+/a yCReJg/asb3B0VMJzbD3VxMRdiKFB5m4DauTL00fewpc8ZTsWxkTwLvKcLReVAixx6ls iPznXUb/NW0rrnNDfpMCew49GJ6dAr3jTgo7FV1pBbHybjxvQXgLUcqO2kMg1Sv3swcd uLHVSd7wsmQr2RXpXoP442JlWcZQs88wqXwvKZu/jTNG99Tut07I4XLmNbFXSp2T7ang 6nAUe5Xe8lQWqcdp/tXxcwfq2XkFVmbG9MFxEczm2gDahvgQBpzhacNYVOU5OTzLrMm5 jT1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=DpfQyv9L; 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 l5-20020a637005000000b005360d7da56asi6187347pgc.590.2023.05.23.03.35.23; Tue, 23 May 2023 03:35:39 -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=20221208 header.b=DpfQyv9L; 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 S236525AbjEWKDi (ORCPT + 99 others); Tue, 23 May 2023 06:03:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236453AbjEWKDd (ORCPT ); Tue, 23 May 2023 06:03:33 -0400 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F9E5126 for ; Tue, 23 May 2023 03:02:58 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-4f3b9c88af8so3357443e87.2 for ; Tue, 23 May 2023 03:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684836117; x=1687428117; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=nNQVJ3hfapo341FunxfExex277Zhp8AOqeMr7BSJi3A=; b=DpfQyv9LjpABrMFNZLkTqBOe1d0NIK651tomV1gk59doETORebQ6fh8QDpVbbPEIXG 3t+trILLiyi1zQp6Vcs2aCqc0e4FSZD6F2QWwKpnIESv1YEFlgC21bAMFESW6JmRzdP2 7cRhYmMmIRDmLdIw0gEwy5p9z6a7F+nyP09sZhgJncyIEy84frqsy1eIUcb6pHR2ENuD etIWMxWU/7jjS5gbtLfNKwSyb3TbZGrfd524aQ0C/s+fNV0jKN1xNml4NahsNw+xFuKa t4Iw0dD6dOuhr8VlvZiaU709ts52RnyR5xvMFtUfgFMEczfHs8Tp7m456kQrDpPri8MV Dj8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684836117; x=1687428117; 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 :message-id:reply-to; bh=nNQVJ3hfapo341FunxfExex277Zhp8AOqeMr7BSJi3A=; b=CAQrzwpVxV1kLbkuxhU2X/jEkIl4wlw2T54ZVp0WhbPlVYbO6o6Ps7adQ98/HrpzMd +teqr6GtNLWa7uI73kQ4CE8ntk8S/Xv01egKE7owoF/Gq5rp2D+wdK7Xw+jZFDOTkvgX 6j9gxFpvsJ53BJMFivh+ChlMtMtnlMCSoVA4ijrEeL7g5GTH7x48CzvJjKOWAoJMS+0s 19SyrcFzG/fqYKmFRXpSDQ73kb2++FFPTbabS/8mvXNl0X+Se8qDU2l+ku15lvMnUJjF 51iRz5+lfo6Wx42US0g0l+rOTfjdLnRJAUJ4RvcnORg7hSeulYjJdazYYPqdzytJiMQE 9suw== X-Gm-Message-State: AC+VfDznpIy2CXP1xzwX8Idpx74YwrArD3WVDMpQPnwbVPQUgKjuAPJG 1wSleliIxbLMbr8VjJ8mKKI= X-Received: by 2002:ac2:5298:0:b0:4f3:7c24:1025 with SMTP id q24-20020ac25298000000b004f37c241025mr4301335lfm.26.1684836116411; Tue, 23 May 2023 03:01:56 -0700 (PDT) Received: from pc636 (host-90-235-19-70.mobileonline.telia.com. [90.235.19.70]) by smtp.gmail.com with ESMTPSA id a5-20020a19f805000000b004f2b6a203aasm1285696lff.224.2023.05.23.03.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 03:01:56 -0700 (PDT) From: Uladzislau Rezki X-Google-Original-From: Uladzislau Rezki Date: Tue, 23 May 2023 12:01:52 +0200 To: Christoph Hellwig Cc: "Uladzislau Rezki (Sony)" , linux-mm@kvack.org, Andrew Morton , LKML , Baoquan He , Lorenzo Stoakes , Matthew Wilcox , "Liam R . Howlett" , Dave Chinner , "Paul E . McKenney" , Joel Fernandes , Oleksiy Avramchenko Subject: Re: [PATCH 2/9] mm: vmalloc: Rename adjust_va_to_fit_type() function Message-ID: References: <20230522110849.2921-1-urezki@gmail.com> <20230522110849.2921-3-urezki@gmail.com> 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,RCVD_IN_MSPIKE_H2,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 Mon, May 22, 2023 at 11:06:31PM -0700, Christoph Hellwig wrote: > On Mon, May 22, 2023 at 01:08:42PM +0200, Uladzislau Rezki (Sony) wrote: > > static __always_inline int > > -adjust_va_to_fit_type(struct rb_root *root, struct list_head *head, > > - struct vmap_area *va, unsigned long nva_start_addr, > > - unsigned long size) > > +va_clip(struct rb_root *root, struct list_head *head, > > + struct vmap_area *va, unsigned long nva_start_addr, > > + unsigned long size) > > Same comment as before, not going to repeat it for futher reviews. > Fixed! > Otherwise looks good: > > Reviewed-by: Christoph Hellwig > Thanks! -- Uladzislau Rezki