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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux