Re: [PATCH] x86/alternatives: free smp_alt_modules when enable smp
From: Borislav Petkov
Date: Fri Oct 27 2017 - 04:28:00 EST
On Fri, Oct 27, 2017 at 04:11:17PM +0800, zhouchengming wrote:
> So why not take the quick way like we do in
> alternatives_smp_module_add() ?
Because
1. there's no real problem with the current state
2. the current way is cleaner as it keeps that code away in
module_arch_cleanup().
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--