diff options
author | 2023-07-06 14:39:05 +0800 | |
---|---|---|
committer | 2023-08-18 10:12:11 -0700 | |
commit | bded67f81ec47e6054ad24c1c7992a6523a9b2c6 (patch) | |
tree | 40a47686ea7345f59e8b08d1279c792e97c52fa7 /mm/truncate.c | |
parent | selftests/memfd: sysctl: fix MEMFD_NOEXEC_SCOPE_NOEXEC_ENFORCED (diff) | |
download | wireguard-linux-bded67f81ec47e6054ad24c1c7992a6523a9b2c6.tar.xz wireguard-linux-bded67f81ec47e6054ad24c1c7992a6523a9b2c6.zip |
memory tier: rename destroy_memory_type() to put_memory_type()
It appears that destroy_memory_type() isn't a very good name because we
usually will not free the memory_type here. So rename it to a more
appropriate name i.e. put_memory_type().
Link: https://lkml.kernel.org/r/20230706063905.543800-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Suggested-by: Huang, Ying <ying.huang@intel.com>
Reviewed-by: "Huang, Ying" <ying.huang@intel.com>
Reviewed-by: Xiao Yang <yangx.jy@fujitsu.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions