diff options
author | Renaud Lienhart <renaud.lienhart@free.fr> | 2005-09-10 09:26:59 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 19:06:31 +0200 |
commit | 207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4 (patch) | |
tree | 09fa4a6885ee6a1032a46b2409a13669a8d01459 /mm/page_alloc.c | |
parent | [PATCH] Spelling and whitespace fixes for REPORTING-BUGS (diff) | |
download | linux-207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4.tar.xz linux-207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4.zip |
[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 '')
-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) /* * 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. |