From: Renaud Lienhart Date: Sat, 10 Sep 2005 07:26:59 +0000 (-0700) Subject: [PATCH] remove invalid comment in mm/page_alloc.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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.