grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] kern/dl: Disable grub_dl_unload_unneeded


From: Daniel Kiper
Subject: Re: [PATCH] kern/dl: Disable grub_dl_unload_unneeded
Date: Tue, 23 Mar 2021 18:52:07 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Sat, Mar 20, 2021 at 01:22:44AM +0000, Colin Watson wrote:
> grub_dl_unload_unneeded has been unused by default since de04eecfa9 put
> its only call within an "#if 0", so there's no point in it sitting
> around taking up space in the core image.  Turn the "#if 0" into "#ifdef
> GRUB_UNLOAD_UNNEEDED_MODULES" just in case somebody is turning this code
> back on locally for some reason, and guard all the relevant code with it
> rather than just the call in grub_memalign.

I would drop this function entirely. If somebody needs it they can
restore it from git history.

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]