summaryrefslogtreecommitdiffstats
path: root/mm/mmzone.c
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2016-10-07 16:58:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-10-07 18:46:27 -0700
commit6b53491598a4d9694318e6e2b11d8c9988a483d4 (patch)
treeebd2d2b33b1a88c41976dcaee5de177cb379a5f7 /mm/mmzone.c
parent131ddc5c7d814d61f945b6322019e5148f6d39f0 (diff)
downloadop-kernel-dev-6b53491598a4d9694318e6e2b11d8c9988a483d4.zip
op-kernel-dev-6b53491598a4d9694318e6e2b11d8c9988a483d4.tar.gz
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. [akpm@linux-foundation.org: coding-style fixes] Link: http://lkml.kernel.org/r/1472067356-16004-1-git-send-email-ying.huang@intel.com Signed-off-by: "Huang, Ying" <ying.huang@intel.com> Acked-by: Minchan Kim <minchan@kernel.org> Acked-by: Rik van Riel <riel@redhat.com> Cc: Tim Chen <tim.c.chen@intel.com> Cc: Hugh Dickins <hughd@google.com> Cc: Shaohua Li <shli@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud