Add blank line to make the layout of the program clearer
Signed-off-by: XU pengfei <[email protected]>
---
mm/page_isolation.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mm/page_isolation.c b/mm/page_isolation.c
index d200d41ad0d3..b5ec13fcfacd 100644
--- a/mm/page_isolation.c
+++ b/mm/page_isolation.c
@@ -213,6 +213,7 @@ static void unset_migratetype_isolate(struct page *page, int migratetype)
zone = page_zone(page);
spin_lock_irqsave(&zone->lock, flags);
+
if (!is_migrate_isolate_page(page))
goto out;
@@ -255,9 +256,11 @@ static void unset_migratetype_isolate(struct page *page, int migratetype)
nr_pages = move_freepages_block(zone, page, migratetype, NULL);
__mod_zone_freepage_state(zone, nr_pages, migratetype);
}
+
set_pageblock_migratetype(page, migratetype);
if (isolated_page)
__putback_isolated_page(page, order, migratetype);
+
zone->nr_isolate_pageblock--;
out:
spin_unlock_irqrestore(&zone->lock, flags);
--
2.18.2
On Wed, Jun 08, 2022 at 09:22:33AM +0800, XU pengfei wrote:
> Add blank line to make the layout of the program clearer
I've seen some terrible ideas for inflating patch counts, but
this is just ... no.