Message ID | 20250109023025.2242447-14-surenb@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 64003E77188 for <linux-mm@archiver.kernel.org>; Thu, 9 Jan 2025 02:31:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 81CFD6B0083; Wed, 8 Jan 2025 21:31:00 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7A5A06B00A6; Wed, 8 Jan 2025 21:31:00 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5D33B6B00A7; Wed, 8 Jan 2025 21:31:00 -0500 (EST) 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 2E8A26B0083 for <linux-mm@kvack.org>; Wed, 8 Jan 2025 21:31:00 -0500 (EST) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id E784AB0B32 for <linux-mm@kvack.org>; Thu, 9 Jan 2025 02:30:59 +0000 (UTC) X-FDA: 82986335838.20.FE71D7E Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.202]) by imf11.hostedemail.com (Postfix) with ESMTP id 180AD4000E for <linux-mm@kvack.org>; Thu, 9 Jan 2025 02:30:57 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=hG7JqeMQ; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf11.hostedemail.com: domain of 34DR_ZwYKCIk574r0ot11tyr.p1zyv07A-zzx8npx.14t@flex--surenb.bounces.google.com designates 209.85.214.202 as permitted sender) smtp.mailfrom=34DR_ZwYKCIk574r0ot11tyr.p1zyv07A-zzx8npx.14t@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736389858; a=rsa-sha256; cv=none; b=cMEXzeJv01Ah+au858ZKNKyzv5QY529ST/+LV63siGXI+WEK+hGHXwaitoeUdFlfVNCDuJ YvxypnqDu8pfx2RVb0UeU4FvgVdtwyKMraakPOsjGIsHsYwF+MwWopW0dRol5tB6wNpAQe c/SU8/+3sQSye5iOwlA7WRu81Ga4weE= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=hG7JqeMQ; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf11.hostedemail.com: domain of 34DR_ZwYKCIk574r0ot11tyr.p1zyv07A-zzx8npx.14t@flex--surenb.bounces.google.com designates 209.85.214.202 as permitted sender) smtp.mailfrom=34DR_ZwYKCIk574r0ot11tyr.p1zyv07A-zzx8npx.14t@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736389858; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Ff+5kmdnRB8ZntTSRUYdaKZe919gijOnrfCBbK9Q5zw=; b=O26cbwC/gjKz7kmrg578yNHLXTbBSg36pSnaQyS8AmKzxIrdiQI0JLbzVeQuKZ1TXNEAMH qeA449gZiW+52JCie2c47ViX4N1ikglV/FxOSnmxYqx/Cw3MSDrXzlV7Rn5F+4S8CHLNZs HNtIG16VwG6D5j7NbA1LZvjRLrM48ro= Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-216717543b7so9748015ad.0 for <linux-mm@kvack.org>; Wed, 08 Jan 2025 18:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1736389857; x=1736994657; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=Ff+5kmdnRB8ZntTSRUYdaKZe919gijOnrfCBbK9Q5zw=; b=hG7JqeMQW193lLXuaq6B4cHYUSQ28LAaMuZMgH4T6y1M3VvjJvL4UNx0TFuVl3ZM3g y14/1A21vaHvVmp6AHtgAlzzDLCe52f1543ZBgbZOdtK2UJYtHoBYu2lvVNz7xROdf6R 2jPLKsEZKiET624HSXc+z+qp4bwdtUiwhbTKX3ixRR5vvWBwe/gXk+zfjmJ8pPw1gKjB v4WWuqfrhJBLlQMsysCXIM7OwUQy7rgnleqVFU0zLxoPtWl3r3gf/jY6U+Rjvg/c8zBz lyOXuVwBq90cL5ASFG+o7MvKXQ+lwTjn08GK0bxzYEZ7g2SKsKlQob+mTpnlHnbehzO7 8rHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736389857; x=1736994657; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ff+5kmdnRB8ZntTSRUYdaKZe919gijOnrfCBbK9Q5zw=; b=sJHReIPX+O40ZTsUMLn2id2jmn3+lpbkQDduB+wYszTIJorm39DsTntMS0x6wtxNk9 GAh7ONkxUw1vjOKygtwCw5ojs3huF5h/W+mTFXCBWY+x+i/YqJyjhgb/6X4Z07wMGpVj bTN+sid/1FEWpn1LdRqjhuqL2hYSi0g6dSJ14g2CLvgMVgzmB3GOhbIK4yURTLYidc1w JBDrr+lJD5NED0Z9KwU/K1awzmadpYXcHB8Xx1Dw3Xn127WsnBYxZcJLtWlasXfIbRjC FxGHdAKvy/27mUO/4npomwTkLOyt8/BYsg/DFVXDSLXS8HkNREgZQHPZ9/hg2xarfWfX SlRg== X-Forwarded-Encrypted: i=1; AJvYcCU6Z1C5cezG0wEZRV/VCFpJyELFuXQMl1/5KvTvcWGpzPg3eLjvUOTx6G/Zn+xvnCTZbr4RULwrZw==@kvack.org X-Gm-Message-State: AOJu0YyV7n54H8UJTf2YiXQRnLscQHiZx+JTBXZV3p8jpDFnPPa4JbUZ +k74Owo0PpUO4cGFbjMyynNM/6BpQbgJdlHX27vn2C78tUMwc7ONxR8+30/ZswYYoVsoTprjcOm KYQ== X-Google-Smtp-Source: AGHT+IHHneXTiyqKXlP1VpELIhdiUZ7vx0qpWsk0pXxK4l9MO/2MOdaa5NjDmeJ2cE4v/bbSs8TX2rtPRrA= X-Received: from pfar8.prod.google.com ([2002:a05:6a00:a908:b0:728:2357:646a]) (user=surenb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a21:350d:b0:1e1:b105:87b with SMTP id adf61e73a8af0-1e88cfdc0f5mr8799971637.23.1736389856900; Wed, 08 Jan 2025 18:30:56 -0800 (PST) Date: Wed, 8 Jan 2025 18:30:22 -0800 In-Reply-To: <20250109023025.2242447-1-surenb@google.com> Mime-Version: 1.0 References: <20250109023025.2242447-1-surenb@google.com> X-Mailer: git-send-email 2.47.1.613.gc27f4b7a9f-goog Message-ID: <20250109023025.2242447-14-surenb@google.com> Subject: [PATCH v8 13/16] mm: remove extra vma_numab_state_init() call From: Suren Baghdasaryan <surenb@google.com> To: akpm@linux-foundation.org Cc: peterz@infradead.org, willy@infradead.org, liam.howlett@oracle.com, lorenzo.stoakes@oracle.com, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, mjguzik@gmail.com, oliver.sang@intel.com, mgorman@techsingularity.net, david@redhat.com, peterx@redhat.com, oleg@redhat.com, dave@stgolabs.net, paulmck@kernel.org, brauner@kernel.org, dhowells@redhat.com, hdanton@sina.com, hughd@google.com, lokeshgidra@google.com, minchan@google.com, jannh@google.com, shakeel.butt@linux.dev, souravpanda@google.com, pasha.tatashin@soleen.com, klarasmodin@gmail.com, richard.weiyang@gmail.com, corbet@lwn.net, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@android.com, surenb@google.com Content-Type: text/plain; charset="UTF-8" X-Stat-Signature: roiqi3iddc69bjpqy71tx3mhdj939utt X-Rspam-User: X-Rspamd-Queue-Id: 180AD4000E X-Rspamd-Server: rspam08 X-HE-Tag: 1736389857-31901 X-HE-Meta: U2FsdGVkX18gRSxG2NJIptfQ+jhgipePuhlNSLqtun4IrowicS88+ypvj823o0sHQ7ZaRnPExvC7K2lDAQWJf/YPGWZnH0po4S3dle7GaPmtFK+AQ7NTIyqGVZsdNEmJL+Ym6TvcI1TiMinqYs2LNqFlzd1xXSkSWz8DmkktyV5hi6gu+poocjuVYZghpe9hS8wBUImwAtdNGVZWto5eEv5N7uD7ef3Fva/38ChsFHx8Q0VQBG6+PJeo810J77T2eJJJ6HOtageBVm9bGRJe4dB0vk4BKKDi3eniXgENyqTtiwkcqN/+r8OzFWOpuKUGSyeVjPhz/jWEdMose2sOGk+w60MCYwJB/JwCzf9VcIptSjuANXdkJFA3GZcBgFQ12EPNGCEBGZHAsemZ//G16mbWudoDN72f4Ouknj1vcu93ZJPEK9YSSKNJxGlnWbaGLbk2xjNy8ttmiMxexPF2gnrWsMvZtoz/v3KQz0G0ftB6ANF6dF3vN1y1vTZZEN+sv+p0IO31CnNj3RQbLBOqkkvbZoxKA6p7IKA9G5wTau2G0SrfmPiF+0B4fbRzfDS3ilhRYliIYQVzFaYydbs/x8QcFvGBzkeqmI62eVhOEk7ob2FHudhOrPhmY844T0nqk58AavN2QpiJWj3gYAFxJ3C9ynMEFEtu1FkGWFymemOpyLBzcZ2vJBivmo9Mm4/mK0ma/qHO6pKKp/R19ePt9b91hDq7lgmMh+m8jk8G8LQZuKivoiBpYnbQ/UNS4nauDda2pFuiRybdOABhgp/93xoiBOZg6oR1VttYbIxHONEfsgpbpyB6bHmXsY6BDaUVWVT91400n5HZK+/uwia86y4cAB4VSxP9H+x0bntqQkwS5bI7d+CZzyUjeOCKT3IEFcjfWXBA2QblfPp7MrAoCHJY4y5Mw12bBFwW/VClPpi7Omsqhy2AUGe/nT+4NV3LL0SOuHx9Qc8mCMu6dIJ Iqfwi2QQ SlNIaD1/se2u7JPcVbzxbSzH57lAIZYDap7MWxxEoCz2efpI0Wwrzr+6jgmu+zhQ+StLWqNJUCnw7VOrE21FWRfvdPtT0GMqG1dpl1r1s+weW/EPNK9SFksIU3UI2F4373oL9zB8/UWSeodL6AJuBtMiuF0mLJgIXYGCmZad45YEOH5kODJpw3RrCuhNtyql92/OsNIAlvz3ibr2jP0QNcqkuUJACnno3rFjxmBiZjnkNivuw8a9mltdaIFVYYytd7aoOUheCDkQT4OVFdeisuP5DA6k7Pke5QIumdEy1HP/uFfgiGZt+jNgm3dP0KmXVAui5swHhWeBM6PUmFazN/cpsNJmZdMBEG4VzgEYpWq0hiqYXtw0UkCu1KycduaamTN4DZ6AL9maqKklUdYeyxfPxPOe6S8GcFUlhG+aqfR/ZyiGcIWkBCeggNxk1M4Ly/1dyr9/Woycz92Z0TZubygoy8MfqIBkJMzKgrrEOm2W1VlogogcoT/3ngHOyaj2emwjSoPprAwy4LQB64cUSsUfh/B4z807XvK4FBWeE3G8y8Xd8ViUWaiRSmUYCz/Ob1Nqh3rSkKCa4GGv51YPV6RbEyBECpSr5lNTmBkSMpyIeZOF2MucgIojhsoldKQL+2QbmG+Hc/VQchls93rvZhpB1rUJZ63V0Lhgt X-Bogosity: Ham, tests=bogofilter, spamicity=0.059440, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
move per-vma lock into vm_area_struct
|
expand
|
diff --git a/include/linux/mm.h b/include/linux/mm.h index ec7c064792ff..aca65cc0a26e 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -948,7 +948,6 @@ static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) vma->vm_mm = mm; vma->vm_ops = &vma_dummy_vm_ops; INIT_LIST_HEAD(&vma->anon_vma_chain); - vma_numab_state_init(vma); vma_lock_init(vma, false); }