Re: [PATCH v6 2/3] mm: vmscan: move set_task_reclaim_state() near flush_reclaim_state()

From: David Hildenbrand
Date: Thu Apr 13 2023 - 07:19:59 EST


On 13.04.23 12:40, Yosry Ahmed wrote:
Move set_task_reclaim_state() near flush_reclaim_state() so that all
helpers manipulating reclaim_state are in close proximity.

Signed-off-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>
---

Hm, it's rather a simple helper to set the reclaim_state for a task, not to modify it.

No strong opinion, but I'd just leave it as it.

--
Thanks,

David / dhildenb