From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D40FEC4708C for ; Fri, 28 May 2021 11:43:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1D726113D for ; Fri, 28 May 2021 11:43:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235591AbhE1LpC (ORCPT ); Fri, 28 May 2021 07:45:02 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:33008 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230080AbhE1LpB (ORCPT ); Fri, 28 May 2021 07:45:01 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2DBB6218B3; Fri, 28 May 2021 11:43:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1622202206; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9s7qI6fPmWwhDVK9qhBrtaB5fZd7wpN4H+FoavsyRvU=; b=XWiSlIDB6KkoR49po06mLRto3/A32EMGCudYyxt10YqwFLf/nNuCI+9vl6XcPRGI6Na2EW 93UTaQG4cXtleSCkIkQ8D03/S5792juPugf+d/aXIrlsqCtE9IevyKrcXnymMWQpB3fT4p f5V1Mwzxb5BxSYKDTwbp8DyaYmGrqu0= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1622202206; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9s7qI6fPmWwhDVK9qhBrtaB5fZd7wpN4H+FoavsyRvU=; b=a8tqcbBTFQ/74aCA0n5xh+ioMuH7uHviKJG4bNNebDFhd2MB0tubODn0lARVsaFUI9bS99 trbr9A4Q4z64giBw== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 167D211A98; Fri, 28 May 2021 11:43:26 +0000 (UTC) Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id 20L8BF7XsGAvEAAALh3uQQ (envelope-from ); Fri, 28 May 2021 11:43:26 +0000 Subject: Re: [PATCH 5/6] mm/page_alloc: Limit the number of pages on PCP lists when reclaim is active To: Mel Gorman , Andrew Morton Cc: Hillf Danton , Dave Hansen , Michal Hocko , LKML , Linux-MM References: <20210525080119.5455-1-mgorman@techsingularity.net> <20210525080119.5455-6-mgorman@techsingularity.net> From: Vlastimil Babka Message-ID: Date: Fri, 28 May 2021 13:43:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210525080119.5455-6-mgorman@techsingularity.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/25/21 10:01 AM, Mel Gorman wrote: > When kswapd is active then direct reclaim is potentially active. In > either case, it is possible that a zone would be balanced if pages were > not trapped on PCP lists. Instead of draining remote pages, simply limit > the size of the PCP lists while kswapd is active. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka