diff options
author | Shakeel Butt | 2022-08-26 23:06:42 +0000 |
---|---|---|
committer | Andrew Morton | 2022-09-26 19:46:29 -0700 |
commit | e6ad640bc404eb298dd1880113131768ddf5c6a8 (patch) | |
tree | f72c01caf19e88d74482af862b9378f6f19893b9 /net | |
parent | 974f4367dd315acc15ad4a6453f8304aea60dfbd (diff) |
mm: deduplicate cacheline padding code
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.
Link: https://lkml.kernel.org/r/20220826230642.566725-1-shakeelb@google.com
Signed-off-by: Shakeel Butt <shakeelb@google.com>
Suggested-by: Feng Tang <feng.tang@intel.com>
Reviewed-by: Feng Tang <feng.tang@intel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions