Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'memblock-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock

Pull memblock updates from Mike Rapoport:

- replace hardcoded strings with str_on_off() in report_meminit()

- initialize reserved pages to MIGRATE_MOVABLE when deferred struct
page initialization is enabled so that if the reserved pages are
freed they are put on movable free lists like it is done now when
deferred struct page initialization is disabled

* tag 'memblock-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
memblock: uniformly initialize all reserved pages to MIGRATE_MOVABLE
mm: Use str_on_off() helper function in report_meminit()

+5 -2
+5 -2
mm/mm_init.c
··· 722 722 break; 723 723 } 724 724 __init_single_page(pfn_to_page(pfn), pfn, zid, nid); 725 + 726 + if (pageblock_aligned(pfn)) 727 + set_pageblock_migratetype(pfn_to_page(pfn), MIGRATE_MOVABLE); 725 728 } 726 729 #else 727 730 static inline void pgdat_set_deferred_range(pg_data_t *pgdat) {} ··· 2575 2572 stack = "off"; 2576 2573 2577 2574 pr_info("mem auto-init: stack:%s, heap alloc:%s, heap free:%s\n", 2578 - stack, want_init_on_alloc(GFP_KERNEL) ? "on" : "off", 2579 - want_init_on_free() ? "on" : "off"); 2575 + stack, str_on_off(want_init_on_alloc(GFP_KERNEL)), 2576 + str_on_off(want_init_on_free())); 2580 2577 if (want_init_on_free()) 2581 2578 pr_info("mem auto-init: clearing system memory may take some time...\n"); 2582 2579 }