On Mon, Feb 26, 2024 at 12:03:20PM +0000, Ryan Roberts wrote: > The contpte symbols must be exported since some of the public inline > ptep_* APIs are called from modules and these inlines now call the > contpte functions. Originally they were exported as EXPORT_SYMBOL() for > fear of breaking out-of-tree modules. But we subsequently concluded that > EXPORT_SYMBOL_GPL() should be safe since these functions are deeply core > mm routines, and any module operating at this level is not going to be > able to survive on EXPORT_SYMBOL alone. > > Link: https://lore.kernel.org/linux-mm/f9fc2b31-11cb-4969-8961-9c89fea41b74@xxxxxxxxxx/ > Signed-off-by: Ryan Roberts <ryan.roberts@xxxxxxx> Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>