diff options
| author | 2022-09-08 16:19:32 +0800 | |
|---|---|---|
| committer | 2022-10-03 14:03:08 -0700 | |
| commit | a17a8b3b3e6b08a9cd3b2134789843323d998bed (patch) | |
| tree | c04b28bfcf6b283eba21465da66171d97aa381b4 /tools/perf/scripts/python | |
| parent | mm/huge_memory: prevent THP_ZERO_PAGE_ALLOC increased twice (diff) | |
mm/damon/sysfs: change few functions execute order
There's no need to run container_of() as early as we do.
The compiler figures this out, but the resulting code is more readable.
Link: https://lkml.kernel.org/r/20220908081932.77370-1-xhao@linux.alibaba.com
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
