Re: [PATCH 3/3] hugetlb: hugetlb_register_all_nodes(): add __init marker

2014-11-19 Thread David Rientjes
On Wed, 12 Nov 2014, Luiz Capitulino wrote: > This function is only called during initialization. > > Signed-off-by: Luiz Capitulino Acked-by: David Rientjes And hugetlb_unregister_all_nodes() could be __exit. The !CONFIG_NUMA versions would be better off inline. -- To unsubscribe from this

Re: [PATCH 3/3] hugetlb: hugetlb_register_all_nodes(): add __init marker

2014-11-16 Thread Naoya Horiguchi
On Wed, Nov 12, 2014 at 05:33:13PM -0500, Luiz Capitulino wrote: > This function is only called during initialization. > > Signed-off-by: Luiz Capitulino Acked-by: Naoya Horiguchi > --- > mm/hugetlb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/hugetlb.c b/mm/

[PATCH 3/3] hugetlb: hugetlb_register_all_nodes(): add __init marker

2014-11-12 Thread Luiz Capitulino
This function is only called during initialization. Signed-off-by: Luiz Capitulino --- mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index a10fd57..9785546 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -2083,7 +2083,7 @@ static voi