diff options
author | Renaud Lienhart <renaud.lienhart@free.fr> | 2005-09-10 03:26:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 13:06:31 -0400 |
commit | 207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4 (patch) | |
tree | 09fa4a6885ee6a1032a46b2409a13669a8d01459 /mm | |
parent | 9dcbb32f1654e79c212c20d9cd9d48509ee1eaf7 (diff) |
[PATCH] remove invalid comment in mm/page_alloc.c
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 3974fd81d27c..c5823c395f71 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -335,7 +335,7 @@ static inline void free_pages_check(const char *function, struct page *page) | |||
335 | /* | 335 | /* |
336 | * Frees a list of pages. | 336 | * Frees a list of pages. |
337 | * Assumes all pages on list are in same zone, and of same order. | 337 | * Assumes all pages on list are in same zone, and of same order. |
338 | * count is the number of pages to free, or 0 for all on the list. | 338 | * count is the number of pages to free. |
339 | * | 339 | * |
340 | * If the zone was previously in an "all pages pinned" state then look to | 340 | * If the zone was previously in an "all pages pinned" state then look to |
341 | * see if this freeing clears that state. | 341 | * see if this freeing clears that state. |