From patchwork Tue Oct 11 17:55:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Dobriyan X-Patchwork-Id: 13004221 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 ADB96C433FE for ; Tue, 11 Oct 2022 17:55:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E98606B0071; Tue, 11 Oct 2022 13:55:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E48196B0073; Tue, 11 Oct 2022 13:55:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D0F996B0074; Tue, 11 Oct 2022 13:55:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id C0E226B0071 for ; Tue, 11 Oct 2022 13:55:35 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 7277140D94 for ; Tue, 11 Oct 2022 17:55:35 +0000 (UTC) X-FDA: 80009421030.22.5813E69 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by imf04.hostedemail.com (Postfix) with ESMTP id E4FA640027 for ; Tue, 11 Oct 2022 17:55:34 +0000 (UTC) Received: by mail-wm1-f54.google.com with SMTP id n9so3514985wms.1 for ; Tue, 11 Oct 2022 10:55:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=hI14H3g8yjsTxXv0jvrN5z8ArDgcl5Fc6lohQ6WQZmc=; b=Z8gvvezIuojAOF3JTwf2Fix5QlfAMbq6uBAmO/00Q6MQA5ELL7r6OGs6pc2qz+C3G0 cigzVuJFOHnxgax0DZjBKRa2sWUTu6baGv0LsIOstgnUeVpfpynYAU3YsPSbl1+UNzFX OqsVRtbVyNhu6MoRd+C8lgjD6bfUFHYCnZCHb+k74JXKUXLrdZgHUQta9E6TYphE3WJ5 d1GIhGM5fDxVDE8mGh10XDR0kn35fkFy6cgOMBm4WgqfZ7BuV/g3blTjD5RSJaCRRwJX FUwjN6s2lKSl5LU2EzDFPKfWGVoksZJjgbj8pZkaIF8F7NhPRxJEJ3JAPHFKkAlkNQ8X 84MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hI14H3g8yjsTxXv0jvrN5z8ArDgcl5Fc6lohQ6WQZmc=; b=XDXAAgLcP/hkqSWPZKVJVzjXWgmOctRtmGxqvz0wFzj4KpU/PhnLKOat0epb31h1sf QkfnhprsVCNEa97Hrp/FGj8UrT/0oxculbqKia9W7UdMbsccIe4e28qJxzWwv9yhAXRr oA1d6Pf0GKnJkLRMPavialOJkeVybXFqy3uq7gZbiDaMs/a7llNZLqRYY3t0soUB4gno f0unzZ+qH4hxEjOl9rDuEbez13ZCMYckZLLBgtEeOsTlL2zFEo5kSjf1qHzDivjepI/R BIuUcp4cpcxzBJd5ZHYd0vUzJuqYC9vBCp6vquLIBKg0flRj4gR4da5I2fhZXrDTKpQp bhKQ== X-Gm-Message-State: ACrzQf0ib+ezHyMiNpdByJJseW3Eiel6L5bVUjIsCbAYC1LJ7fjvXmkn hz4WZ/RZJ4dDV+leg9FZRQ== X-Google-Smtp-Source: AMsMyM7klzmjpI1wdERlm4O1tcnkW2UBxUUcFeJYydA6NmoH/zXM+QknaM2FLbU2q3ICmLcBwTxpHQ== X-Received: by 2002:a1c:f002:0:b0:3b4:dda4:b58f with SMTP id a2-20020a1cf002000000b003b4dda4b58fmr198492wmb.184.1665510933642; Tue, 11 Oct 2022 10:55:33 -0700 (PDT) Received: from localhost.localdomain ([46.53.252.4]) by smtp.gmail.com with ESMTPSA id i29-20020a1c541d000000b003c41144b3cfsm11113125wmb.20.2022.10.11.10.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 10:55:33 -0700 (PDT) Date: Tue, 11 Oct 2022 20:55:31 +0300 From: Alexey Dobriyan To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, liam.howlett@oracle.com Subject: [PATCH] mm: more vma cache removal Message-ID: MIME-Version: 1.0 Content-Disposition: inline ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1665510935; a=rsa-sha256; cv=none; b=4xSA6Z5tqJnCoJL7EOhl5umVm9CniQbqQZGEl4YbRvYwlL1lUcoLg9SMJjrgcURZewVvOi d4sdtrmIFxmviAOUkSfwvkgrdRIvbW7DQhuiSOupXcEeUFSFNjYvWP0VJsp7vKT2p18twg I1rEdq3t7lmalLM/L37otrcGaAjf4vI= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z8gvvezI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf04.hostedemail.com: domain of adobriyan@gmail.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=adobriyan@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1665510935; 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: references:dkim-signature; bh=hI14H3g8yjsTxXv0jvrN5z8ArDgcl5Fc6lohQ6WQZmc=; b=DHc0VRuNJ84A4kFybcE5oBrZ6zZI0gs+RwHIzUquxVFSq3OBwwOCYtl2CEea/svFS/m74o kRHbsDLLyS/AWajW0VS4Np3pb1hIHlaXwG1ReGf6+5ZkEI3K5V1q9VgmtZtcSL1HkJ9C0h mZUu39xZwB5dnHMm3ahwkvOG7qXQUUM= X-Stat-Signature: qo6i3dkctprwotfoqaq4rhpucgigjdqo X-Rspamd-Queue-Id: E4FA640027 Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z8gvvezI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf04.hostedemail.com: domain of adobriyan@gmail.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=adobriyan@gmail.com X-Rspam-User: X-Rspamd-Server: rspam03 X-HE-Tag: 1665510934-825887 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Fixes: 7964cf8caa4d ("mm: remove vmacache") Signed-off-by: Alexey Dobriyan Acked-by: Liam Howlett Reviewed-by: David Hildenbrand --- include/linux/sched.h | 2 -- 1 file changed, 2 deletions(-) --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -870,8 +870,6 @@ struct task_struct { struct mm_struct *mm; struct mm_struct *active_mm; - /* Per-thread vma caching: */ - #ifdef SPLIT_RSS_COUNTING struct task_rss_stat rss_stat; #endif