Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8017140rwl; Tue, 10 Jan 2023 08:05:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXseESHpN3xuQxE/5uQIYXVOdXaOEi0Kne+w6jgt0yg0OHjW7MgiIfzHgbuLu8posauXZPzr X-Received: by 2002:a17:90a:4e0d:b0:226:350e:1b36 with SMTP id n13-20020a17090a4e0d00b00226350e1b36mr40272529pjh.16.1673366752464; Tue, 10 Jan 2023 08:05:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673366752; cv=none; d=google.com; s=arc-20160816; b=P3BxSNHs6cOMVuafwIa4YKgbyjmjHd755XxnKWErFQCnu6it3ZFLiob9cJSugbwP/s M2D6wHzhDTlPm7OzVrimGn6tWSCGLLbFzewmphWj6FRKApyFBvH1tMOEr63H7beHF6ev BbJjAzCf/FgDPXs7JT/VLpj0ZGtcuaRC11fU9Ma+v/2VSc+cM9N/EX2vlUnDcVs7OLRs JLbm94jxTB9yVrXMZIK8NKffLfGVFVDK7ybbyJIq9q5cT0jKQMRQfOcBPHae0F4VRWZv S4/FjKVMU/Lz5N4pwUvjYbdXI7g/BVYmaFDmRAQ1+vbeUK9md9wsTbI62CveWWb6rTA0 0PPQ== 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=zCUEdQONsr6wBAKkjfmGWORUwc+Xb+Iv9vr2u70QQas=; b=UHCvAqIhr61L88sSXXW/l7Yb/BwPNVMRMQlS5BgyGUAcBmnW7bYInJQ7xNez20MJRI kX0Zz1bFtRKQzHcV+wdB6/Wqbbis9n+SkJcI+MWNDhrGvn3Eu4NZ5VTXcNslBmoiCdPW x0THfflu7PAX/bHMXVQhLUrrSICKyjqFC3KxbgtpynqywFhEkXKI6P2XtDhB0yH2QEg4 yks8ZPv9ChDGI/sdUiT33prxzpJ1HyCGCKsXpSZLv3m/cFR1iUmmp0d1L6xjTLHpO7JP uWyaQml+EZhEJtYUT5dwJnuEUbzY9ae8dCebR2qrdF10Ta+R9df3ufQgPDHpnwOtJB+J +Lng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=0rNcWETB; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on16-20020a17090b1d1000b00219a8d98afbsi10499903pjb.132.2023.01.10.08.05.45; Tue, 10 Jan 2023 08:05:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=0rNcWETB; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238544AbjAJPaf (ORCPT + 53 others); Tue, 10 Jan 2023 10:30:35 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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