lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220608013605.6613-1-xupengfei@nfschina.com>
Date:   Wed,  8 Jun 2022 09:36:05 +0800
From:   XU pengfei <xupengfei@...china.com>
To:     akpm@...ux-foundation.org
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        XU pengfei <xupengfei@...china.com>
Subject: [PATCH] mm: Add blank line to make the layout of the program clearer

Add blank line to make the layout of the program clearer

Signed-off-by: XU pengfei <xupengfei@...china.com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ