[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240924050827.GA676153@google.com>
Date: Tue, 24 Sep 2024 14:08:27 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Sergey Senozhatsky <senozhatsky@...omium.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andrzej Hajda <a.hajda@...sung.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Andrey Skvortsov <andrej.skvortzov@...il.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: do not export const kfree and kstrdup variants
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.
Powered by blists - more mailing lists