Commit 207f36ee authored by Renaud Lienhart's avatar Renaud Lienhart Committed by Linus Torvalds

[PATCH] remove invalid comment in mm/page_alloc.c

free_pages_bulk() doesn't free the entire list if count == 0.
Signed-off-by: default avatarRenaud Lienhart <renaud.lienhart@free.fr>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9dcbb32f
...@@ -335,7 +335,7 @@ static inline void free_pages_check(const char *function, struct page *page) ...@@ -335,7 +335,7 @@ static inline void free_pages_check(const char *function, struct page *page)
/* /*
* Frees a list of pages. * Frees a list of pages.
* Assumes all pages on list are in same zone, and of same order. * Assumes all pages on list are in same zone, and of same order.
* count is the number of pages to free, or 0 for all on the list. * count is the number of pages to free.
* *
* If the zone was previously in an "all pages pinned" state then look to * If the zone was previously in an "all pages pinned" state then look to
* see if this freeing clears that state. * see if this freeing clears that state.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment