mm: compaction: drop the redundant page validation in update_pageblock_skip()
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Thu, 25 May 2023 12:53:56 +0000 (20:53 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 9 Jun 2023 23:25:42 +0000 (16:25 -0700)
commit75990f6459b9cf61a94e8a08d0f6a4aa0b8cf3b5
tree9128d60e9afffd77e5b8db70e1afcadc9e93b9de
parent77e50af07f14ea7b53f82f9417ddf2fd96c78da3
mm: compaction: drop the redundant page validation in update_pageblock_skip()

Patch series "Misc cleanups and improvements for compaction".

This series cantains some cleanups and improvements for compaction.

This patch (of 6):

The caller has validated the page before calling
update_pageblock_skip(), thus drop the redundant page validation in
update_pageblock_skip().

Link: https://lkml.kernel.org/r/5142e15b9295fe8c447dbb39b7907a20177a1413.1685018752.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c