Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp955263rdb; Tue, 30 Jan 2024 03:59:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0hV9GR/+1aXWi7veSOyxUVeR2/8LimL0yl0cnNtQKh1PQ5XejnefIM3eZhiPq5q4idz25 X-Received: by 2002:a05:6358:7247:b0:175:75a2:62a2 with SMTP id i7-20020a056358724700b0017575a262a2mr4870775rwa.46.1706615958725; Tue, 30 Jan 2024 03:59:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706615958; cv=pass; d=google.com; s=arc-20160816; b=EsYfc2Vyf6qk/jeLnOzrTrNw8iYM6iI7mbVdRlBvnuBeM2m6YD1+I9ZLNmOf3NAifo xOKhOkEHxFjjEn4W6pMUzqT30n+4ByCq9181jPJv4vQ07STroVNLpeEIQtdhZwio9HNa UcptTOEHm/gWGbpHcOQDsEGj+/6mp7U/1iSMGHXpaG09ynkIAmbNpefI1j3NnOEWfwOH ZtDIM6QJn3h+1pVACD7oSEsmj01y4q41kgGbgvBcVYyD1oj+CV7vodbmy+u0XP8/h6F2 MEWwqifOVssybP/gELJdwY3jSslCyFj24iPOW+aBk7RsPbGTzZoSAfxOgHMckVqqe9sY 1zRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=yYUYCfYj+atjeiVED4RcYbMUZHxrScHKHvhTWCrE9wQ=; fh=xFt5d7JLtk+mLGWhLW7gyE3YlCLccLuCYIjwMRSKTBU=; b=HdpBFGIRNLSFSfDuNRsWL/pCeBmcPl28RUkMew/rd0rBpjg6ohRIXyXXulR9VqoZEM EAR5xvvYE8GUCo7IRYBspcskuEjZvr4Hy6SPTbJE79l9OfEqLDjQDGNtItPo4H1iEGLN kjbIGRg53aa764SYhWkEtgzacidgzHSUG6JgoO0Knk+aQgjRF6zmNOhV9lyxrM4I1t/h c/kBhUY1qN75Dua12iRTC2NXUTDE+rxFcx9+c297nvC/v4sVJZFn7cfk+65M9rIIsexS xWwojCh+qHLNOWF1MEVHfqB746evn2YuG9rVr8gXnmut5eaOQbYx0u2JZ18S0nuaiOdQ RbTA== 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-44562-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44562-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b30-20020a63931e000000b005d9b49b7ad6si835474pge.775.2024.01.30.03.59.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 03:59:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44562-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; 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-44562-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44562-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 370B928BD41 for ; Tue, 30 Jan 2024 11:58:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2204B67E89; Tue, 30 Jan 2024 11:57:38 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2309267E7C; Tue, 30 Jan 2024 11:57:36 +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=1706615857; cv=none; b=b4OeyRdcoHU5omYx0j6Mv9c/ZyIUlw4IG/ty3qj1hKfXb1GHaCPhiUdCoobzQ5zHWTgb/ZlpkaQLRkZ3rGOvMXcDn6LVxvj8/MTgscncH7fmm6TGpIeQpjdyXammrE44sXKVVnXes8y+vibAKiaxXip3MIoBQmxTq0oWTyElI0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706615857; c=relaxed/simple; bh=+PL92MEHrH3ZtLrABPR9HFjxEndX5qwgR9BUBrdekIg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VJXH0UhUidL5VqfXu1cqx8UJ33ckB9QVU3pysV1UTwR/7RSSbgRWXqRyCSq+jd2Cygi/BxDDhPkWhBJVtrtTCePspTEOEdk21d2ZKPBFbB/V5TXLwdC2f0Cebt54yU7Hf1MJsB3Oma37ZlzBB0HcDXsyGP4qKDjmaqZQwa9c1ss= 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 4EDF3DA7; Tue, 30 Jan 2024 03:58:19 -0800 (PST) Received: from raptor (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 194363F762; Tue, 30 Jan 2024 03:57:29 -0800 (PST) Date: Tue, 30 Jan 2024 11:57:23 +0000 From: Alexandru Elisei To: Anshuman Khandual 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 Subject: Re: [PATCH RFC v3 04/35] mm: page_alloc: Partially revert "mm: page_alloc: remove stale CMA guard code" Message-ID: References: <20240125164256.4147-1-alexandru.elisei@arm.com> <20240125164256.4147-5-alexandru.elisei@arm.com> <966a1a84-76dc-40da-bde2-251d2a81ee31@arm.com> <3983416f-b613-42c7-bb42-d3ab268ea1be@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3983416f-b613-42c7-bb42-d3ab268ea1be@arm.com> Hi, On Tue, Jan 30, 2024 at 10:04:02AM +0530, Anshuman Khandual wrote: > > > 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. Ah, I see, makes sense. Since basically all the core mm changes are there to enable dynamic tag storage for arm64, I'll hold on until the series stabilises before separating the core mm from the arm64 patches. Thanks, Alex