diff options
| author | Miaohe Lin <[email protected]> | 2022-05-19 14:08:52 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-05-19 14:08:52 -0700 |
| commit | 133d2743ef93ea8a979832d2ac72fb9d331045f3 (patch) | |
| tree | 4f1d4f59b8f3d330f37fec24038cd64b9d1a2738 /tools/perf/scripts/python/flamegraph.py | |
| parent | 3c3115ad6baddbf526521231ea43d9fff34dfa11 (diff) | |
mm/swap: fix the comment of get_kernel_pages
If no pages were pinned, 0 is returned in fact. Fix the corresponding
comment.
[[email protected]: s/nr_pages/nr_segs/ also, per David, reflow comment]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Alistair Popple <[email protected]>
Cc: David Howells <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions