Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3787665iog; Tue, 28 Jun 2022 02:48:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uGsrmey14bbDGpALIa36GCf2zntkuFR9HYyUWf3FfsepcmeZX3ZzuJTdPIubn/nUgmB4Zi X-Received: by 2002:a63:84c1:0:b0:40d:3be2:3e96 with SMTP id k184-20020a6384c1000000b0040d3be23e96mr16450606pgd.340.1656409715960; Tue, 28 Jun 2022 02:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656409715; cv=none; d=google.com; s=arc-20160816; b=AE5acjuTwIyi12OviBAb/cAg/PpvPOkG2gEDIseeowJ3MQ7oRf1fpogCgI+cD5TKN3 eoWRkm6iVL1DQA11YsvgCs5e1boUqwdJHcHXSuyoA/rL/4SGYSr2/sUS0JlySrupK3GG WIMm3UbG+jeyiuWEy/5OP/zVu3SUau8FEIbSVBnb5MydyHABVFSWix5NYcATpsxqGhSP qaRblVQGRdnZpkGaB162OOLT6Fmvn855EdKHCrRKpJvCfYRbBSwQ9xBoIhPCClPgGaWq hMLCMlvaQb2F5tGaQbZOn0QYlznIHd08Hn3qROUVeBqoRibxD+7u1ZeWx+WZ86lKxFAL KY7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zkg7rfG4GDj+R0TkCysB9ThP5FG39l4kOhXa8Fn/9O8=; b=naaamQ80nGDVSWeXEAGmRXxSgSxsfBqJrO1CHVNlqoX/qEZBGCKJVfa9Z1aVMavFFT +yAC1/cxVev+LXGxmUmeUd3CJi2K9A6Y9xaTm2WotfjgajPt/5QcLKDLuP2Kz+NIBE/n 5vW6onARymKUD/s2FejP/95nxF8oDMG6cU2LwirDpWlayDG5uE8WLdSSIKjmuoR2EwLK UcFYR7/vM5ozRjrkiKWRl2ljn4/GVGJveLalYkvGwf1g8E2PDogxEyNvk6r6MGZA9jZM SM6rQ0HX65X2BEFJYTmxyCgT9b7V2g7OHoy65m9ml+BASbrUMKH3ePDbg4hFD270aUlr tq4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fS3ETSce; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u20-20020a17090a891400b001e893885b7fsi16220916pjn.4.2022.06.28.02.48.18; Tue, 28 Jun 2022 02:48:35 -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=@kernel.org header.s=k20201202 header.b=fS3ETSce; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344410AbiF1JrM (ORCPT + 99 others); Tue, 28 Jun 2022 05:47:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344023AbiF1Jqf (ORCPT ); Tue, 28 Jun 2022 05:46:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40CC025C46; Tue, 28 Jun 2022 02:46:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C5498617D1; Tue, 28 Jun 2022 09:46:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B0E1C341E5; Tue, 28 Jun 2022 09:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656409590; bh=zRrTJI5mHEi/MLTyZxsw5CNr5hJaKcUuODBWP1DC3l4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fS3ETSceg+fLzbhZENlP+0ErwVNTGxMysl2vqr7sIIs2Gpi7RO/XjlyjP9JNKr9WO A2u406AE/dyf9/QkakqOYWQmGBqkM5+pwJwxi1CGYk/Pv8uWttp4XNLpwiUqMMS78l x+sq+pwaSwUGexlkQeOQKJWQUdsm1YLIc/vAS80Qp79pYid56rrT9xI9YAWYo1QRET jS49Xvl34UdDY/U+ApzFexIL6tOegjAhy1ca7S38z37mkUpSn9NTNUUU0XGBM+Uvrs SXqN7p9OdthvV+DaiQUccUNYRu3i1mhwt9EKEBSYbRA3ldID3q2xaoMxgRJ9+as8Xr XQuQ/ewJuI7pw== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1o67nf-005HFb-UR; Tue, 28 Jun 2022 10:46:27 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Liam R. Howlett" , "Matthew Wilcox (Oracle)" , "Mauro Carvalho Chehab" , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 15/22] mm: document maple tree pointer at unmap_vmas() at memory.c Date: Tue, 28 Jun 2022 10:46:19 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 A maple tree pointer parameter was added at unmap_vmas() without description: mm/memory.c:1729: warning: Function parameter or member 'mt' not described in 'unmap_vmas' Document it it. Fixes: 5966e5c968b2 ("mm: remove the vma linked list") Fixes: f8acc5e9581e ("Maple Tree: add new data structure") Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 00/22] at: https://lore.kernel.org/all/cover.1656409369.git.mchehab@kernel.org/ mm/memory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/memory.c b/mm/memory.c index e3d3596068f2..771b61444507 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -1707,6 +1707,8 @@ static void unmap_single_vma(struct mmu_gather *tlb, /** * unmap_vmas - unmap a range of memory covered by a list of vma's * @tlb: address of the caller's struct mmu_gather + * @mt: maple tree pointer. A maple tree is a RCU-safe range based B-tree + * designed to use modern processor cache efficiently * @vma: the starting vma * @start_addr: virtual address at which to start unmapping * @end_addr: virtual address at which to end unmapping -- 2.36.1