Re: [PATCH v16 19/22] mm/lru: introduce the relock_page_lruvec function

2020-07-18 Thread Alex Shi
在 2020/7/18 上午6:03, Alexander Duyck 写道: >> index 129c532357a4..9fb906fbaed5 100644 >> --- a/mm/swap.c >> +++ b/mm/swap.c >> @@ -209,19 +209,12 @@ static void pagevec_lru_move_fn(struct pagevec *pvec, >> >> for (i = 0; i < pagevec_count(pvec); i++) { >> struct page *page

Re: [PATCH v16 19/22] mm/lru: introduce the relock_page_lruvec function

2020-07-17 Thread Alexander Duyck
On Fri, Jul 10, 2020 at 5:59 PM Alex Shi wrote: > > Use this new function to replace repeated same code, no func change. > > Signed-off-by: Alex Shi > Cc: Johannes Weiner > Cc: Andrew Morton > Cc: Thomas Gleixner > Cc: Andrey Ryabinin > Cc: Matthew Wilcox > Cc: Mel Gorman > Cc: Konstantin

[PATCH v16 19/22] mm/lru: introduce the relock_page_lruvec function

2020-07-10 Thread Alex Shi
Use this new function to replace repeated same code, no func change. Signed-off-by: Alex Shi Cc: Johannes Weiner Cc: Andrew Morton Cc: Thomas Gleixner Cc: Andrey Ryabinin Cc: Matthew Wilcox Cc: Mel Gorman Cc: Konstantin Khlebnikov Cc: Hugh Dickins Cc: Tejun Heo Cc: