aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-06-26 20:10:53 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:06 -0700
commitf58d7907a39f8d0381db56af4a590915fd94ee58 (patch)
treec8802c4d2bc53c26dda9a7f457f2f4d914229984 /mm/memory-failure.c
parentmm: memory-failure: remove unneeded page state check in shake_page() (diff)
downloadlinux-rng-f58d7907a39f8d0381db56af4a590915fd94ee58.tar.xz
linux-rng-f58d7907a39f8d0381db56af4a590915fd94ee58.zip
memory tier: use helper function destroy_memory_type()
Use helper function destroy_memory_type() to release memtype instead of open code it to help improve code readability a bit. No functional change intended. Link: https://lkml.kernel.org/r/20230626121053.1916447-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Cc: "Huang, Ying" <ying.huang@intel.com> Cc: Wei Xu <weixugc@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions