Re: [PATCH v4 3/3] arm64: apply __ro_after_init to some objects

2016-08-15 Thread Mark Rutland
On Mon, Aug 15, 2016 at 02:45:46PM +0800, Jisheng Zhang wrote: > These objects are set during initialization, thereafter are read only. > > Previously I only want to mark vdso_pages, vdso_spec, vectors_page and > cpu_ops as __read_mostly from performance point of view. Then inspired > by Kees's pa

[PATCH v4 3/3] arm64: apply __ro_after_init to some objects

2016-08-14 Thread Jisheng Zhang
These objects are set during initialization, thereafter are read only. Previously I only want to mark vdso_pages, vdso_spec, vectors_page and cpu_ops as __read_mostly from performance point of view. Then inspired by Kees's patch[1] to apply more __ro_after_init for arm, I think it's better to mark