Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f894ffa8 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

memcg: trivial cleanups



Clean up some mess made by the "Soft limit rework" series, and a few other
things.

Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e975de99
Loading
Loading
Loading
Loading
+15 −15
Original line number Diff line number Diff line
@@ -835,12 +835,12 @@ static bool mem_cgroup_event_ratelimit(struct mem_cgroup *memcg,
}

/*
 * Called from rate-limitted memcg_check_events when enough
 * Called from rate-limited memcg_check_events when enough
 * MEM_CGROUP_TARGET_SOFTLIMIT events are accumulated and it makes sure
 * that all the parents up the hierarchy will be noticed that this group
 * that all the parents up the hierarchy will be notified that this group
 * is in excess or that it is not in excess anymore. mmecg->soft_contributed
 * makes the transition a single action whenever the state flips from one to
 * other.
 * the other.
 */
static void mem_cgroup_update_soft_limit(struct mem_cgroup *memcg)
{
+6 −6

File changed.

Contains only whitespace changes.