summaryrefslogtreecommitdiff
path: root/tools/power
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2018-12-28 11:35:22 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-12-28 23:11:48 +0300
commit742aa7fb52c56fb3b307e704f93e67b698959cc2 (patch)
tree4a5fe6c5984f2cb38b6543f60a1d6cd00d8a53fc /tools/power
parent65895b67ad27df0f62bfaf82dd5622f95ea29196 (diff)
downloadlinux-742aa7fb52c56fb3b307e704f93e67b698959cc2.tar.xz
mm/page_alloc.c: use a single function to free page
There are multiple places of freeing a page, they all do the same things so a common function can be used to reduce code duplicate. It also avoids bug fixed in one function but left in another. Link: http://lkml.kernel.org/r/20181119134834.17765-3-aaron.lu@intel.com Signed-off-by: Aaron Lu <aaron.lu@intel.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Alexander Duyck <alexander.h.duyck@linux.intel.com> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org> Cc: Jesper Dangaard Brouer <brouer@redhat.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Pankaj gupta <pagupta@redhat.com> Cc: Pawel Staszewski <pstaszewski@itcare.pl> Cc: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions