Re: [PATCH] mm/vmscan: DRY cleanup for do_try_to_free_pages()
From: Jacob Wen
Date: Fri Dec 18 2020 - 08:58:05 EST
On 12/18/20 8:17 PM, Matthew Wilcox wrote:
On Fri, Dec 18, 2020 at 06:22:17PM +0800, Jacob Wen wrote:
This patch reduces repetition of set_task_reclaim_state() around
do_try_to_free_pages().
what is a DRY cleanup?
DRY is short for "Don't repeat yourself"[1].
[1] https://en.wikipedia.org/wiki/Don%27t_repeat_yourself