Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp266324pxb; Tue, 19 Oct 2021 02:23:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDjVIgSoeOcpIXXswJMAhL7dIvBsTK1P6aK/kacQ4WoQQbpbXQuH82E6D3IN0OvfsJJzkw X-Received: by 2002:a17:907:7ba6:: with SMTP id ne38mr37338369ejc.150.1634635427635; Tue, 19 Oct 2021 02:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634635427; cv=none; d=google.com; s=arc-20160816; b=bMnH9VOaBzzuEM1XaWK0+3XPr63ZVH1/4EqfQ6GTAgT59IUl7dvVcAF3t675I9+EMM 4Is5t5eHoA3a2Gs84JoIRpOULZH/JBeQpRA+hXObXMZncWacV7BEc0q3yqQ1NyY8CkkE si3BySJK7RUtCddnsxkPRWan2NL4MiQK98ctR+Bg/vQfe+kTsLQiDhGZUXjH2H0CdaJM hDjd+xUpBpNQ0P9bEFO6f7L1HsbqkyIM2U2lOXs23Ckz70BV38aIZ5T9huccHffC3d2e M9fDkibOrLiIOl+IYOhAO5gQy6FUjOpPg3Ilm/gAY3euNuFATyAL3ao4fmjlO6A9QPSb /I5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=9VgWU1s/0gfGgLR7Sl7F/C/e7bwTkKRJ55tTUCwUG3Q=; b=Jzs9ky6hoW+LQ7+8l+nj1oBw6fn0sX8DNaxzX3K3uUYdEIvyFH11LLmIXOBQFXNXTV O3UpdURSX96GKvWOAe7jhGh0Na7YSM9aT6acumFakMoOJ2rdmqcEwbQek7b7bVSDZlPy fbCv/lkuseCj47x/cBs1dFahwgLIkYo2WYCjTU2xTr33emnI3e8P6fBBnXe3dOYLmJch wYInmhtqhv9HKPppCZbOPgKVV6FTQedK+VTCHXeoo1r6udSaI2j9NCLu8vCrEn7If5MV oi61/qudtxlvrDGlBI2AWVccMkAXRW/FSdwj4Ki6x1UHWzf/yaBn8AHhBAYlC9hS6oOU GiQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=I7lUoBhQ; dkim=neutral (no key) header.i=@suse.cz header.b=CmF3MEuz; 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 d22si21745900edj.390.2021.10.19.02.23.23; Tue, 19 Oct 2021 02:23:47 -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=@suse.cz header.s=susede2_rsa header.b=I7lUoBhQ; dkim=neutral (no key) header.i=@suse.cz header.b=CmF3MEuz; 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 S234933AbhJSJXO (ORCPT + 99 others); Tue, 19 Oct 2021 05:23:14 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:39952 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234871AbhJSJXG (ORCPT ); Tue, 19 Oct 2021 05:23:06 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 076B4219CB; Tue, 19 Oct 2021 09:20:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1634635253; 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=9VgWU1s/0gfGgLR7Sl7F/C/e7bwTkKRJ55tTUCwUG3Q=; b=I7lUoBhQOzqQfnnYWPGQClpg5p/2Xbgea6OGzW7r0jDuDJQ7+lsXqehJaVWa8FCpHbNy6Z /q53kp04oHpionNd3EDUhoRyaWczReKDVg8b7jiJUFGA439cCaSWqbuoFpeNBhP2zx7t6Y LbQOFHHuqB4WbKkcTXpX4WWzU51OMxE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1634635253; 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=9VgWU1s/0gfGgLR7Sl7F/C/e7bwTkKRJ55tTUCwUG3Q=; b=CmF3MEuzA5v8iCj1RhQJTAVRZu36POV3h4AmgVINadSaklB0hdDv6xe5H7ucUDE82c2hIE N1nHTvOqJmQQ8ZCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B713A13FE1; Tue, 19 Oct 2021 09:20:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 2YHCK/SNbmEwKQAAMHmgww (envelope-from ); Tue, 19 Oct 2021 09:20:52 +0000 Message-ID: <2d3d2636-a8ba-4aa1-e7f7-1a00bd7eb097@suse.cz> Date: Tue, 19 Oct 2021 11:20:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH 5/8] mm/page_alloc: Remove the throttling logic from the page allocator Content-Language: en-US To: Mel Gorman , Andrew Morton Cc: NeilBrown , Theodore Ts'o , Andreas Dilger , "Darrick J . Wong" , Matthew Wilcox , Michal Hocko , Dave Chinner , Rik van Riel , Johannes Weiner , Jonathan Corbet , Linux-MM , Linux-fsdevel , LKML References: <20211019090108.25501-1-mgorman@techsingularity.net> <20211019090108.25501-6-mgorman@techsingularity.net> From: Vlastimil Babka In-Reply-To: <20211019090108.25501-6-mgorman@techsingularity.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/21 11:01, Mel Gorman wrote: > The page allocator stalls based on the number of pages that are > waiting for writeback to start but this should now be redundant. > shrink_inactive_list() will wake flusher threads if the LRU tail are > unqueued dirty pages so the flusher should be active. If it fails to make > progress due to pages under writeback not being completed quickly then > it should stall on VMSCAN_THROTTLE_WRITEBACK. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka (did in v3 already)