Commit 002843de authored by Mike Rapoport's avatar Mike Rapoport Committed by Linus Torvalds

mm/swap.c: remove @cold parameter description for release_pages()

The 'cold' parameter was removed from release_pages function by commit
c6f92f9f ("mm: remove cold parameter for release_pages").

Update the description to match the code.

Link: http://lkml.kernel.org/r/1519585191-10180-3-git-send-email-rppt@linux.vnet.ibm.comSigned-off-by: default avatarMike Rapoport <rppt@linux.vnet.ibm.com>
Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e48e3c59
...@@ -707,7 +707,6 @@ void lru_add_drain_all(void) ...@@ -707,7 +707,6 @@ void lru_add_drain_all(void)
* release_pages - batched put_page() * release_pages - batched put_page()
* @pages: array of pages to release * @pages: array of pages to release
* @nr: number of pages * @nr: number of pages
* @cold: whether the pages are cache cold
* *
* Decrement the reference count on all the pages in @pages. If it * Decrement the reference count on all the pages in @pages. If it
* fell to zero, remove the page from the LRU and free it. * fell to zero, remove the page from the LRU and free it.
......
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