projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48e3c5
)
mm/swap.c: remove @cold parameter description for release_pages()
author
Mike Rapoport
<
[email protected]
>
Thu, 5 Apr 2018 23:24:53 +0000
(16:24 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 6 Apr 2018 04:36:26 +0000
(21:36 -0700)
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/
[email protected]
Signed-off-by: Mike Rapoport <
[email protected]
>
Reviewed-by: Andrew Morton <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/swap.c
patch
|
blob
|
history
diff --git
a/mm/swap.c
b/mm/swap.c
index 0f17330dd0e5a8552ecbfeaeb6c7139173cb6d3b..3dd518832096ea94fe8a3ffa5d94c9ffd5752951 100644
(file)
--- a/
mm/swap.c
+++ b/
mm/swap.c
@@
-707,7
+707,6
@@
void lru_add_drain_all(void)
* release_pages - batched put_page()
* @pages: array of pages to release
* @nr: number of pages
- * @cold: whether the pages are cache cold
*
* Decrement the reference count on all the pages in @pages. If it
* fell to zero, remove the page from the LRU and free it.