Skip to contentSkip to conversation

mm-use-zone_is_initialized-instead-of-ifzone-wait_table.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 12, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-use-zone_is_initialized-instead-of-ifzone-wait_table.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 12 Sep 2013 12:43:49 -0700

The patch titled

     Subject: mm: use zone_is_initialized() instead of if(zone->wait_table)

has been removed from the -mm tree. Its filename was
mm-use-zone_is_initialized-instead-of-ifzone-wait_table.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Xishi Qiu <[email protected]>
Subject: mm: use zone_is_initialized() instead of if(zone->wait_table)

Use "zone_is_initialized()" instead of "if (zone->wait_table)". Simplify the code, no functional change.

---

 mm/memory_hotplug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~mm-use-zone_is_initialized-instead-of-ifzone-wait_table +1 -1
diff -puN mm/memory_hotplug.c~mm-use-zone_is_initialized-instead-of-ifzone-wait_table mm/memory_hotplug.c
@@ -194,7 +194,7 @@ void register_page_bootmem_info_node(str
 
 	zone = &pgdat->node_zones[0];
 	for (; zone < pgdat->node_zones + MAX_NR_ZONES - 1; zone++) {
-		if (zone->wait_table) {
+		if (zone_is_initialized(zone)) {
 			nr_pages = zone->wait_table_hash_nr_entries
 				* sizeof(wait_queue_head_t);
 			nr_pages = PAGE_ALIGN(nr_pages) >> PAGE_SHIFT;

_

Patches currently in -mm which might be from [email protected] are

origin.patch