+ mm-page_allocc-use-__paginginit-instead-of-__init.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-page_allocc-use-__paginginit-instead-of-__init.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Wed, 24 Jul 2013 13:48:08 -0700
The patch titled
Subject: mm/page_alloc.c: use '__paginginit' instead of '__init'
has been added to the -mm tree. Its filename is
mm-page_allocc-use-__paginginit-instead-of-__init.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-page_allocc-use-__paginginit-instead-of-__init.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-page_allocc-use-__paginginit-instead-of-__init.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Chen Gang <[email protected]>
Subject: mm/page_alloc.c: use '__paginginit' instead of '__init'
set_pageblock_order() may be called when memory hotplug, so need use '__paginginit' instead of '__init'.
The related warning:
The function __meminit .free_area_init_node() references a function __init .set_pageblock_order().
If .set_pageblock_order is only used by .free_area_init_node then annotate .set_pageblock_order with a matching annotation.
---
mm/page_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_allocc-use-__paginginit-instead-of-__init +2 -2
@@ -4586,7 +4586,7 @@ static inline void setup_usemap(struct p#ifdef CONFIG_HUGETLB_PAGE_SIZE_VARIABLE /* Initialise the number of pages represented by NR_PAGEBLOCK_BITS */ -void __init set_pageblock_order (void ) +void __paginginit set_pageblock_order(void) {unsigned int order;
@@ -4614,7 +4614,7 @@ void __init set_pageblock_order(void)* include/linux/pageblock-flags.h for the values of pageblock_order based on * the kernel config */ -void __init set_pageblock_order (void ) +void __paginginit set_pageblock_order(void) { }
_
Patches currently in -mm which might be from [email protected] are
origin.patch include-linux-interrupth-add-dummy-irq_set_irq_wake-for-generic_hardirqs.patch mm-page_allocc-use-__paginginit-instead-of-__init.patch kernel-smpc-free-related-resources-when-failure-occurs-in-hotplug_cfd.patch linux-next.patch