Commit 7e6cbea39aaa32480145915751119227f29f6f7b
Committed by
Linus Torvalds
1 parent
641de9d8f5
Exists in
master
and in
4 other branches
madvise: update function comment of madvise_dontneed
Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> Cc: Hugh Dickins <hugh@veritas.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
mm/madvise.c
... | ... | @@ -132,10 +132,10 @@ |
132 | 132 | * Application no longer needs these pages. If the pages are dirty, |
133 | 133 | * it's OK to just throw them away. The app will be more careful about |
134 | 134 | * data it wants to keep. Be sure to free swap resources too. The |
135 | - * zap_page_range call sets things up for refill_inactive to actually free | |
135 | + * zap_page_range call sets things up for shrink_active_list to actually free | |
136 | 136 | * these pages later if no one else has touched them in the meantime, |
137 | 137 | * although we could add these pages to a global reuse list for |
138 | - * refill_inactive to pick up before reclaiming other pages. | |
138 | + * shrink_active_list to pick up before reclaiming other pages. | |
139 | 139 | * |
140 | 140 | * NB: This interface discards data rather than pushes it out to swap, |
141 | 141 | * as some implementations do. This has performance implications for |