linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: remove the redundancy code
@ 2020-06-29 17:30 Su Hui
  2020-06-29 18:50 ` David Rientjes
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Su Hui @ 2020-06-29 17:30 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, linux-mm

remove the redundancy code, the zone_start_pfn
is assigned from zone->zone_start_pfn
Signed-off-by: Su Hui <sh_def@163.com>
---
 mm/page_alloc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 3c4eb750a199..3372a8c9fbc4 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -6215,8 +6215,6 @@ void __meminit init_currently_empty_zone(struct zone *zone,
 	if (zone_idx > pgdat->nr_zones)
 		pgdat->nr_zones = zone_idx;
 
-	zone->zone_start_pfn = zone_start_pfn;
-
 	mminit_dprintk(MMINIT_TRACE, "memmap_init",
 			"Initialising map node %d zone %lu pfns %lu -> %lu\n",
 			pgdat->node_id,
-- 
2.25.1




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-06-30 13:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 17:30 [PATCH] mm: remove the redundancy code Su Hui
2020-06-29 18:50 ` David Rientjes
2020-06-29 20:24   ` Mike Rapoport
2020-06-30  2:02     ` 苏辉
2020-06-30  2:06       ` David Rientjes
2020-06-30 10:28 ` kernel test robot
2020-06-30 11:52 ` kernel test robot
2020-06-30 12:39 ` David Hildenbrand
2020-06-30 13:49   ` 苏辉

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox