Message ID | 20250111042604.3230628-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 C9B71E7719C for <linux-mm@archiver.kernel.org>; Sat, 11 Jan 2025 04:26:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1990E6B00A7; Fri, 10 Jan 2025 23:26:41 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 122456B00A8; Fri, 10 Jan 2025 23:26:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EB7076B00A9; Fri, 10 Jan 2025 23:26:40 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id C8F4B6B00A7 for <linux-mm@kvack.org>; Fri, 10 Jan 2025 23:26:40 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 7EF62456F3 for <linux-mm@kvack.org>; Sat, 11 Jan 2025 04:26:40 +0000 (UTC) X-FDA: 82993884960.14.AE18E51 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) by imf06.hostedemail.com (Postfix) with ESMTP id A580218000A for <linux-mm@kvack.org>; Sat, 11 Jan 2025 04:26:38 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=CuzOG2hF; spf=pass (imf06.hostedemail.com: domain of 3_fKBZwYKCC4cebOXLQYYQVO.MYWVSXeh-WWUfKMU.YbQ@flex--surenb.bounces.google.com designates 209.85.216.73 as permitted sender) smtp.mailfrom=3_fKBZwYKCC4cebOXLQYYQVO.MYWVSXeh-WWUfKMU.YbQ@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=1736569598; 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=rrfyWeUIr/I0BTq+qLIV8uWpeFqy3I6BsfgqMyH93Tk=; b=hOe4/3ktL6r5VD+bP//WiTavdlQy0wxUIrp3XVqUCsf2pJ9irLKVQwaE8+/ZOEv0ddXIb3 BCQuP3XmFESvBOri3spwcD1AZg9lftBtc+G/M90DqJ7mbH6u2ZsF3eAOwOUHoXcj2f+99Y sYr6h4oHKZj4F8uKWzWVnOvr3zZAVzM= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=CuzOG2hF; spf=pass (imf06.hostedemail.com: domain of 3_fKBZwYKCC4cebOXLQYYQVO.MYWVSXeh-WWUfKMU.YbQ@flex--surenb.bounces.google.com designates 209.85.216.73 as permitted sender) smtp.mailfrom=3_fKBZwYKCC4cebOXLQYYQVO.MYWVSXeh-WWUfKMU.YbQ@flex--surenb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736569598; a=rsa-sha256; cv=none; b=g75+mprLvs3z2o1xUKxiuGmb7aAgjHUw4LgK+9s7X67yS3DweSxAE2s6CCt1+5hlu0BDGf F75hDjPmw8iOXjQZQBLhmwERPQyy+6N0LTGJMo3We5ppFzE6Wcm0NdNN4XqaE8+qXzFtnY +4EEwPrl4cw2t945wCz+T1TbAP5/Np8= Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-2ef9e4c5343so6934646a91.0 for <linux-mm@kvack.org>; Fri, 10 Jan 2025 20:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1736569597; x=1737174397; 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=rrfyWeUIr/I0BTq+qLIV8uWpeFqy3I6BsfgqMyH93Tk=; b=CuzOG2hFNIEjqxs9mDEPta6QTzXh3n+Y7j3ar1rMFYpVxC0baPm8vior+PfTscYS0y 8TjGMj6TDK5OsFmIWyo2M/gf3bVr1EB9a9So7VCtms05O8gBwWwgraLUrLnc6XTKlNLY Z1gt2iZ8iTUauCyU9CkSmTXLGosphvl+fHpWPxGZHaHTRGl3LWcKK0fuPApbTsCF1Dwn WNVXPnsttpexLm36b5epPNoB66mjl/aLFi7QqDXMAAuqMEGoM3a7M3oLIGdvOifxttyG 3qq+YsDWVL2USeH95eFnB/CXu8pjL+cRCfd7QctBJ3SyooFKJEJWiEA4rlhueKgz/iUE U9BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736569597; x=1737174397; 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=rrfyWeUIr/I0BTq+qLIV8uWpeFqy3I6BsfgqMyH93Tk=; b=oWrs8bilGBN7U3e3y5SGGeaqwSlB4wKa6qFJai8oydj9S1CpEbtu3k/wqwG24d0c8R /PL+ELWRAHVnTVu5YaCZWF0evR2273h71ztiaUUmW9uAUcFm+a/SGB1ECs/3HKlSYtpX iT1QkfN4gA4r9O347FgxX9jBBPdPU/rA81u4ALeoKm55PQ04m5tt/zmrWxIzwtxgT99r p7KII4PRKQkdCL7asaYOfRKUuYUinCptz3sgLPL7ThxnVcM8m4CbwthlMAhdRpFFQVmV P54Y9jaHS9/doWcJzGx5x1zaU1MUiinZbmby1qxeB9FtcyAEL40oDdSzyPUb1glBPYjX YdYQ== X-Forwarded-Encrypted: i=1; AJvYcCXwwkORTye5Ryog+t0BCjHafs/M5nrERywjO0aAwgchoSyxcETYYyJ4Zxhsv44sZrwa0qwmd7aHAw==@kvack.org X-Gm-Message-State: AOJu0Yw1QMpJPvFeW5r+V2w9w52f24VoXgF9MZzxs46XJPZobYH2I20L n93DllqNMi2MaJ2Oxcttw5/2FW/dDePqRlR8cYfAQ7r3TvM3j9bXCnxbYgeVUWnPWzl/YZrFpMr 0Qg== X-Google-Smtp-Source: AGHT+IF0cO5xMxR+CmFlng0UtVrY7zpuViy4m8fCuGIIjG6w6sySt0yQzGg7F/vXZQnVto/CKon38/Om3JE= X-Received: from pjz13.prod.google.com ([2002:a17:90b:56cd:b0:2ef:7af4:5e8e]) (user=surenb job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:3a10:b0:2ee:f1e3:fd21 with SMTP id 98e67ed59e1d1-2f5490c20f3mr19186046a91.25.1736569597473; Fri, 10 Jan 2025 20:26:37 -0800 (PST) Date: Fri, 10 Jan 2025 20:26:01 -0800 In-Reply-To: <20250111042604.3230628-1-surenb@google.com> Mime-Version: 1.0 References: <20250111042604.3230628-1-surenb@google.com> X-Mailer: git-send-email 2.47.1.613.gc27f4b7a9f-goog Message-ID: <20250111042604.3230628-15-surenb@google.com> Subject: [PATCH v9 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, david.laight.linux@gmail.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-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: A580218000A X-Rspam-User: X-Stat-Signature: ujrrw8txfwkqzm5kbx47mzy38t8mpshf X-HE-Tag: 1736569598-371735 X-HE-Meta: U2FsdGVkX19jjOxcesDod6lyAS4cfDQboWu7slLATbKFLzXwryTqEoH3p9ZsaCqY1BYx8a7XkSlOI+6gYYLxIc+O5BsKHCnVc2OJW12rjs0TUX1riVM4SCOeyvvg3QxEvTxfQMcMQ2eQYrXRvtekSnrAhRGyHDZApwV4yhYwUGG5NhF1FTidJS7aPk7Qu5zfOKEEB35kNRouvED8q3ftraPxfa7JUD2n5E4N+RJ0hz5Sn4AP5vtav39OnonqXFcnpYnexKfLiykrHYJla711dMHuTjTFCnJFuXQBVVGeFjYkf4ZziKEA3MtX3cKr8zHHt8jlhJ0/INP8mO9Ydtm0Z7NHUn+tBZYEsmjAOdleD2orOpvoASdQ3rD+sji/vycIMDcFhZrMWvpavV47GVZYRph2Zr1de2Esap7Dq/9INnLShYWUSDLmpNXBHnBxL/Z10AKzcnn+peRTv1pNMm5j3mgR+/5aY78H5Ii+MbCVjZULr9BC+Px3AAiSmJC5W8fsbjZYS6aS3ndU28bzS7ZGjUYg3OQ0cspx26bkJ30FYVqg2BS0PKegM14v7qupq0hMxZl1xIG8hlmJFJxmJd72trcWxAGYfsbLL8V5JoZGTm1EdiEnIFrmtmY8PRtcNHuiTpHFrkexn3RtyfaU5h8LcimC4eGckGnatU9vUIDsnO1/QHoke3cBFpCH/0EreWp1piw4BuXSqM23UE2MAFg2B113+uNi++vFIKslBCphkdi+ElXGQzQBnaVls4aVJKVzFP8w2l3BidnNq90Inbp+a04+eLPrlO13mBlorjpYwlL9p4e2ow0XgpyVsEUDiIFZfvoxizSL5Y+E177AkG6TQFrkWtJ6P2QoyK6muqm7ylsLK8sVlI2JlXpHSP8ZxExKjxsZzdpsdq0sJdXmSqLf0WPWpaczSgKSWaC+fc9zmdgVVNGbYCqOGNyALXDTxeCMRIKu7tqdnO/rIBgVK7V i9/HHO7A F9vUvUPsou9sPFhlxDH+r4dQYWsOHxvajRF6gaeeHzvtjUlax6WVf2b+LrqMq3wNixUxpgtSQHkLAfeaacItkRyeBQm04GqHmjx2Ns/Wsw9p/X9/55wTsX7g7xtPTujekuV9G7UItIv2xz0/+hPSmf3xqLK/+pO5XnDHgmkd/BpdEvuI7oPcL6FJORX6+eGGK7QOktPXn7FQBtTcAwwaKKEzFyCb87aGHtTiZqzJvJtzUJ5Ab8V9ksnUFy/LWf/2LeIuOjNpqZAVQZLpTqEbbRHPcMM+QSXY3bqKbqgm3xuaLrL/5XDG4vmHUVwRNOeMxlelidkk58cg6X4dhIWhbiXOnlwhbdel7YL9QcP2iXUx7k3wJ77BRoHfUZ0R6EolixtXOS7DslGWeOqzEfYtmb8h2YL31/osmW+8ddybEyNVfCQhg70MCQ3K2qMgUlvf7Zqk2H51NQ7SmYjPGwhbgZbdavsd/LeBj2Br0mt2AwVUuaTz8P+At28HRD4QOPJ1zBC4ykgEG43jCAhoz9Fw55IzbwidHGrpP/+4eiXmbYaZjD+UsDLxlVgmvJ5sePVpyj3GRYzZC7LQxdNIyyKqKbbU35eEtemtl5BIFusTxVtRKPjg9fTnjGxCjeFZPC9h4Q2FaUeb6MogevvHdGp8ssEG9CqewsPtMEf93 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000021, 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 |
reimplement per-vma lock as a refcount
|
expand
|
diff --git a/include/linux/mm.h b/include/linux/mm.h index a99b11ee1f66..c8da64b114d1 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); }