[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171027082745.GC1305@nazgul.tnic>
Date: Fri, 27 Oct 2017 10:27:45 +0200
From: Borislav Petkov <bp@...e.de>
To: zhouchengming <zhouchengming1@...wei.com>
Cc: mingo@...hat.com, tglx@...utronix.de, peterz@...radead.org,
hpa@...or.com, jkosina@...e.cz, rostedt@...dmis.org,
mjurczyk@...gle.com, x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/alternatives: free smp_alt_modules when enable smp
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)
--
Powered by blists - more mailing lists