From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBBD837475C for ; Fri, 12 Jun 2026 14:44:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781275483; cv=none; b=oRLlhyZr1bBHuQ+B6QA/x8bJW9IUKM/tjG0N0oaQHOMTGTU5j1AZj+jnjweBk88nwWAV6YVOr4LgZhIFznRT0NGS7DaUGmgpAkrq0DcvoLqxdzPhrNgsRhL5LM7kqOWB+M55EgmBbbhbmOiN5CRH1Qym/JWha7VFywccAuGs1+k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781275483; c=relaxed/simple; bh=Sm7LC9s3/U6zi4eNQM8LGi9/FBieRVF+Q1Y6/W1/d70=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=cgFNIwM+FlvDaVNJGRVNc8ODe6srm3bwX9ofBfm/HOxAWA8RB6Nk81qDQjV8RB+//69yfQGlYDzeEYTHNNPedBOjGr2HVZrFISNDHaYKUmK0dTzvpqiVBHIfQ1az1SoPv1pqPo5XOlzMIO7PR50wtIdIo0Yq3hlvBmJHhgg0Q30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=K5b4np2E; arc=none smtp.client-ip=95.215.58.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="K5b4np2E" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1781275479; h=from:from:reply-to:subject:subject: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=Sm7LC9s3/U6zi4eNQM8LGi9/FBieRVF+Q1Y6/W1/d70=; b=K5b4np2EH2mufIv23N3XE8xiNCf4JF/aTU2vhFHxHQUYgQ1TVc0QJX4aSqWcZdPNSXg/iN B9cjFzIIfc/nUsQ94SI/UuxPc3ghxQcnz7naL57jdlM0OMXIvvAWR/RpuW8EmuXwZ/BOWU CuJYJLlNhIYY4fTEolZyYcrmhjpGM3M= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 12 Jun 2026 14:44:31 +0000 Message-Id: Subject: Re: [PATCH v2 09/22] mm/page_alloc: don't overload migratetype in find_suitable_fallback() X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Brendan Jackman" To: "Gupta, Pankaj" , "Brendan Jackman" , "Borislav Petkov" , "Dave Hansen" , "Peter Zijlstra" , "Andrew Morton" , "David Hildenbrand" , "Vlastimil Babka" , "Wei Xu" , "Johannes Weiner" , "Zi Yan" , "Lorenzo Stoakes" Cc: , , , , "Sumit Garg" , , , "Will Deacon" , , "Kalyazin, Nikita" , , "Itazuri, Takahiro" , "Andy Lutomirski" , "David Kaplan" , "Thomas Gleixner" , "Yosry Ahmed" References: <20260320-page_alloc-unmapped-v2-0-28bf1bd54f41@google.com> <20260320-page_alloc-unmapped-v2-9-28bf1bd54f41@google.com> <646fd09b-0dfe-4646-997f-22e464bca024@amd.com> In-Reply-To: <646fd09b-0dfe-4646-997f-22e464bca024@amd.com> X-Migadu-Flow: FLOW_OUT On Fri Jun 12, 2026 at 1:24 PM UTC, Pankaj Gupta wrote: > >> This function currently returns a signed integer that encodes status >> in-band, as negative numbers, along with a migratetype. >> >> This function is about to be updated to a mode where this in-band >> signaling no longer makes sense. Therefore, switch to a more >> explicit/verbose style that encodes the status and migratetype >> separately. >> >> In the spirit of making things more explicit, also create an enum to >> avoid using magic integer literals with special meanings. This enables >> documenting the values at their definition instead of in one of the >> callers. >> >> Signed-off-by: Brendan Jackman > > Seems independent patch with no functional change. > > Reviewed-by: Pankaj Gupta Thanks Pankaj - also BTW this and some other patches were already split out into a separate series and they are now in mm-unstable: https://lore.kernel.org/all/20260503-x86-init-cleanup-v2-0-bb690bd2477c@goo= gle.com/