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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ACB5C46467 for ; Tue, 10 Jan 2023 15:31:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232891AbjAJPag (ORCPT ); Tue, 10 Jan 2023 10:30:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239054AbjAJP3H (ORCPT ); Tue, 10 Jan 2023 10:29:07 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C989C5370C for ; Tue, 10 Jan 2023 07:28:37 -0800 (PST) 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 24BB36A933; Tue, 10 Jan 2023 15:28:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1673364516; 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=zCUEdQONsr6wBAKkjfmGWORUwc+Xb+Iv9vr2u70QQas=; b=0rNcWETBujBkpTo2FOJiCO6Dzw3wHTZBwW0FLfDP63LKcvrDqf2fmONEQq52wXJleGADmc D9LP3MqS5wcHlapbcYShkIicdQ/2eZXVXyuP/pEAqiHw942wWFeUg1gszNNiJA551WhGEx oJ/0ncLe+D91Y/TJ5WgK4Y1350Z2dsU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1673364516; 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=zCUEdQONsr6wBAKkjfmGWORUwc+Xb+Iv9vr2u70QQas=; b=NIaSkvyVqtImLx18TTtfJVjj4IS05yiD7lHOvdplKDfX1xxMkPV5mTHlzbFOpUIzW2Z13U qUZ6QPv1GLp8SJBA== 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 F014213338; Tue, 10 Jan 2023 15:28:35 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id J7DZOSOEvWPoAQAAMHmgww (envelope-from ); Tue, 10 Jan 2023 15:28:35 +0000 Message-ID: <00e07f2f-6ba1-a95d-eb99-5c659ac199ed@suse.cz> Date: Tue, 10 Jan 2023 16:28:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 3/7] mm/page_alloc: Explicitly record high-order atomic allocations in alloc_flags Content-Language: en-US To: Mel Gorman , Linux-MM Cc: Andrew Morton , Michal Hocko , NeilBrown , Thierry Reding , Matthew Wilcox , LKML References: <20230109151631.24923-1-mgorman@techsingularity.net> <20230109151631.24923-4-mgorman@techsingularity.net> From: Vlastimil Babka In-Reply-To: <20230109151631.24923-4-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 1/9/23 16:16, Mel Gorman wrote: > A high-order ALLOC_HARDER allocation is assumed to be atomic. While that > is accurate, it changes later in the series. In preparation, explicitly > record high-order atomic allocations in gfp_to_alloc_flags(). There is > a slight functional change in that OOM handling avoids using high-order > reserve until it has to. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka