🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: org.kernel.vger.rust-for-linux
1 messages
1 total messages Started by FUJITA Tomonori Fri, 09 May 2025 04:16
Re: [PATCH v1] rust: module: place cleanup_module() in .exit.text section
#1
Author: FUJITA Tomonori
Date: Fri, 09 May 2025 04:16
17 lines
5719 bytes
On Mon, 24 Mar 2025 20:18:13 +0100
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> wrote:

>> Place cleanup_module() in .exit.text section. Currently,
>> cleanup_module() is likely placed in the .text section. It's
>> inconsistent with the layout of C modules, where cleanup_module() is
>> placed in .exit.text.
>>
>> Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
> 
> I think this is OK -- it is only under `MODULE`, and `__exit` is OK to
> place in other functions (`module_cleanup` gets it by copy).
> 
> To be extra careful, I will pick it early in the next cycle, unless
> someone sees something wrong with it.

Do I need to update the commit message and submit a v2 of this patch?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads