From patchwork Tue Jun 28 09:46:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12897978 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC9E2CCA482 for ; Tue, 28 Jun 2022 09:46:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 50AAB8E000E; Tue, 28 Jun 2022 05:46:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 445148E0001; Tue, 28 Jun 2022 05:46:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2975D8E000E; Tue, 28 Jun 2022 05:46:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 1D3918E0001 for ; Tue, 28 Jun 2022 05:46:35 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id E46B334CEC for ; Tue, 28 Jun 2022 09:46:34 +0000 (UTC) X-FDA: 79627164708.25.30F22E8 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf29.hostedemail.com (Postfix) with ESMTP id 9A0F5120037 for ; Tue, 28 Jun 2022 09:46:33 +0000 (UTC) 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 A778061793; Tue, 28 Jun 2022 09:46:32 +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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656409593; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=zkg7rfG4GDj+R0TkCysB9ThP5FG39l4kOhXa8Fn/9O8=; b=ON11sLHsilwcGWDAGb4oTCQnHXzfS8zBrMl1+V6xZZSFN//UtjdzqntH1Ns3Qhdb0Lf9IH 7+ZOUTQcY+mdF28W995z6AVKzOvEe1qdp15j520LZrbTlrW0ndoXgnoU9Teq0nIy1/22A7 Z20xVy80r46lzA+lEAyJWOdBpa5gCpw= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fS3ETSce; spf=pass (imf29.hostedemail.com: domain of mchehab@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=mchehab@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656409593; a=rsa-sha256; cv=none; b=Voxt4RT0F2KXK7dUdAsnwOecaJv2Hf9mzUYN6HWPjzbCCYwqtXkKMowpxel/HLhxCVOGtZ AS0SC0w2Dqd09GuBoXFbdtKk/3FkCjiA8V+4LbIkGNUc/BC+O2ryQx2ILNlZi6O5ePwXhq ITUiwaxWs/mR7PcTDEUm0OyUYMs18R8= Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=fS3ETSce; spf=pass (imf29.hostedemail.com: domain of mchehab@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=mchehab@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspam-User: X-Rspamd-Server: rspam06 X-Stat-Signature: 5uwobmp1o5fchpgt3odg95rquzn6pzz9 X-Rspamd-Queue-Id: 9A0F5120037 X-HE-Tag: 1656409593-732884 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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