On Wed, Jul 29, 2020 at 11:08 PM Alex Shi wrote:
>
>
>
> 在 2020/7/30 上午1:52, Alexander Duyck 写道:
> >> + rcu_read_lock();
> >> + locked = mem_cgroup_page_lruvec(page, pgdat) == locked_lruvec;
> >> + rcu_read_unlock();
> >> +
> >> + if (locked)
> >> + return
在 2020/7/30 上午1:52, Alexander Duyck 写道:
>> + rcu_read_lock();
>> + locked = mem_cgroup_page_lruvec(page, pgdat) == locked_lruvec;
>> + rcu_read_unlock();
>> +
>> + if (locked)
>> + return locked_lruvec;
>> +
>> + if (locked_lruvec)
>> +
On Sat, Jul 25, 2020 at 6:00 AM 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
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:
4 matches
Mail list logo