Skip to content

Commit

Permalink
[PATCH] remove invalid comment in mm/page_alloc.c
Browse files Browse the repository at this point in the history
free_pages_bulk() doesn't free the entire list if count == 0.

Signed-off-by: Renaud Lienhart <renaud.lienhart@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Renaud Lienhart authored and Linus Torvalds committed Sep 10, 2005
1 parent 9dcbb32 commit 207f36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/page_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ static inline void free_pages_check(const char *function, struct page *page)
/*
* Frees a list of pages.
* 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
* see if this freeing clears that state.
Expand Down

0 comments on commit 207f36e

Please sign in to comment.