mm/page_alloc.c: fix comment in __get_free_pages()
Subsystems (2)
[email protected]
maintainerPATCH 46/119 mm/page_alloc.c: fix comment in __get_free_pages()
From: Jiankang Chen <[email protected]>
Subject: mm/page_alloc.c: fix comment in __get_free_pages()
__get_free_pages() will return a virtual address, but it is not just a 32-bit address, for example on a 64-bit system. And this comment really confuses new readers of mm.
Signed-off-by Jiankang Chen <[email protected]>
Reported-by Hanjun Guo <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Yisheng Xie <[email protected]>
Cc Kefeng Wang <[email protected]>
Cc Michal Hocko <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-fix-comment-is-__get_free_pages +1 -1
@@ -4278,7 +4278,7 @@ unsigned long __get_free_pages(gfp_t gfpstruct page *page;/* -* __get_free_pages() returns a 32-bit address, which cannot represent +* __get_free_pages() returns a virtual address, which cannot represent * a highmem page */ VM_BUG_ON ((gfp_mask & __GFP_HIGHMEM) !=0 );
_