mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [to-be-updated] mm-hugetlb-add-description-for-alloc_gigantic_page.patch removed from -mm tree
@ 2016-12-03  0:37 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-12-03  0:37 UTC (permalink / raw)
  To: shijie.huang, mm-commits


The patch titled
     Subject: mm: hugetlb: add description for alloc_gigantic_page()
has been removed from the -mm tree.  Its filename was
     mm-hugetlb-add-description-for-alloc_gigantic_page.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
From: Huang Shijie <shijie.huang@arm.com>
Subject: mm: hugetlb: add description for alloc_gigantic_page()

This patch adds the description for function alloc_gigantic_page().

Link: http://lkml.kernel.org/r/1480487431-26181-1-git-send-email-shijie.huang@arm.com
Signed-off-by: Huang Shijie <shijie.huang@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/hugetlb.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff -puN mm/hugetlb.c~mm-hugetlb-add-description-for-alloc_gigantic_page mm/hugetlb.c
--- a/mm/hugetlb.c~mm-hugetlb-add-description-for-alloc_gigantic_page
+++ a/mm/hugetlb.c
@@ -1089,6 +1089,12 @@ static bool zone_spans_last_pfn(const st
 	return zone_spans_pfn(zone, last_pfn);
 }
 
+/*
+ * Allocate a gigantic page from @nid node.
+ *
+ * Scan the zones of @nid node, and try to allocate a number of contiguous
+ * pages (1 << order).
+ */
 static struct page *alloc_gigantic_page(int nid, unsigned int order)
 {
 	unsigned long nr_pages = 1 << order;
_

Patches currently in -mm which might be from shijie.huang@arm.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-03  0:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-03  0:37 [to-be-updated] mm-hugetlb-add-description-for-alloc_gigantic_page.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).