Re: [PATCH 04/11] mm: don't pass "enum lru_list" to trace_mm_lru_insertion()

2020-12-08 Thread Alex Shi
Reviewed-by: Alex Shi 在 2020/12/8 上午6:09, Yu Zhao 写道: > The parameter is redundant in the sense that it can be extracted > from the "struct page" parameter by page_lru() correctly. > > Signed-off-by: Yu Zhao > --- > include/trace/events/pagemap.h | 11 --- > mm/swap.c

[PATCH 04/11] mm: don't pass "enum lru_list" to trace_mm_lru_insertion()

2020-12-07 Thread Yu Zhao
The parameter is redundant in the sense that it can be extracted from the "struct page" parameter by page_lru() correctly. Signed-off-by: Yu Zhao --- include/trace/events/pagemap.h | 11 --- mm/swap.c | 5 + 2 files changed, 5 insertions(+), 11 deletions(-) dif