Re: [PATCH] mm: memcontrol: prevent starvation when writing memory.high

From
Michal Koutný <hidden>
Date
2021-01-13 17:26:33
Also in
linux-mm, lkml
Reply to
Johannes Weiner, 2021-01-12
On Tue, Jan 12, 2021 at 11:30:11AM -0500, Johannes Weiner [off-list ref] wrote:
quoted hunk ↗ jump to hunk
-		reclaimed = try_to_free_mem_cgroup_pages(memcg, nr_pages - high,
-							 GFP_KERNEL, true);
+		try_to_free_mem_cgroup_pages(memcg, nr_pages - high,
+					     GFP_KERNEL, true);
Although I was also initially confused by throwing 'reclaimed' info
away, the patch makes sense to me given the reasoning.

It is
Reviewed-by: Michal Koutný <redacted>

As for the discussed unsuccessful retries, I'd keep it a separate change.

Regards,
Michal

Attachments

Thread (19 messages) 19 messages, 5 authors, last reply 2021-01-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help