diff options
author | Mike Rapoport <rppt@linux.vnet.ibm.com> | 2018-04-05 19:24:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-06 00:36:26 -0400 |
commit | 002843de36e18bd5be6f5bb858c0de18b6447a64 (patch) | |
tree | 40df252a195c35128cf737f5dd3451ff7dc851d8 | |
parent | e48e3c590aac5ba9a7b6106239543c251931ba2d (diff) |
mm/swap.c: remove @cold parameter description for release_pages()
The 'cold' parameter was removed from release_pages function by commit
c6f92f9fbe7d ("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.com
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/swap.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -707,7 +707,6 @@ void lru_add_drain_all(void) | |||
707 | * release_pages - batched put_page() | 707 | * release_pages - batched put_page() |
708 | * @pages: array of pages to release | 708 | * @pages: array of pages to release |
709 | * @nr: number of pages | 709 | * @nr: number of pages |
710 | * @cold: whether the pages are cache cold | ||
711 | * | 710 | * |
712 | * Decrement the reference count on all the pages in @pages. If it | 711 | * Decrement the reference count on all the pages in @pages. If it |
713 | * fell to zero, remove the page from the LRU and free it. | 712 | * fell to zero, remove the page from the LRU and free it. |