From patchwork Thu Aug 24 11:38:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 13364031 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 5E8C6C6FA8F for ; Thu, 24 Aug 2023 11:38:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 888EE2800A7; Thu, 24 Aug 2023 07:38:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 810CE280083; Thu, 24 Aug 2023 07:38:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6D80B2800A0; Thu, 24 Aug 2023 07:38:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 5E08A280083 for ; Thu, 24 Aug 2023 07:38:36 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 285B3C02A8 for ; Thu, 24 Aug 2023 11:38:36 +0000 (UTC) X-FDA: 81158800632.11.0B8ABA2 Received: from mail.tkos.co.il (wiki.tkos.co.il [84.110.109.230]) by imf08.hostedemail.com (Postfix) with ESMTP id 192FD160019 for ; Thu, 24 Aug 2023 11:38:33 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=tkos.co.il header.s=default header.b=KZZeInt3; spf=pass (imf08.hostedemail.com: domain of baruch@tkos.co.il designates 84.110.109.230 as permitted sender) smtp.mailfrom=baruch@tkos.co.il; dmarc=pass (policy=quarantine) header.from=tkos.co.il ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692877114; 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:references:dkim-signature; bh=D17YDblOrbi4TAWJbFqE2C55UpZ9KOwFMysbzxPyh74=; b=duvzbTEqCCGTFGW325m71ctmL7CPRoi6aZgulNOKogTKnuekzy5kYsIjICDuGPGH3bMM6B FIG8z3ottRfMeDyYASmC6Z/0xodTcdSs6IzEWXTsuYCzv0ucIrqhA1vXkro+mx/0+XflUR RCrHzTa+4HtBWA+Z6/gCYIbTzbU+jv0= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=tkos.co.il header.s=default header.b=KZZeInt3; spf=pass (imf08.hostedemail.com: domain of baruch@tkos.co.il designates 84.110.109.230 as permitted sender) smtp.mailfrom=baruch@tkos.co.il; dmarc=pass (policy=quarantine) header.from=tkos.co.il ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692877114; a=rsa-sha256; cv=none; b=B61GqZq/LM+FfmlzcxpFiOx/lAcTibhMsIrsPnlVmaPzzYo3ZZpdt/py4bq6LL7tXKcAmt NiEd3n3YeTM3femy0e7571OmarxKhvPiV7VeDmb0wl3fdKbphxZwJKb9/DPIAc4mekcs6a 1OZbPIfWxf3/rUuEdw/yiefDXAE59YA= Received: from tarshish.tkos.co.il (unknown [10.0.8.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id EA78044035D; Thu, 24 Aug 2023 14:37:52 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1692877073; bh=ksRToISNRjqMI0mCmQGtZDrLW3TWnnxlftndzS6PXqo=; h=From:To:Cc:Subject:Date:From; b=KZZeInt3f+aL1AJWuSRWpMVo4bpZDTP81lS3WgCJx2ptJCEiwQc5A02Rgs8TncLwz uWqvCElb54RhwttE3eV5+bVlyFD8sZKb23iTR0kYWCxVdvCGKEnaSxTkbvmEqEGHld 4cmr1CpRaTAmHV/yhvPKBa2QVEslJeOmqHwryoi/s2PNBI17LCZ+p8yBAmOTg5HdVi /FFFL1Y0Qn2TYMnHn+WcW5ZwnXvcbiPFLteFv5GhTHvrjrBcx82V9SUOxj1DcnvMCq 1WFKHRGBwxHNRtDJg6BGQy68mvB0u19VyZqMRN3stTx/gA2UiJVOPu1Vw33f+QT49T cD0ojpyy4GaHA== From: Baruch Siach To: Andrew Morton Cc: linux-mm@kvack.org, Baruch Siach Subject: [PATCH 1/2] rmap: remove anon_vma_link() nommu stub Date: Thu, 24 Aug 2023 14:38:08 +0300 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Rspamd-Queue-Id: 192FD160019 X-Rspam-User: X-Stat-Signature: 8zurwjneiphfcunm15bxttc9ty15neeg X-Rspamd-Server: rspam01 X-HE-Tag: 1692877113-174933 X-HE-Meta: U2FsdGVkX1/THArLDnq4aa4hlF4WVTn/tyUF3J1cxpcSUmbAR+ouAtp7AIWWUh40tiNIFJ7RoqJPEKh22Ct7SRnhmdwc5cMIDpWDkVBHBdBJyCDxBgEPcYRGZrFiRamv5Vxvr/y/wvygZSRePyBOBa6QkeqAJtHboOgJobh0imgMkgpZsKbhIhZLBsL9hDLFVE0kHqhmcEBipkqXba9yny9piJHmk6PnLESW72yDm3tNIN0CPtkrGZtxqDE7nGezqQwhXexdCwKRnbpiqJ6pPoumEL7FRdFTLvgx6XGwSj9iHF+vYhP0nNeBKp1HbHngX3XD+l6YBNyM6Y708HUL0vxz0xxX0jCygAa+alHr3L+V8gNg1GjJUR8HoAKyk/0wmnOUTeJQ6ryOM7bQtVS1fe7X8mT4Aue62LJSlLvVS6GNeqs+IyaqJlmjHIWG/KXK6xv2Uqr+bMwR4wnNA97uICgNzlL46zV8JZbOw4DmhKWT9PV2HguEK7YDE3ewt+ocOpwTxFKABFCI956QNAmpLWZv0GBMVVEonkRM5K02G7V/yCc7Dm51nek0QfUOyAx165LFjd91PUUSpuVF8nbyFSQ20LcYKqobkDlnZCrpAzHepkDWMnoXdsu/5vwi9mytxuf+ePvneFOyhZur2qgO7p/W8gBuou6yEqH9/RBfj5bEtyomZrKnFTOA27YObI9yXbNWeEBuf0F8B7sGF47NG6f2ojyVVq/ZHuYUEcQW/WZaegVeXC5byGGR6vHOYI4tunhHeXQPXh5r1lx6bhqXmSYzKIWJK0d4Z4bYRwXHr6LcUTvFA8J3nCkXPWK62aMtVfH8phgCk/9Se91HgotQbJSlfJkmkm4cKHKgV0v7Fu22mPmKqUAxGQpDZrkh0oTh9raM4fxilDKSViLx/WpBxXqc0eQ/OigFtDzoApRRixZ4vdX3McDHC1UwNhRxbGGEfuC/Ib3+bUIxaq5foL2 mZ/g+eh9 xlMSGgE56rrlrFsgNKyGTvlT/qexD3dZfLATo/X3Am54i5KTujVHDm2DhUMtzRx0VQN0puCyNyzaq1IAqaBBl88YdPGOvtcWNTTGffa2ZL14R1GtXDn0cutyv9tZVhsdk/Oe6TLerh2RWPRjdDXikpBjWo/5EQLRtXFh4zUgFD+FnOJ8vp6FFjRvQwFJMOtEBwGToz1KekHSpae/OeLemW1YBXg== 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: anon_vma_link() is unused since commit 5beb49305251 ("mm: change anon_vma linking to fix multi-process server scalability issue"). Signed-off-by: Baruch Siach Reviewed-by: David Hildenbrand --- include/linux/rmap.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/rmap.h b/include/linux/rmap.h index b87d01660412..15360b3ef82c 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h @@ -477,7 +477,6 @@ struct anon_vma *folio_lock_anon_vma_read(struct folio *folio, #define anon_vma_init() do {} while (0) #define anon_vma_prepare(vma) (0) -#define anon_vma_link(vma) do {} while (0) static inline int folio_referenced(struct folio *folio, int is_locked, struct mem_cgroup *memcg,