On Fri, Apr 9, 2021 at 5:32 AM Muchun Song <[email protected]> wrote:
>
> When mm is NULL, we do not need to hold rcu lock and call css_tryget for
> the root memcg. And we also do not need to check !mm in every loop of
> while. So bail out early when !mm.
>
> Signed-off-by: Muchun Song <[email protected]>
> Acked-by: Johannes Weiner <[email protected]>

Reviewed-by: Shakeel Butt <[email protected]>

Reply via email to