Message ID | 20241226170710.1159679-15-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 83676E7718E for <linux-mm@archiver.kernel.org>; Thu, 26 Dec 2024 17:07:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D63BD6B00A4; Thu, 26 Dec 2024 12:07:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CEB746B00A5; Thu, 26 Dec 2024 12:07:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B67766B00A7; Thu, 26 Dec 2024 12:07:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 92E3D6B00A4 for <linux-mm@kvack.org>; Thu, 26 Dec 2024 12:07:45 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 46DB781426 for <linux-mm@kvack.org>; Thu, 26 Dec 2024 17:07:45 +0000 (UTC) X-FDA: 82937740872.12.A84A1F6 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) by imf01.hostedemail.com (Postfix) with ESMTP id 907C040005 for <linux-mm@kvack.org>; Thu, 26 Dec 2024 17:07:11 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=F1BoRHa+; spf=pass (imf01.hostedemail.com: domain of 3Xo1tZwYKCHEhjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com designates 209.85.214.201 as permitted sender) smtp.mailfrom=3Xo1tZwYKCHEhjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1735232844; 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=xUsbn4qH8t1xPQtCnq4fSt0rQiZva/B8CbRLcxSWyZc=; b=M6j7nEwzEHDcOlG7MoLwxr7zORGHlxyoOlUvAILw0nx8Tn3fr6Y+98cHtHZYdEllXxFkCh zxdlp4p7lqyKRk8qPID9j+vDG/40ILIXUCllUtvWPQFvBjgJ+207XNnjrP/JqZymlXp2e6 Ty1AKjpeeBIGw77eDrCcRiVd7KxXG5Q= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=F1BoRHa+; spf=pass (imf01.hostedemail.com: domain of 3Xo1tZwYKCHEhjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com designates 209.85.214.201 as permitted sender) smtp.mailfrom=3Xo1tZwYKCHEhjgTcQVddVaT.RdbaXcjm-bbZkPRZ.dgV@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1735232844; a=rsa-sha256; cv=none; b=DcSZaNe3xry60y6WdfgawVFv1hs9y1bt93b3dLAyD1isBHjh9/RMJ1Fa4MkUkdqLm4Tbgo fRw8wB1mNDAuhQkDzlOwTLVj+oj+huqXJ97uEUrwX+4JRVgIB0zxAd03MganmUH+31CLoO 7U0pX81aeo5NmPKYIMy+jSq0qCVDY64= Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2166a1a5cc4so77355785ad.3 for <linux-mm@kvack.org>; Thu, 26 Dec 2024 09:07:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1735232862; x=1735837662; 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=xUsbn4qH8t1xPQtCnq4fSt0rQiZva/B8CbRLcxSWyZc=; b=F1BoRHa+7PXsjwO6+1/9VbJzE2cARcyTfQ/dqzURhvwVGLxYPddH+Qo8LdCgiOLUJJ ShwX5fQM+78gpOwGVKx18iC/lbmlTpCum4CjX1s+TVxRY9pVV4XLZs0RpCYqeZmPGGhR Ujvg+FnkDEbr2tTElFfaBrx23cpMRtHBY7FET3b+din4x+yo3WTsHM59MwwqPqmVe67m lgqBtb7atMRDzbVkUv89bJPlTKFMEqfB3hF0o7v0AyqW8lcxAatRhPtCBRY0+iC95JwM 2lfLCZ6JA9zfM/l4juEWaTcGX+CEHX/cLianW/tpaU5F8J1my+gMwAaC8orBe+J4TJqK 2Lxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735232862; x=1735837662; 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=xUsbn4qH8t1xPQtCnq4fSt0rQiZva/B8CbRLcxSWyZc=; b=pb2j6cSEUBz96/BmwdG41Rss36qE9w8R1QFx3W8wzxPVInxcHQXb9NZb8MNkWHqrqf a7hG5uatG87qtasKhX/S+XMYvIlh3/ZAwZOcLz8aCnAtb7MlyFF0Wi3lTyu/06c4aFRM qgPjLa09tnN+oK2IAss+LrWgB06l+GKMGpG7mgmBWw5r7GnR2s7JRI6pYBKanfpTqPPr Kb1sQEL/2YeQiXYkMh5m+GjAJ2wxdj07PoUdiGYSA8uELTrJbi8rfvjH3XsR1MA72kz8 N4NspbFjJgWlaeI+S6iHXmQQhxcDaztKyMirV6JrcK/O0PCEaV+V2MSY1QVc0x+lxBzc nZRA== X-Forwarded-Encrypted: i=1; AJvYcCX7IryqDHtHf8YvtZL+jRPXL7N3dmimla6FdznHMHqGIHGz5zH78lUf/kXh8FfcE7K0uguqY/RasA==@kvack.org X-Gm-Message-State: AOJu0YyKoqQJOwX29963dTIW/MretwimIo6zGOtj0Uh0bdAs2ErifkFX og6zn9AbigQj9gGEplKa0PU7Q92xP7mMO+nxXoyeLduLfvqlHM1CCXi3+MHruS+OwrGqRtH/t8K UiQ== X-Google-Smtp-Source: AGHT+IHO9Ln0yzQuO/gGPJ05vT5Etg8K56O3yhDTNfimuOaarwxAJxZRy61wRjd4sM0SxPCpRMWjAjCVTBo= X-Received: from plbkz8.prod.google.com ([2002:a17:902:f9c8:b0:216:69eb:bd08]) (user=surenb job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:dad1:b0:216:725c:a137 with SMTP id d9443c01a7336-219e6ebc7dfmr279213785ad.28.1735232862238; Thu, 26 Dec 2024 09:07:42 -0800 (PST) Date: Thu, 26 Dec 2024 09:07:06 -0800 In-Reply-To: <20241226170710.1159679-1-surenb@google.com> Mime-Version: 1.0 References: <20241226170710.1159679-1-surenb@google.com> X-Mailer: git-send-email 2.47.1.613.gc27f4b7a9f-goog Message-ID: <20241226170710.1159679-15-surenb@google.com> Subject: [PATCH v7 14/17] 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, 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-Rspamd-Queue-Id: 907C040005 X-Stat-Signature: oi6ndnuf1or8rrq3bzrdo15r4q5bzgig X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1735232831-864036 X-HE-Meta: U2FsdGVkX19EOstrjK9ewR+UEfQovE8H2MJ7EqWkNCo6z4HG179gscP6immBX8Wl4RbbDjTIfQmLvMvevrzbyZIpsp6ofRaG+jnN5P0kLD5+DWl1ynANxQAxLxsjgQHHPErTzbQ6wucrF4hrq65YMO+u/YegjRdEtESYc+GPqMyKI8GtEZS9s1DhDuO0hGiyv30JCSP8CHE1r26FSVd1JjBdybsbJ6gmS6KQVnPm/CnNH5U9yBpXmt13NAzik2MF3CD98BQFIsHaiArkNio0s3WaycxUv558Ur03G14lb87iF9gd/NugI6D6vklgVfHXeP7naDvu341WDjbqkKulRrB6tAuWB6rT80Jw875/SKXoc/y+KL+OVG2oI3k9MY1v3rbMUZqkfmc/ew2uAOuO8VPkwxdaSmj7iE/ZQFYGCoHYwIrCWmVjzpBZa/vBUzNj6lN6xa7vUoXqaQnIxbApHc0iIPT4Vj2NWPYE0kn1XrsGWuXqpCv0DOx1oeUJIPhFlf9oUh52o+z6ty2gtV69AipiWoeLeRT75eVJc/rWKm/4YxFhcCtkFu2/MsgHgwETj14pf4V/NsoiqFXSxthiAzV72zskm55fzH5mHbmKP43snSQEExTFiWd3dq0q/vkEekIJQtweKs+HPM+nAmxom5BYqFRCivr+gTJ3XLHp0slNiK0igHRdToIimW+FOfdFQZf5lPVm39D7dIftL+d2HAQYMyj7wyaXrv0TsXqSBb4EIVqyi31FAYh2mEckinc9t2WtWU5aMSXHvI1N3UBvo6CNcQyeBEVNXpOtMBt7E34toXBJd2+4vwnZyrKMyI6YesQg/aBcxEQ5XQAmxUxB6LGvKMJ+CU7mjI2niFA5Av/P3trXtR26Am3HyDuDE1Q6PbEKRyfsYe2C6nskh+PgMZWN7vi8dra35v5mvjvuc94l+VCZdboRvWuay/1/ji8RTfBAaPmXuKaP6fySlk8 ttu73CoZ 4a3PDeTLer/NHkkrjcSNq7bV88SwzTkpHDbQaYnmph/5l/JW1p0i/rYcsoprmPcDhhMu8U8IrSbKLR5qHHgKE2JiRt+Z9ByzzEo6zIBx1srOsqHNE2O6PUA2kE2Q7FS/lmF6oXCI5h4He/Q1fI5Xfwehp7xZhDmgRuxcFrdluRt6beYZ7yCJvLZvYCDz1oaoxXUg2BmFhPORupuDJ7sFXRBOj9vasb9rx9yju3ylj/mbkEJOfTj4g1OKinodcDNAYkycMQ/lCo982MeWcfbNGDq44PEmv9IYlOHMAbYOmE1on4lfb9mWFpPB7PQM9VkKzs8HX3b/NjWep33jrZF8KTxrMuLeqQ5Wu+4je5KhbKHZdBkcejZtd5S3dL73v8lCRfsAyUigtUE516zh1kYWR6MHW3o1J8/q7vfI8paq1X8ol/s4vioBZdNolwYEV8iyVE/3FIpOqMNldX8E+4BRZkOUlKj2i2KlxEA2AppIHc8ucLGfq1lMr3SqkGUHcD7OyqVwq4v064yAlQjH7WkiQktLIEpEWMsYmFjV3iCsZiISrfh111DOmvocirIOi+6BCE+jQnDi9O9ComfbI7IXgt2aiJg== 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: <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 99f4720d7e51..40bbe815df11 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -947,7 +947,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_lockdep_init(vma); vma_init_lock(vma, false); }
vma_init() already memset's the whole vm_area_struct to 0, so there is no need to an additional vma_numab_state_init(). Signed-off-by: Suren Baghdasaryan <surenb@google.com> --- include/linux/mm.h | 1 - 1 file changed, 1 deletion(-)