Skip to content

Commit ec3b688

Browse files
Neil Zhangtorvalds
authored andcommitted
mm/page_isolation.c: fix the function comments
Commit fea85cf ("mm/page_isolation.c: return last tested pfn rather than failure indicator") changed the meaning of the return value. Let's change the function comments as well. Signed-off-by: Neil Zhang <neilzhang1123@hotmail.com> Cc: Joonsoo Kim <js1304@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent af8e15c commit ec3b688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/page_isolation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ int undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
215215
* all pages in [start_pfn...end_pfn) must be in the same zone.
216216
* zone->lock must be held before call this.
217217
*
218-
* Returns 1 if all pages in the range are isolated.
218+
* Returns the last tested pfn.
219219
*/
220220
static unsigned long
221221
__test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn,

0 commit comments

Comments
 (0)