Messages in this thread | | | Date | Mon, 11 Mar 2019 13:14:02 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH 1/5] mm: prepare to premature release of memcg->vmstats_percpu |
| |
On Thu, Mar 07, 2019 at 03:00:29PM -0800, Roman Gushchin wrote: > Prepare to handle premature release of memcg->vmstats_percpu data. > Currently it's a generic pointer which is expected to be non-NULL > during the whole life time of a memcg. Switch over to the > rcu-protected pointer, and carefully check it for being non-NULL. > > This change is a required step towards dynamic premature release > of percpu memcg data. > > Signed-off-by: Roman Gushchin <guro@fb.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
| |