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@xxxxxxxxxx> > Suggested-by: Feng Tang <feng.tang@xxxxxxxxx> Reviewed-by: Feng Tang <feng.tang@xxxxxxxxx> 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(-) [...]