Re: [PATCH rebase] mm: fix vm-scalability regression in cgroup-aware workingset code

From: Johannes Weiner
Date: Thu Jul 07 2016 - 15:44:22 EST


Hi Michal,

[sorry for the delay, I was traveling with no connectivity]

On Mon, Jun 27, 2016 at 03:05:28PM +0200, Michal Hocko wrote:
> On Fri 24-06-16 13:51:01, Johannes Weiner wrote:
>
> Acked-by: Michal Hocko <mhocko@xxxxxxxx>

Thanks!

> Minor note below
>
> > +static inline struct mem_cgroup *page_memcg_rcu(struct page *page)
> > +{
>
> I guess rcu_read_lock_held() here would be appropriate
>
> > + return READ_ONCE(page->mem_cgroup);

Agreed.

Andrew, could you please fold this?