Re: [PATCH] mm: do not export const kfree and kstrdup variants

From: Sergey Senozhatsky
Date: Tue Sep 24 2024 - 01:08:42 EST


On (24/09/24 14:03), 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.

... and of course I forgot to commit the kstrdup_const() part.
Let me resend.