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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6A9C9C44511 for ; Thu, 16 Jul 2026 16:04:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2CF1A6B008A; Thu, 16 Jul 2026 12:04:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2807E6B0095; Thu, 16 Jul 2026 12:04:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 147C46B0138; Thu, 16 Jul 2026 12:04:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id D7A3A6B008A for ; Thu, 16 Jul 2026 12:04:43 -0400 (EDT) Received: from smtpin05.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 4A29816021A for ; Thu, 16 Jul 2026 16:04:43 +0000 (UTC) X-FDA: 84995112846.05.5F4B762 Received: from out-186.mta0.migadu.com (out-186.mta0.migadu.com [91.218.175.186]) by imf07.hostedemail.com (Postfix) with ESMTP id 10D604000B for ; Thu, 16 Jul 2026 16:04:40 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b="Xsgwr6/T"; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf07.hostedemail.com: domain of brendan.jackman@linux.dev designates 91.218.175.186 as permitted sender) smtp.mailfrom=brendan.jackman@linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1784217881; h=from:from:sender: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:dkim-signature; bh=Tz9IYBII36hEmZ8WCkdw0Poo/VwDhmKC5JCuOyne4eQ=; b=EIJmO6Zts4JeDSG6rXKgiDEKkNnrK3bhKixKDTWgMxoceA4tQXQ2kclVnU2ttIuC+G6GAD gEP/D+y0yLDy6E0ces7TqY8GsYTIrt5O9UDRYOJD82ixIa4k6x8fzrI3hWqoQPMuyVMR8G +5t5qfuQ/fh/ja3ke5K83+qijQgmhqY= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b="Xsgwr6/T"; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf07.hostedemail.com: domain of brendan.jackman@linux.dev designates 91.218.175.186 as permitted sender) smtp.mailfrom=brendan.jackman@linux.dev ARC-Seal: i=1; a=rsa-sha256; d=hostedemail.com; s=arc-20220608; cv=none; t=1784217881; b=egivlSV7qaZew+NuYFAnX6Y03JTwHuEUaPwRyM+t9qP8RbtBfjiiNYkUHDeXdll954Mbm1 Njzmy4r/oZHEk20uePy1kVpJ5UemB3aSY9IsoHW8/dvL84lIM7LZFf4oN7RWOB4u1IMLmc zLYqPkOee9kMH692/62JfT2Bn9gmJg8= Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784217878; 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=Tz9IYBII36hEmZ8WCkdw0Poo/VwDhmKC5JCuOyne4eQ=; b=Xsgwr6/T1iv1KWaE1PuNvf4s/O+/mxi0r+dxIsV2UrtO3cqwbAo/F13cifsh5A4y30WL0M OAfBvENtdO2+WNOtB8b1YZ9VkWLo9N61R3G0xE+YVfNijzJSDAweY+G+J3yVeHK+S33Z3J u3V4cUBGDVOKcydQVkb+bPN6FkiL5cw= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 16 Jul 2026 16:04:30 +0000 Message-Id: Cc: , , , , , , Subject: Re: [PATCH 1/3] mm: move internal mempolicy APIs to new internal header X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Brendan Jackman" To: "Vlastimil Babka (SUSE)" , "Brendan Jackman" , "Andrew Morton" , "David Hildenbrand" , "Lorenzo Stoakes" , "Liam R. Howlett" , "Mike Rapoport" , "Suren Baghdasaryan" , "Michal Hocko" , "Johannes Weiner" , "Zi Yan" , "Matthew Wilcox (Oracle)" , "Jan Kara" , "Joshua Hahn" , "Byungchul Park" , "Gregory Price" , "Ying Huang" , "Alistair Popple" , "Hugh Dickins" , "Baolin Wang" , "Chris Li" , "Kairui Song" , "Kemeng Shi" , "Nhat Pham" , "Baoquan He" , "Barry Song" , "Youngjun Park" , "Joerg Roedel (AMD)" , "Will Deacon" , "Robin Murphy" , "Huacai Chen" , "WANG Xuerui" , "Thomas Gleixner" , "Chuck Lever" , "Jeff Layton" , "NeilBrown" , "Olga Kornievskaia" , "Dai Ngo" , "Tom Talpey" , "Trond Myklebust" , "Anna Schumaker" , "David S. Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Simon Horman" References: <20260716-folio-alloc-cleanups-v1-0-5363b8e92d33@google.com> <20260716-folio-alloc-cleanups-v1-1-5363b8e92d33@google.com> <73d3c545-dd8a-4131-9826-1a7096dd619a@kernel.org> In-Reply-To: <73d3c545-dd8a-4131-9826-1a7096dd619a@kernel.org> X-Migadu-Flow: FLOW_OUT X-Rspamd-Queue-Id: 10D604000B X-Stat-Signature: boo85q1utdz6cp3h3a8h85yxf85r9ugm X-Rspam-User: X-Rspamd-Server: rspam12 X-HE-Tag: 1784217880-528308 X-HE-Meta: U2FsdGVkX1/p+GJoyYO0bDiy0eISa2Lqw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E0RLJVt7M/Mt/K+xjBz2fsQT75FcFQmvcDqSzFchWPi1JI8jWkBC/+e/MaarxfNlZkD4WLArRcOMd7ccFiQZOyoCjR2g98bNEhBVE4TmNuTinCDcqh9QhlKUrm/lo/o+nf1ROQK9W0fU+8LOFTqPGsbBsrC+ve2xd4Vy5bCsKT55EiCddCARahoczZjxqG3vNVZ2uRWRbHHMAqQ== Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu Jul 16, 2026 at 3:22 PM UTC, Vlastimil Babka (SUSE) wrote: > On 7/16/26 16:30, Brendan Jackman wrote: >> There are no external users for this surface, reduce the scope. >>=20 >> Ulterior motive: a later patch will add an alloc_flags arg to some parts >> of this. >>=20 >> Note it might seem like this could just go in internal.h, since it's >> pretty small, but actually it will eventually need to import >> page_alloc.h, we don't want to import that from internal.h so best to >> proactively created this header now. > > Hmm, maybe it could just go to page_alloc.h then? After all this is just > bunch of internal page allocation functions, which just take the mempolic= y > pointer? That would work AFAICS, but I think it's quite tidy that, currently, all functions declared in page_alloc.h are defined in page_alloc.c. This would break that. If you're certain you don't care about that then I could live with using page_alloc.h.