diff options
| author | Huang Ying <[email protected]> | 2016-10-07 16:58:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-10-07 18:46:27 -0700 |
| commit | 6b53491598a4d9694318e6e2b11d8c9988a483d4 (patch) | |
| tree | ebd2d2b33b1a88c41976dcaee5de177cb379a5f7 /tools/perf/scripts/python | |
| parent | 131ddc5c7d814d61f945b6322019e5148f6d39f0 (diff) | |
mm, swap: add swap_cluster_list
This is a code clean up patch without functionality changes. The
swap_cluster_list data structure and its operations are introduced to
provide some better encapsulation for the free cluster and discard
cluster list operations. This avoid some code duplication, improved the
code readability, and reduced the total line number.
[[email protected]: coding-style fixes]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: "Huang, Ying" <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Shaohua Li <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions