On Fri, Apr 12, 2019 at 03:10:01PM +0300, Kirill Tkhai wrote: > This merges together duplicating patterns of code. > Also, replace count_memcg_events() with its > irq-careless namesake, because they are already > called in interrupts disabled context. > > Signed-off-by: Kirill Tkhai <ktkhai@xxxxxxxxxxxxx> > Acked-by: Michal Hocko <mhocko@xxxxxxxx> > > v3: Advance changelog. > v2: Introduce local variable. Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>