On Wednesday, December 28, 2016 11:31 PM Michal Hocko wrote: > From: Michal Hocko <mho...@suse.com> > > shrink_page_list returns quite some counters back to its caller. Extract > the existing 5 into struct reclaim_stat because this makes the code > easier to follow and also allows further counters to be returned. > > While we are at it, make all of them unsigned rather than unsigned long > as we do not really need full 64b for them (we never scan more than > SWAP_CLUSTER_MAX pages at once). This should reduce some stack space. > > This patch shouldn't introduce any functional change. > > Signed-off-by: Michal Hocko <mho...@suse.com> > --- Acked-by: Hillf Danton <hillf...@alibaba-inc.com>
- [PATCH 0/7] vm, vmscan: enahance vmscan tracepoints Michal Hocko
- [PATCH 3/7] mm, vmscan: show the number of skipped pages... Michal Hocko
- [PATCH 6/7] mm, vmscan: enhance mm_vmscan_lru_shrink_ina... Michal Hocko
- [PATCH 5/7] mm, vmscan: extract shrink_page_list reclaim... Michal Hocko
- Re: [PATCH 5/7] mm, vmscan: extract shrink_page_list... Hillf Danton
- [PATCH 7/7] mm, vmscan: add mm_vmscan_inactive_list_is_l... Michal Hocko
- [PATCH 1/7] mm, vmscan: remove unused mm_vmscan_memcg_is... Michal Hocko
- [PATCH 2/7] mm, vmscan: add active list aging tracepoint Michal Hocko
- Re: [PATCH 2/7] mm, vmscan: add active list aging tr... Minchan Kim
- Re: [PATCH 2/7] mm, vmscan: add active list agin... Michal Hocko
- Re: [PATCH 2/7] mm, vmscan: add active list ... Minchan Kim
- Re: [PATCH 2/7] mm, vmscan: add active ... Michal Hocko
- Re: [PATCH 2/7] mm, vmscan: add act... Hillf Danton