Re: [PATCH v2] mm: expand documentation over __read_mostly

2020-05-07 Thread Rafael Aquini
On Thu, May 07, 2020 at 04:14:24PM +, Luis Chamberlain wrote: > __read_mostly can easily be misused by folks, its not meant for > just read-only data. There are performance reasons for using it, but > we also don't provide any guidance about its use. Provide a bit more > guidance over its use.

Re: [PATCH v2] mm: expand documentation over __read_mostly

2020-05-07 Thread Kees Cook
On Thu, May 07, 2020 at 04:14:24PM +, Luis Chamberlain wrote: > __read_mostly can easily be misused by folks, its not meant for > just read-only data. There are performance reasons for using it, but > we also don't provide any guidance about its use. Provide a bit more > guidance over its use.