Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp632174pxj; Thu, 27 May 2021 08:15:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnMg4nk/GO/8XfrlUhCTA+IgZw/vW6Z2F1qGHaYQLY5dxsv6J9S91duI2f+khZaeRBW0zZ X-Received: by 2002:a92:d4c7:: with SMTP id o7mr3467211ilm.130.1622128506171; Thu, 27 May 2021 08:15:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622128506; cv=none; d=google.com; s=arc-20160816; b=w558FuChodp7fuh+9Q8b/FJcYZaynlJ1NHmIl/9OIw2tKhmgVfgwYaMnSpglBvNPAi mVOYA31NBuRZQXRCz/jJZiRtGF5PfzGFf6RTkdoAT0whAgJhSf94l4Jy+NGPp4soGShu dsp27oounDaTyilaVfinBeP+wjkspb45lrwi/64CIuAjcMQ2SLOTs4f3dm9BlS29z0LB VAsO9rMO9NVDuYx91A3rhk3A4ANiyjFUlfhOKKIDO/u+2lnQZMWzu1x87waC8G3NKFCO iSO3NEiriVpbse5sexmqgClM5s4OExP4KRXiRUw3Q61tB/JQ1AdKAAGip3TAkvsALkQq ULHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=jcYzwiykpy8reYauDRa+4H5WzJKC8nKM1Ty7GsBBKSw=; b=I6VaoNZjv22WvV9PpZZrjzHM2d9OPQZ3FZ0FGrjw1h8DXxCas3U4abWUHVzFUNmuS8 xTbqwgd7P664sKT9q8baEJFWeycCzO28sN9eHsLW1yDEkugLI+h6umzpFCZnKxU0/rQV Aq8fwyFqeZz4fYi99t9vEindx+v63t2ZrRWxAbD9SBpsZGnpaDwlzlNDixz1zWIXNrR5 ReMnn40PGqbXHqDCOfNEMeC0LpYgo13hZBVyc/koEFUtCWz+abXDWShJblG35eliiSl4 BUf7feRb9dszazVPSJhLK1c2pgoitGbDS/SQ/l+dl5LYf457AhUd4XbaMswfZMQkW+or 998g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=EY0Px+eK; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=rHbftXmi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si2689175ilv.99.2021.05.27.08.14.51; Thu, 27 May 2021 08:15:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=EY0Px+eK; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=rHbftXmi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235632AbhE0JRJ (ORCPT + 99 others); Thu, 27 May 2021 05:17:09 -0400 Received: from wnew2-smtp.messagingengine.com ([64.147.123.27]:33873 "EHLO wnew2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235589AbhE0JRG (ORCPT ); Thu, 27 May 2021 05:17:06 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id 34010F5F; Thu, 27 May 2021 05:15:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 27 May 2021 05:15:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=jcYzwiykpy8reYauDRa+4H5WzJK C8nKM1Ty7GsBBKSw=; b=EY0Px+eKZeV6/mrD43SyzdTTQaRFbdsJOru9N/GtOdg lCETAQHLexUg7chWScZVp0f1xWehXBhjmIA0ogbSy9PBGBuhWwh2MiT2SNTASBPk u8H67zF9JBwTUNIYjMHa+PwFPVbSb1umVXdp/KoJQwk+kbrQ5akAd1t6SY36gsfw NH5UkPWZiENTMCcSifucLw1ov0i6F0a2Nj6bzlkOSf6YwX1fYXHFqMSVQYLPMmHf tumFU3vgF/JJ1rmrj3QTgorPLh9EqVdhbqfyaptt4qS6nsP3yR9zNNHgyWX8cl6H ZjkMcY3gTaVm3U1nzTOEWeXBAwX3n0xoD0y+5eBQFxg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=jcYzwi ykpy8reYauDRa+4H5WzJKC8nKM1Ty7GsBBKSw=; b=rHbftXmils8cgyVch3bxNp qjdPOrkjbEftBLlMMDPaY9pZgJkCM6rNkgoTqKu5okEjLC0/3YmSyB8fF41e+AOw Thj/ZcvuvS6+tF6SPWkb0Ko8WbpTheKlicoRlj/Q7ZEaDa7/DtnBfPuH55mrjBE4 KBoIAhybn3m+MBGbq+hdb4IR5HnDFqfJBfZ7qGagr5NU366++5vTdxrcdnkQbwU8 b2QYZNMJQUvIMSs86mJ3MHXiOF5TRZUxcsdPSCTnlMM1o7aaqo7pvpJp5KwiGDIO 754Zolhp3S2oKboYvlcAw8P98i7IPAU8pKpbXor4pJuE8DH4RkJaoM2RCxjOA8tg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekhedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefirhgvghcu mffjuceoghhrvghgsehkrhhorghhrdgtohhmqeenucggtffrrghtthgvrhhnpeevueehje fgfffgiedvudekvdektdelleelgefhleejieeugeegveeuuddukedvteenucfkphepkeef rdekiedrjeegrdeigeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomh X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 May 2021 05:15:27 -0400 (EDT) Date: Thu, 27 May 2021 11:15:25 +0200 From: Greg KH To: Stephen Brennan Cc: stable@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Christoph Lameter , Mel Gorman , Andy Whitcroft , Aruna Ramakrishna , Khalid Aziz Subject: Re: [PATCH STABLE 4.4-5.3] mm, vmstat: drop zone->lock in /proc/pagetypeinfo Message-ID: References: <20210526174613.339990-1-stephen.s.brennan@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210526174613.339990-1-stephen.s.brennan@oracle.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 26, 2021 at 10:46:13AM -0700, Stephen Brennan wrote: > Commit 93b3a674485f6a4b8ffff85d1682d5e8b7c51560 upstream > > Commit 93b3a674485f ("mm,vmstat: reduce zone->lock holding time by > /proc/pagetypeinfo") upstream caps the number of iterations over each > free_list at 100,000, and also drops the zone->lock in between each > migrate type. Capping the iteration count alters the file contents in > some cases, which means this approach may not be suitable for stable > backports. > > However, dropping zone->lock in between migrate types (and, as a result, > page orders) will not change the /proc/pagetypeinfo file contents. It > can significantly reduce the length of time spent with IRQs disabled, > which can prevent missed interrupts or soft lockups which we have > observed on systems with particularly large memory. > > Thus, this commit is a modified version of the upstream one which only > drops the lock in between migrate types. Now queued up, thanks. greg k-h