Re: [PATCH 6/7] mm: vmscan: move dirty pages out of the way until they're flushed

From: Hillf Danton
Date: Fri Feb 03 2017 - 02:43:31 EST



On February 03, 2017 3:20 AM Johannes Weiner wrote:
> @@ -1063,7 +1063,7 @@ static unsigned long shrink_page_list(struct list_head *page_list,
> PageReclaim(page) &&
> test_bit(PGDAT_WRITEBACK, &pgdat->flags)) {
> nr_immediate++;
> - goto keep_locked;
> + goto activate_locked;

Out of topic but relevant IMHO, I can't find where it is cleared by grepping:

$ grep -nr PGDAT_WRITEBACK linux-4.9/mm
linux-4.9/mm/vmscan.c:1019: test_bit(PGDAT_WRITEBACK, &pgdat->flags)) {
linux-4.9/mm/vmscan.c:1777: set_bit(PGDAT_WRITEBACK, &pgdat->flags);

It was removed in commit 1d82de618dd
("mm, vmscan: make kswapd reclaim in terms of nodes")

Is it currently maintained somewhere else, Mel and John?

thanks
Hillf