On (24/09/24 14:08), Sergey Senozhatsky wrote: > Both kfree_const() and kstrdup_const() use __start_rodata > and __end_rodata, which do not work for modules. This is > especially important for kfree_const(). Stop exporting > these functions, as they cannot be used in the modules. Just for linux-mm visibility, consider this patch RFC, more discussions on this at [1] and [2] [1] https://lore.kernel.org/linux-kernel/20240924054151.GL38742@xxxxxxxxxx [2] https://lore.kernel.org/linux-kernel/20240924054951.GM38742@xxxxxxxxxx