Re: [RFC] mm/swap: Rename pagevec_lru_move_fn() as pagevec_lruvec_move_fn()

2017-10-22 Thread Anshuman Khandual
On 10/19/2017 08:59 PM, Michal Hocko wrote: > On Thu 19-10-17 14:03:14, Anshuman Khandual wrote: >> The function pagevec_lru_move_fn() actually moves pages from various >> per cpu pagevecs into per node lruvecs with a custom function which >> knows how to handle individual pages present in any give

Re: [RFC] mm/swap: Rename pagevec_lru_move_fn() as pagevec_lruvec_move_fn()

2017-10-19 Thread Michal Hocko
On Thu 19-10-17 14:03:14, Anshuman Khandual wrote: > The function pagevec_lru_move_fn() actually moves pages from various > per cpu pagevecs into per node lruvecs with a custom function which > knows how to handle individual pages present in any given pagevec. > Because it does movement between pag

[RFC] mm/swap: Rename pagevec_lru_move_fn() as pagevec_lruvec_move_fn()

2017-10-19 Thread Anshuman Khandual
The function pagevec_lru_move_fn() actually moves pages from various per cpu pagevecs into per node lruvecs with a custom function which knows how to handle individual pages present in any given pagevec. Because it does movement between pagevecs and lruvecs as whole not to an individual list elemen