On Wed, 1 Nov 2017 19:00:34 +0800 Zhou Chengming <zhouchengmi...@huawei.com> wrote:
> diff --git a/kernel/extable.c b/kernel/extable.c > index 9aa1cc4..ec64cf5 100644 > --- a/kernel/extable.c > +++ b/kernel/extable.c > @@ -31,6 +31,8 @@ > * mutex protecting text section modification (dynamic code patching). > * some users need to sleep (allocating memory...) while they hold this lock. > * > + * Note: also protect smp alternatives modification on x86. "Note: Also protects smp alternatives modification on x86" Slight grammar fix, but other than that. Acked-by: Steven Rostedt (VMware) <rost...@goodmis.org> -- Steve > + * > * NOT exported to modules - patching kernel text is a really delicate > matter. > */ > DEFINE_MUTEX(text_mutex);