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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECE0CC433EF for ; Tue, 19 Oct 2021 09:20:55 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8625561212 for ; Tue, 19 Oct 2021 09:20:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8625561212 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 11C586B006C; Tue, 19 Oct 2021 05:20:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0CD156B0071; Tue, 19 Oct 2021 05:20:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id ED682900002; Tue, 19 Oct 2021 05:20:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0081.hostedemail.com [216.40.44.81]) by kanga.kvack.org (Postfix) with ESMTP id DD87E6B006C for ; Tue, 19 Oct 2021 05:20:54 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id A670F8249980 for ; Tue, 19 Oct 2021 09:20:54 +0000 (UTC) X-FDA: 78712642428.29.ABC1B76 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf29.hostedemail.com (Postfix) with ESMTP id C9DE29000094 for ; Tue, 19 Oct 2021 09:20:51 +0000 (UTC) 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 X-Rspamd-Queue-Id: C9DE29000094 Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=I7lUoBhQ; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=CmF3MEuz; spf=pass (imf29.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.28 as permitted sender) smtp.mailfrom=vbabka@suse.cz; dmarc=none X-Stat-Signature: zw174yugin5xuzg6zqpefiqmbmdeekbe X-Rspamd-Server: rspam05 X-HE-Tag: 1634635251-854456 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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)