Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp794497rdb; Mon, 29 Jan 2024 20:34:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEef/3qKzCCKZyUfjM5XTXt2QalJLJ1Sqxyo8ikysKAXGx80dVoOP1Efa6DZnOq17726Bo5 X-Received: by 2002:a17:902:eb90:b0:1d8:f071:5067 with SMTP id q16-20020a170902eb9000b001d8f0715067mr2633363plg.35.1706589272532; Mon, 29 Jan 2024 20:34:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706589272; cv=pass; d=google.com; s=arc-20160816; b=W18jc5ouv/7ysm7JbtA+hyk86DfIl3eHwxrn4+3lQ1O3kMq3EtsvPkda9M7Cy0c0Y/ Vklm+EhrUPDvnHtoRNKs97xPafxNSKdPo1F/hp8Glb/ZArwjs/pDE+JzlUGPzZGfj8En rZIOnF2RwN2elmn9Oot4myCZfVkRGFm/SnhZD/euptdlK118LHg2nRiOK/HijAnz0QCl RZd0dIq40WoJOH23pXbWtE+Yw7uaIyln7G0KE0y52d7yxquBvcofLio0TVwyFR3jT6RA Dvv/snDPF0s7VyE9yI9vrBtHIQDARU8bSYqGw9RQh4vp+Gjtd3fXl6k6IcFWZLIAX+5U A78Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=GfHw5ZZByjt9qO2d/+SVY0a6eTt9STK5ptxi7K71cA0=; fh=SsjTWXzbdXss2wZI/asEHqJ2Jjm37C/4DwGLJTIbR5w=; b=FTU3+9JZVYAFnHdCLGlC8c9NytgvP0V7CSJGTvStBXLQ0F5ImlYq6Qd6/7u9alH2m4 cUA8iirXNrMUQU8BQD/jr1dxkOisL8sDkHAmY3HAs5QAaffEc2Xec7+AsOXMTsFv0Q8v YVM7y/bn2iAyPUhEb1I1rRcNndtaU7V0bJy3dAmTJztj9scTm3MnGXti+2EJReQ5Suz6 7FhKlys9FwM1mdASK+eeGwjgRgXqFMb7vE6gqg1oObIpp0FNuSB+DhoPxF+Yn4Fd8fwQ V0MWvHF0DpCQhKXM4kP0sQPz2MFM2EvnumqQ3FtEbxs80O5yO+YrbDDs1CJWtlfwlhsN cZrw== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-43934-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43934-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n6-20020a170903110600b001d73d6d900fsi6847573plh.169.2024.01.29.20.34.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 20:34:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43934-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-43934-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43934-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 566232872FA for ; Tue, 30 Jan 2024 04:34:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B446D381A2; Tue, 30 Jan 2024 04:34:22 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30F8C376F2; Tue, 30 Jan 2024 04:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706589262; cv=none; b=GBOYmue34Im2NIjgczqPnuDi+tIYHKb1GV/L++72sVh+ttgXYS+zamGTq/EodtkE/p+0BVIDDXknvXC6g2sIfVnKWjMcNRL5mCEEbnEfqlXg+J2O8WGop/8w3+B2MQtlfsKRs4jleS+nH7lhASEwaziDra7TT+rRLbdOZvH9zp4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706589262; c=relaxed/simple; bh=0F5mFah0QNd5K10CodthfzW/RM1sMIaJbOS1PHFaycA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BJZPbOBm2hPXH1PzWMK93ZydkpV/F+3BGnfCO4+YuArImbgAlMLsxgn2HiJA+8P7c7LCDXBS74LwQM8YAzf3MpAQAyS1NgkivuP1u1ACL8z7Y0wxjZB4cIb3LFboiCLjhmvCcND5I/z1YVs3OQL1NZJKGlxb/6F/J5ymiChgCGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3BC74DA7; Mon, 29 Jan 2024 20:35:03 -0800 (PST) Received: from [10.163.41.110] (unknown [10.163.41.110]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6E3CB3F762; Mon, 29 Jan 2024 20:34:06 -0800 (PST) Message-ID: <3983416f-b613-42c7-bb42-d3ab268ea1be@arm.com> Date: Tue, 30 Jan 2024 10:04:02 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v3 04/35] mm: page_alloc: Partially revert "mm: page_alloc: remove stale CMA guard code" Content-Language: en-US To: Alexandru Elisei Cc: catalin.marinas@arm.com, will@kernel.org, oliver.upton@linux.dev, maz@kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, arnd@arndb.de, akpm@linux-foundation.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, mhiramat@kernel.org, rppt@kernel.org, hughd@google.com, pcc@google.com, steven.price@arm.com, vincenzo.frascino@arm.com, david@redhat.com, eugenis@google.com, kcc@google.com, hyesoo.yu@samsung.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org References: <20240125164256.4147-1-alexandru.elisei@arm.com> <20240125164256.4147-5-alexandru.elisei@arm.com> <966a1a84-76dc-40da-bde2-251d2a81ee31@arm.com> From: Anshuman Khandual In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/29/24 17:16, Alexandru Elisei wrote: > Hi, > > On Mon, Jan 29, 2024 at 02:31:23PM +0530, Anshuman Khandual wrote: >> >> >> On 1/25/24 22:12, Alexandru Elisei wrote: >>> The patch f945116e4e19 ("mm: page_alloc: remove stale CMA guard code") >>> removed the CMA filter when allocating from the MIGRATE_MOVABLE pcp list >>> because CMA is always allowed when __GFP_MOVABLE is set. >>> >>> With the introduction of the arch_alloc_cma() function, the above is not >>> true anymore, so bring back the filter. >> >> This makes sense as arch_alloc_cma() now might prevent ALLOC_CMA being >> assigned to alloc_flags in gfp_to_alloc_flags_cma(). > > Can I add your Reviewed-by tag then? I think all these changes need to be reviewed in their entirety even though some patches do look good on their own. For example this patch depends on whether [PATCH 03/35] is acceptable or not. I would suggest separating out CMA patches which could be debated and merged regardless of this series.