Re: [PATCH] x86/kvm: Make parse_no_xxx __init for kvm

2018-02-23 Thread Paolo Bonzini
On 17/01/2018 04:46, Dou Liyang wrote: > The early_param() is only called during kernel initialization, So Linux > marks the functions of it with __init macro to save memory. > > But it forgot to mark the parse_no_kvmapf/stealacc/kvmclock_vsyscall, > So, Make them __init as well. > > Cc: Paolo Bo

[PATCH] x86/kvm: Make parse_no_xxx __init for kvm

2018-01-16 Thread Dou Liyang
The early_param() is only called during kernel initialization, So Linux marks the functions of it with __init macro to save memory. But it forgot to mark the parse_no_kvmapf/stealacc/kvmclock_vsyscall, So, Make them __init as well. Cc: Paolo Bonzini Cc: rkrc...@redhat.com Cc: k...@vger.kernel.or