Messages in this thread | | | Date | Mon, 29 Aug 2022 16:00:41 +0800 | From | Feng Tang <> | Subject | Re: [PATCH v2] mm: deduplicate cacheline padding code |
| |
On Sat, Aug 27, 2022 at 07:06:42AM +0800, Shakeel Butt wrote: > There are three users (mmzone.h, memcontrol.h, page_counter.h) using > similar code for forcing cacheline padding between fields of different > structures. Dedup that code. > > Signed-off-by: Shakeel Butt <shakeelb@google.com> > Suggested-by: Feng Tang <feng.tang@intel.com>
Reviewed-by: Feng Tang <feng.tang@intel.com>
Thanks, Feng
> --- > Changes since v1: > - add semicolons in mmzone.h > > include/linux/cache.h | 13 +++++++++++++ > include/linux/memcontrol.h | 13 ++----------- > include/linux/mmzone.h | 24 +++++------------------- > include/linux/page_counter.h | 13 ++----------- > 4 files changed, 22 insertions(+), 41 deletions(-) [...]
| |